operation


Related Questions
Hi, I have an operation that returns some data of a document. I call this operation through Rest API to use it in another application. I want the operation to return the document type, but translated to the language of the user (File -> ...
  0 votes
  2 answers
  0 comments
  2262 views

Hi all I'm implementing a custom operation and using chainException framework to capture exception thrown in a chain, based on: https://doc.nuxeo.com/display/NXDOC/Automation+Chain+Exception <extension point=“chainException” ...
  0 votes
  1 answers
  0 comments
  2586 views

I would like to obtain the users and groups having the manage rights on a document. I call Document.GetUsersAndGroups (v6.0, seems it has been renamed since) that holds a “variable name” param that is supposed to set the so called context variable. ...
  0 votes
  1 answers
  0 comments
  1817 views

Hi, Today I've been playing with the ExportStructureToFS plugin. I noticed that bad NXQL queries result in 204 HTTP responses. How can I change it to get a 400 instead (if possible) ? Thanks
  0 votes
  0 answers
  0 comments
  1442 views

Hi, We were playing with the latest SDK 6.0 on Eclipse. Our existing Operation Class was working on 5.9.5 but is not being deployed correctly in 6.0. Thus the class is not found when the operation is triggered from the event. We created a brand new ...
  0 votes
  3 answers
  0 comments
  1704 views

I have the following Automation Chain: Fetch -> Context documents Workflow Context -> Cancel Workflow | id = @{workflowInstanceId} I want to cancel this workflow, but I've got the following error chain Name: UA_Approved Exception: ...
  0 votes
  2 answers
  1 comments
  2787 views

I'm writing unit tests for a custom operation. I have the test deployment and execution running; however there are WARN entries in the test execution log like this: 05 Mar 2014 08:58:12 WARN TransactionHelper - No user ...
  0 votes
  1 answers
  4 comments
  2360 views

I'm trying to use a portlet using automation client to access the repository using PORTAL_AUTH. Login is fine (/nuxeo/site/automation/login) but the query sent by the client goes wrong (/nuxeo/site/automation/Document.PageProvider). Here is what the ...
  0 votes
  1 answers
  1 comments
  1795 views

I have a multivalue metadata element on my custom document type. I would like to run code when this information changes, but I need to know which items were added or removed from the list of elements in order to run this code. Simplified examples: ...
  0 votes
  3 answers
  2 comments
  2221 views

Hello, I'd like to know if there an operation (chain operation) to create directories recursively before create the final document (the leaf) Example : I have to create the document with path : /worksapce_root/folder1/folder2/folder3/mydoc. Nuxeo ...
  0 votes
  2 answers
  0 comments
  1545 views

As part of an operation, I need to retrieve the path to a document's file:content for a remote system to access via WebDAV. However, the path as retrieved by getPathAsString() and getFilePath() do not match the path to the document as observed via ...
  0 votes
  1 answers
  1 comments
  2419 views

Hello, I'm trying to create a custom operation for the first time with nuxeo IDE. This operation aims to duplicate current workspace hierarchy as a section hierarchy in the parent domain. With provided studio operations, i managed easily to create a ...
  0 votes
  1 answers
  3 comments
  1784 views

Hi, I created a new operation through Nuxeo IDE with Parameters with Nuxeo Studio as following: @Operation(id = MyOperation.ID, category = Constants.CAT_SERVICES, label = "My Operation", description = "") public class MyOperation { public static ...
  0 votes
  1 answers
  0 comments
  1527 views

What are the exact values which go into the Property,Values and Query fields while creating an automation chain using fetch by property operation?
  0 votes
  0 answers
  1 comments
  1388 views

I'm learning how to use operations and chains. I used this nuxeo answer post as a reference: http://answers.nuxeo.com/questions/3596/filter-in-event-handler I tried to implement a simple Filter like this <operation id="Document.Filter" > ...
  0 votes
  0 answers
  0 comments
  1540 views

There are two documents with a schema's field: <xs:element name="link" type="nxs:stringList" /> The field is updated by widget: <widget name="link_path_widget" type="select_path_tree"> This works very well but there is only created one ...
  0 votes
  2 answers
  2 comments
  1381 views

Trying to backport the RunOperationOnList automation operation to 5.4.2, i m meeting a casting problem : for (Object value : (Collection<?>) ctx.get(listName)) raises a Ljava.lang.String; cannot be cast to java.util.Collection Exception. it is ...
  0 votes
  3 answers
  0 comments
  1527 views

Still trying to access the list of selected docs in sections : the action category for my button is CURRENT_SELECTION_SECTIONS_LIST the “Selection is not empty” has been replaced by a custom EL ...
  0 votes
  1 answers
  4 comments
  1544 views

I want to use the result from Document.GetChildren to calculate a dynamic folder name. My idea is that MVEL provide the length of an array via the object method size. The problem is that I cannot find the right variable which contain the output ...
  0 votes
  1 answers
  1 comments
  2044 views

I have a working chain which utilize Document.Create . After this operation the user interface should display this new document. I read the documentation and think that Seam.PushDocument is the correct operation. I used the following code: ...
  0 votes
  2 answers
  4 comments
  2306 views

If I use the operations Seam.AddInfoMessage and/or Seam.AddErrorMessage in a chain then the message is not displayed. Do I have to signal a state or is there another missing configuration?
  0 votes
  1 answers
  3 comments
  1691 views

Hi, I configured a chain like the following: <chain id="minimum_chain"> <operation id="Seam.AddInfoMessage"> <param type="string" name="message">Success.</param> </operation> </chain> Additionally I configured in ...
  1 votes
  1 answers
  2 comments
  1954 views

I have created an operation in Java. Can I execute it from Nuxeo Shell? or how can I test it? @Operation(id=“MyOperation”, category=Constants.CAT_EXECUTION, label=“MyOperation”, description=““) I am typing “use automation” and then “MyOperation” but ...
  0 votes
  1 answers
  1 comments
  1322 views