Product & Development
Among the new features available is XML completion for components and extension points. This has been developed by an external contributor, Sun Tan, that some of you may know since he used to work at Nuxeo and now works at Serli. He gave a lightning talk about his contribution during Nuxeo World. Take a look at the video. It’s a great feature. Thanks Sun!
As with most releases of Nuxeo IDE, we have added some new wizards. You can now generate a basic unit test skeleton, or Studio based unit test skeleton. This means that your Studio project will be deployed in your test setup, so you’ll …
I am going to publish a series of short posts on how we use the Nuxeo Platform internally at Nuxeo. As you will see, there are indeed several use cases that are worth sharing. Eating our own dog food (as it is called) is very important in our product management process: it helps us understand what the limits of the platform are, it gives us the desire to continuously improve it, and it is also a great way to test the product in some more specific ways.
As you can imagine, maintaining a platform is far more complex than a simple out-of-the-box application, with a framework the test cases can be infinite. Thanks to this process, we are able to discover and fix a great number of bugs before releasing!
I’ll skip the basic document sharing use case as there are no surprises here: Nuxeo Platform is our intranet tool, …
You were thrown off guard right at the beginning when Sylvain Zimmer, who was our MC for the day, asked us to introduce ourselves to our neighbors. They do this at every dot conference and it’s actually quite cool. It sets everybody in the right mood.
Addy Osmani had the difficult task to open the conference. He talked about JS tooling, Web Components, Polymer, about building big applications in HTML. One of the first things he showed was complex tags. Basically you hide complexity in a single HTML tag. Funny how it feels like JSF, only closer to the browser.
He also talked about the modern front end developer workflow, about the Grunt, Bower, Yeoman …
Today we have a question from guian who asks how to remove the notification tab in the administration panel for each folder inside:
To answer that question, the first thing you need to know is that a tab is what we call an Action. An action can also be a link (a tab is basically a link styled as a tab) or a button, anything clickable in fact. And as stated in the documentation, you can filter theses actions. Take a look at the filter extension point in Nuxeo Explorer. As you can see there are several ways to filter actions.
Let’s say that the documents where we want to hide the notification tabs are all of a special document type. We could add a filter like this:
The action associated with this filter would not be displayed if the current document type was SpecialDocType. …
- Nuxeo IDE
- Make Nuxeo Less Stateful
- CI and QA Status
- Nuxeo Cluster Management
- Mule Connector
- VCS Repository
- Automation Server
- Nuxeo Tech Talks
Focus for 5.9.1
We have a REST API but so far we don’t have a way for a remote client to easily introspect the structures available on the server side:
- Document Types
Having such an API endpoint does make sense:
- Mobile SDK needs require it to fetch document types and layouts to generate display
- The Mule connector requires it to fetch document types to make data mapping easier
- Studio would need it to build the target platform definition from a live distribution
- CMIS has this (at least for
Today we have a question from carlosrg and vjoussot who ask how to use a document type defined in Studio when a file is dragged and dropped in Nuxeo. A classic approach would be to override the classic Document Type like File, Picture, Audio or Video. But what happens when you want to keep the original document type? Well, you have to modify the way files are imported on drag and drop.
And the cool thing about this answer is that it comes from brian, another active community member. Here’s what he has to say:
Say you have document types SampleCustomPicture, CustomVideo, and CustomAudio — under “Projects>Advanced Settings>XML Extensions” do “+New” and create an extension with this content:
Kudos to Brian for providing the answer. Now how does it work? Well, when you drag and drop a file in Nuxeo, the plugins extension point is used. It …
The new UI Style Guide for the Nuxeo Platform 5.8 is fresh and released!
This guide is an online demo to help you developers and designers learn how to design your platform interface.
We published a post for the first version explaining what’s inside and why you should follow it. A second post explained why a style guide is important for developers as well for designers when building a product.
What’s New in the Guide?
There are a few changes, including:
- Tables: New options are available to design your tables and move from a simple listing to beautiful data organization.
- Messages: Feedback messages are fully reviewed, status messages have been updated and new classes are available to highlight elements in your content.
- Buttons: The classes are more accurate to adjust your buttons and lead the user to the logical action.
- Navigation: The styles of tabs, modular
Today we have a question from regular Nuxeo Answers user Antoine. He asks how to get logger from within a MVEL script in Nuxeo Studio.
If you are not familiar with MVEL, it’s the script language that we use in Studio. It gives a lot of flexibility when writing operation chains.
When writing those scripts, you have access to certain variables:
- CurrentDate: wrapper for a Calendar instance
- Context: the operation context
- This: the operation input
- Session: the CoreSession
- CurrentUser: Principal wrapper around the user running the chain
- currentUser: CurrentUser alias
- Env: the Framework properties
- Fn: wrapper to the CoreFunctions class
- Document only if the input is a document, wrap the input in a DocumentWrapper
- CurrentDocument: alias to Document
- Documents: only if the input is a list of documents if, wrap them in a DocumentWrapper.
- WorkflowVariables: Available only in a workflow context
- NodeVariables: available only in a workflow
Two weeks ago I started a blog post series on how to create a thumbnail browsing module with AngularJS and our REST API. The first part was about getting familiar with the API. The second part was how to use it in AngularJS. The example was simple. A user goes to a URL with a tag and we display the search result with infinite scroll.
This third part focuses on getting the thumbnail with Busines Object adapters, making it look better, and deploying the project easily on Nuxeo.
Using the Business Object
In the first post we saw how to use a business object adapter with the new API. It’s really easy to plug into our app. All we have to do is tell the controller:
This works because the nxSearch service was made to support this capability. All we have to do is add a bo object, a setter …