Nuxeo Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Custom Lifecycle

Hello - I've defined a contribution for a custom document lifecycle. It's basically the same as the default but has an additional state. The XML looks like this: <states> <state name="project" ... <state name="foo" ... In the UI, when a document...

Eric_Ace by Confirmed Champ
  • 33 Views
  • 1 replies
  • 3 kudos

Using CurrentDate in NXQL

Hi! In Nuxeo 6.0 HF 38 I'm trying to use CurrentDate in NXQL in avanced search or by quering http://nuxeoserver/nuxeo/api/v1/query When I try this, it works: http://nuxeoserver/nuxeo/api/v1/query?query=SELECT * FROM Document WHERE dc:created > TIMEST...

retryable work

Hello, referring to this documentation: https://doc.nuxeo.com/nxdoc/work-and-workmanager/ It indicates the ability to have retryable works. However, searching github for the referenced methods -- retryableWork() and rollbackAndRetryTransaction() -- I...

Eric_Ace by Confirmed Champ
  • 51 Views
  • 2 replies
  • 2 kudos

How to invalidate a document from an event listener

Hi, I have a listener class that implements org.nuxeo.ecm.core.event.EventListener, and I want to invalidate the current document from there. Normally, in a bean, I use to inject NavigationContext, and then use its method to invalidate the document. ...

javascript in widget

I need to include a javascript code or join a javascript block to an widget the type complex. can someone help me to do it please -- *EL HAKIMI Anouar * Master SIG et Télédétection appliquée aux géosciences et à l'environnement. ...

How to change "error" message on the user interface ?

Hello, Here is my problem: some of my users don't have access to a certain docType (for example Contract) but he has access on other docTypes which contains document suggestion field which referes to said docType (Contract on which he has no access)....

upload files

I am uploading some files in a tree structure, I need to verify if the file already exists in the same folder. If it is the same file (with the same content) then do nothing. If it is a different file then save a new version. How can I compare those ...