Learn from Peter Tucker how to move documents using either the clipboard or drag-and-drop.
Learn from Peter Tucker how to move documents using either the clipboard or drag-and-drop.
Join engineer Peter Tucker for a look at drag and drop uploading, annotation, and storyboards in Nuxeo’s DAM.
Congratulations on acquiring your new Nuxeo platform, a feature-rich and highly-customizable place to manage all of your enterprise content. Let’s take a brief tour of your default Nuxeo platform, including accessing your platform, changing your password, and familiarizing yourself with the default layout.
By now, you should be holding the credentials to access your new Nuxeo platform and account, including a link or URL to the platform, username, and password. If not, we suggest contacting your system administrator in order to obtain this information. If you happen to be the system administrator or owner, the default username and password is ’Administrator’, as detailed in the Nuxeo documentation center found on Nuxeo’s website.
When you initially receive your credentials, the first task is to access the platform by clicking on the link provided to you by your system administrator, or going there directly by copying the URL into your web browser bar. Again, check with your system administrator for details. If all goes well, you will be seeing the Nuxeo Platform login page (Figure 1).
Once on the login page, enter the username and password provided to you, while paying close attention to capitalization. This should get you into the Platform. Before you begin exploring, we recommend changing your password from the one that was provided for you. To do this, use the sidebar to the left, containing a list of options starting with ‘Dashboard’. Select ‘Profile’ (Figure 2).
Your profile should contain information regarding your account, such as username, first name, last name, company, and email address. In the upper right corner you’ll find a dropdown button labeled ‘Actions’, select this to activate the drop down menu (Figure 3). Then, select ‘Change Password’. Here you can change your current password to a new, more secure, password.
When you’ve confirmed your new password, select ‘Save’, and you’re done (Figure 4). Changing your password is just that easy. We recommend that you do this often to prevent unwanted users accessing your account.
Now that you’ve secured your password, let’s begin our brief tour of your new default Nuxeo Platform. At the very top of the page (Figure 5), you’ll notice the three main spaces to help with managing your enterprise content, ‘HOME’, ‘WORKSPACE’, and ‘SEARCH’.
Every user has a ‘HOME’ space that provides access to various tabs in the left navigation pane, that are user specific. Appropriately named, this is your home on the Nuxeo Platform. Tabs in this space include (Figure 6):
Moving on we have your ‘WORKSPACE‘. Here you can easily browse your enterprise content repository, access content, collaborate, follow, share, export, and print (Figure 7). On the left, you’ll find the navigation tree, which is a hierarchical folder structure containing your enterprise content. Depending on your content permissions and how your personal workspace is set up, what you see may differ from what is actually available. This is where you’ll be preforming the bulk of your work. Here you can create and manage new or existing content, and collaborate with fellow users. Like the Nuxeo Platform itself, your personal workspace is rich in features and highly-customizable. Take some time familiarizing yourself with the available features as they are tools to help make managing your enterprise content quick and easy.
Last, we have our ‘SEARCH‘ space. This is a very powerful feature of the Nuxeo Platform. Here you have the ability to search your content using a variety of filters (Figure 8). By default, you will have the filters ‘Faceted Search’, ‘Quick Search’, and ‘NXQL Search’. Other filters can be added by your Nuxeo developer or Platform administrator. For example, an ‘Editing’ search filter, as seen in the provided image. The capabilities of the default content search filters include:
Thus concludes our brief tour of your new default Nuxeo Platform. To summarize, we covered how to access the Platform, how to change your password, and the three main spaces of the Platform. We hope that you found this post useful, and we encourage you to explore and familiarize yourself with your new Nuxeo Platform.
As was mentioned before, the Nuxeo Platform is rich in features to help manage your enterprise content. We recommend reviewing Nuxeo’s User Documentation as you’ll find a lot of useful information, tips, and tricks. Feel free to contact us, and our dedicated team of Nuxeo developers, with any questions on how to leverage the power of Nuxeo to meet your Enterprise Content Management (ECM) needs.
Automation chains are made up of multiple bits of instructions called ‘operations’. There are many operations that are already defined in Studio that are generally sufficient for most situations. These operations can include fetching a document, creating a task, and logging in as a specific user to name just a few. When creating an automation chain, a user simply needs to add one operation at a time for the task they have in mind. For example, if they want to have a chain where you login as the administrator and create a new document, they would only need to add the corresponding operations for logging in and creating a document.
The Language is used to create the input values for the operations in an automation chain. MVEL helps determine what metadata should be extracted from specific data types, such as a document file’s title by calling expr:Document[“dc:title”]. With this, you can also set up your own variable names to temporarily hold data, and use them as needed. Here are some basic MVEL scripting features to take note of:
There are many more uses of the MVEL language for automation chains, which can be found at the following link: https://doc.nuxeo.com/display/NXDOC/Use+of+MVEL+in+Automation+Chains.
MVEL also has a list of operators to use, which can be found here: http://mvel.codehaus.org/Operators.
If you are curious to see a sample script that uses MVEL, there’s a posted example which creates a random number guessing game: https://github.com/mvel/mvel/blob/master/samples/scripts/randomguess.mvel.
Even though the Studio provides a vast amount of useful operations, those aren’t the only ones that are usable. Users are freely able to create their own operations themselves. However for this part, the user should be able to code with Java, and be able to utilize MVEL. This requires the installation of the Eclipse IDE, the Nuxeo SDK, and the Nuxeo IDE for Eclipse. The Nuxeo IDE has a wizard to help set up an operation template to give users a start. From here, the users are free to utilize the Nuxeo SDK library to code a specific operation they need. There’s a tutorial to create your first operation which results in the creation of a random string generator:
http://doc.nuxeo.com/display/NXDOC56/Coding+your+first+operation
To see more information related to creating an operation, refer to here too:
http://doc.nuxeo.com/display/NXDOC/Contributing+an+Operation
These are just the main features associated with automation chains, but I hope this helps anyone get a general idea about the usage of these chains with Nuxeo Studio. Next time, I’d like to elaborate on event handlers, which is the feature responsible for triggering automation chains.
In Nuxeo Platform 7.0, navigate to a document which is ready to be deleted. Then navigate back to the parent document’s Content tab. Check the box next to the name of the document to be deleted. Multiple documents could be selected at this time to be deleted simultaneously. A series of buttons should appear at the bottom of the list of contents once an item is checked. Click the “Delete” button to delete this document (or documents). Then confirm by clicking “OK”.
The parent document can also be deleted. Navigate up a level in the navigation tree, select and delete the parent as well.
Once these documents are deleted, they will no longer appear in the Content tab of the parent document. They will no longer appear on the left navigation tree, either. In order to manage the deleted documents, navigate to the parent of the document that was deleted. In this case, that parent is the Granite Horizon Workspace. Then click the “Manage” tab, and then click the “Trash” subtab.
The action button that is available is “Empty trash”. Select the checkbox next to the parent document (in this case, Granite Horizon Folder) and the options “Permanent delete” and “Restore” appear. Click “Restore” to restore the parent document (Granite Horizon Folder) and all of its subitems. Or, click “Permanent delete” to permanently delete the parent document and all of its subitems. Note that the original child document(s) that were deleted are not listed. Click on the parent document (Granite Horizon Folder) to view the deleted subitems. If the subitems are restored, the parent will be restored as well.
Note that the location where the deleted documents are accessible is the immediate parent document’s Manage/Trash location. In this example, the Granite Horizon Workspace contains the Granite Horizon Folder in the trash. However, the Granite Horizon Workspace’s parent, Workspaces, has nothing in the trash. This may be inconvenient, as it might mean navigating through many documents to find a deleted document. One way around this is to implement a “Domain trash” or a “Workspace trash” at a high level using Nuxeo Studio. This could contain all the deleted documents for that domain and/or workspace. One simple solution to this is to create a content view that shows deleted documents where the path “STARTSWITH” the current document path. The Query filter would look like this:
ecm:mixinType != 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState = 'deleted' and ecm:path STARTSWITH ?
and the Query parameter is
#{currentDocument.path}
In order to make this behave like the default Trash tab, add a couple user actions called “Restore” and “Permanent delete”. These can be added directly to the Content View by clicking on “Results” -> Enable additional actions -> Create a new action.
Then add this content view to a Tab on the document desired. Enhance this by adding a search filter.
Out of the box, Nuxeo allows users to delete documents, delete parent documents, restore subtrees and permanently delete subtrees and individual documents. With some customization, some high-level management of deleted documents can be added. Worth noting is that Nuxeo’s delete feature can be controlled by ACLs. In addition, a document’s versions can be deleted using the History -> Archived versions tab. This can also be managed by ACLs.
Any questions or comments? Please chime in!
The document’s History tab contains useful information about a document’s history for every edit: the performed action, the date the action was performed, the name of the user who performed the action, and so forth. When the document is edited, a field for “Change Comment” is available. When an edit is saved, the History -> Event log tab shows the change comment and the version number both in the Comment column. As with most tables in Nuxeo, the Event log can be easily exported to Excel.
The Nuxeo documentation on Document History is available here: http://doc.nuxeo.com/display/USERDOC/Document%27s+History
While the Event log is automatic, with the only user input being the Change Comment, the Versioning system requires direction from the user. The editor can choose to apply a version whenever they edit a versionable document. The editor can increment the version by a major or minor increment, or skip versioning altogether for that edit.
One of the versionable document types that comes with a new Nuxeo installation is the File document. When a File document is edited, the Version section appears, allowing the user to either apply a Major version increment, a Minor version increment, or Skip version increment. Skip is selected by default.
It is interesting to note that the original document is not assigned a version number on creation. Therefore, the History -> Archived versions table only shows a Version if one has been assigned when the document was edited – not when it was created. This means that the original document cannot be retrieved.
When the document is edited again, and another version increment is applied, then true work with versions can begin.
Once a document has two or more versions, the editor can perform a variety of functions on these versions: delete, compare, view, and restore.
The Compare feature renders a diff of the selected versions, if the Nuxeo Diff Marketplace Package has been installed.
Again, it is interesting to note that the original document cannot be compared, deleted, or restored.
This out of the box behavior can be customized to suit business needs.
When a client requires that a specific document type has a version assigned when the document is created, a simple event handler/automation chain can be created that does a major CheckIn when a versionable, regular document is created.
When a client requires that a certain document type, or set of document types, have a Major version assigned whenever the document is edited, the following XML Extension may be helpful:
<extension target="org.nuxeo.ecm.core.versioning.VersioningService" point="versioningRules"> <defaultVersioningRule> <options lifeCycleState="*"> <major default="true"/> </options> </defaultVersioningRule> <versioningRule enabled="false" typeName="File"/> </extension> <require>org.nuxeo.ecm.platform.forms.layouts.webapp.base</require> <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager" point="layouts"> <layout name="document_edit_form_options"> <templates> <template mode="any">/layouts/layout_default_template.xhtml </template> </templates> <rows> <row> <widget>document_edit_comment</widget> </row> <row> <widget>document_edit_current_version</widget> </row> </rows> </layout> </extension>
Any questions? Have a better solution to share? Please contact us.
Nuxeo Studio is an online service that provides a vast array of features to help users manage their enterprise content better in Nuxeo Platform. Being a user of the service as well as a Nuxeo integration engineer myself, I’d like to list some of the big features Nuxeo Studio has got going for itself.
Studio allows users to define a vast lists of schemes, or collection of metadata (like a potential Football Player schema would include their name, roster number, position, etc.). These help objectify groups of data to have a defined identity so they can be used in a means that makes sense to the user.
Nuxeo Studio provides a nice visual Lifecycle tool to set-up all the possible document states. This includes the starting state and all the possible paths from that state. With this, the studio provides a visual workflow tool that helps users make a roadmap on how documents are handled by users, and how it affects its lifecycle state.
This tool alleviates any unnecessary work to manually create documents, by simply creating a template that automatically produces them. The user can define rules of what type of documents can be created, along with setting up an automatic control list of permissions for the created documents.
Here, the user can define how content is displayed on the platform, as well as define the filter rules on how content can be organized and searched for. To do this, Nuxeo provides NXQL (the Nuxeo Query Language) as a means to query data from its database. It’s a handy language to pick up, and allows the content view to gain access to specific metadata so it can display them in a fashion that suits the users needs.
Users are able to create users actions, automation chains, or event handlers, which allows top-level programming for almost everything with the users content. For automation chains, users can define a string of operations, like simply changing a document property. For user actions, users can apply those automation chains to be triggered when a user does something, like click a button. And for event handlers, users can set an automation chain to be triggered when a special document event happens, like when one is created.
While all of these are standout features of Nuxeo Studio, there are still more things the service can provide.Nuxeo has a vast amount of documentation posted online for everything above, and much more. You can find more information at http://doc.nuxeo.com/display/Studio/Nuxeo+Studio+Documentation+Center.
Granite Horizon, LLC
PO Box 582863
Elk Grove CA 95758-0048
8153 Elk Grove Boulevard Suite 20
Elk Grove CA 95758-5965
USA
(888) 354-6626 (USA)
+1 916 647 6350 (international)