cancel
Showing results for 
Search instead for 
Did you mean: 

How worklist and clipboard works ?

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

I would like to disable the worklist below the navigation tree, and I would like to manage my own list there.

Can you help me?

1 ACCEPTED ANSWER

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

The worklist and clipboard fragment are initialized by the org.nuxeo.ecm.webapp.documentsLists.DocumentsListsService/list extension point.

If you want to add a list, you just have to contribute a new list into this extension point with the category CLIPBOARD:

  <extension target="org.nuxeo.ecm.webapp.documentsLists.DocumentsListsService"
    point="list">
    <documentsList name="NAME">
      <category>CLIPBOARD</category>
      <imageURL>/icons/myicon.gif</imageURL>
      <title>theNameOfMyList</title>
      <persistent>IfTheListIsStoredIntoTheRepositoryOrJustInTheSession</persistent>
    </documentsList>
  </extension>

If you want to add Actions below the list, create them into the NAME_LIST category, here.

And if you want to populate or use this list in automation you can look what we did:

  • To get docs stored into your list: FetchFromWorklist
  • To clear the docs stored into your list: ClearWorklist
  • to populate: AddToWorklist

And if you want to remove, you just have to disable lists:

<extension target="org.nuxeo.ecm.webapp.documentsLists.DocumentsListsService "
point="list">
  <documentsList name="CLIPBOARD" enabled="false"/>
  <documentsList name="DEFAULT" enabled="false"/>
</extension>

View answer in original post

1 REPLY 1

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

The worklist and clipboard fragment are initialized by the org.nuxeo.ecm.webapp.documentsLists.DocumentsListsService/list extension point.

If you want to add a list, you just have to contribute a new list into this extension point with the category CLIPBOARD:

  <extension target="org.nuxeo.ecm.webapp.documentsLists.DocumentsListsService"
    point="list">
    <documentsList name="NAME">
      <category>CLIPBOARD</category>
      <imageURL>/icons/myicon.gif</imageURL>
      <title>theNameOfMyList</title>
      <persistent>IfTheListIsStoredIntoTheRepositoryOrJustInTheSession</persistent>
    </documentsList>
  </extension>

If you want to add Actions below the list, create them into the NAME_LIST category, here.

And if you want to populate or use this list in automation you can look what we did:

  • To get docs stored into your list: FetchFromWorklist
  • To clear the docs stored into your list: ClearWorklist
  • to populate: AddToWorklist

And if you want to remove, you just have to disable lists:

<extension target="org.nuxeo.ecm.webapp.documentsLists.DocumentsListsService "
point="list">
  <documentsList name="CLIPBOARD" enabled="false"/>
  <documentsList name="DEFAULT" enabled="false"/>
</extension>
Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.