automation
Hi Kevin , Florent Guillaume When I try to connect to login on automation through OATUH2 token I always get http 401 statut. curl -H "Authorization:Bearer 012453xxgqzl45" -X POST https://localhost:8080/nuxeo/api/v1/automation/login Response : ...
1 votes
3 answers
1 comments
9888 views
Hi, I have two scripted operations (Automation Scripting) like these: <scriptedOperation id="Operation.One"> <category>javascript</category> <inputType>void</inputType> <outputType>void</outputType> ...
0 votes
0 answers
0 comments
843 views
Hi, I am using a nuxeo-document-suggestion-widget (in a creation form layout) which is calling an automation chain with just one custom operation : <chain id="SearchHWPDocuments"> <operation id="SearchDocuments"> <param type="string" ...
0 votes
0 answers
0 comments
1054 views
Hello, I want to know the difference between the Java Client and the Java Automation Client . What is the best to use ? If the Java Automation Client is deprecated, why is it still maintained (versions : 9.10 / 10.2 / etc …) ? Regards.
0 votes
1 answers
0 comments
1452 views
I set up an action in order to dynamically add a facet (including its own schema) to several standard doc types. The automation operation uses the AddFacet operation (backported to LTS2015). A custom tab is associated to my custom facet. The process ...
0 votes
0 answers
3 comments
1825 views
Hi, I'm trying to call the operation “ Tag.Suggestion ” using the java-client. I expected to get a list of tags or something but just get a ClassCastException because the client expect a Map as result but received a ArrayList. My code is NuxeoClient ...
0 votes
0 answers
0 comments
3549 views
I am Creating a Spring-Java Application where i am Using Nuxeo as File Storage. I can do all operations like create workspace, folder, file, versions using HttpAutomationClient. i want to get all information of file like versions. but i am not able ...
1 votes
0 answers
0 comments
2129 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
3269 views
I designed a custom schema for a vocabulary. This extended schema adds fields such as code, extra label, etc. Up until now, I ve used the suggestion widget with searches (create / edit) or displayed information (read) using those extra fields. Quite ...
0 votes
1 answers
2 comments
2186 views
hello, In Nuxe 6, i want to block permissions inheritance in an automation Chain Context.FetchDocument Document.Create: type: P019_020_DOC_formulaireNomination properties: “dc:title”: “Formulaire de nomination : @{nomUser["nom"]}” “dc:description”: ...
0 votes
2 answers
0 comments
3002 views
I'm looking for a way to execute commandline calls within an automation chain for custom binary transformations. Can this be achieved with Automation Scripting the best solution? Thanks in advance for your help.
0 votes
0 answers
3 comments
1957 views
Hi, We want migrate nuxeo from 5.8 to 6.0. We got a menu/button to lauch an automation chain which display a document and also run Services -> StartBinariesGC. In Nuxeo 6, we got the error : “An error occured while executing the chain ...
0 votes
1 answers
2 comments
1930 views
Hi, I want to integrate nuxeo in another website, so far I've been able to iterate all documents under a specific folder and/or having the specified tags, I would like to also preview the content on the said website, and this is where I am a bit ...
0 votes
0 answers
1 comments
2966 views
Following Automation REST Response documentation, we are able now to create a custom exception and return an appropiate http error code from our operations, as shown in the example below: { "entity-type": "exception", "code": ...
1 votes
1 answers
0 comments
2902 views
Hello I'm trying to use the new javascript automation but can't find a way to access a metadata of a document. If I get a Document as var doc, what is the syntax to get it's title, or a specific metadata? Sorry for this rookie question Many thanks ...
0 votes
1 answers
0 comments
1890 views
Hello, Is there any way to make a workflow autostart, once a form is filled or a document is uploaded, that will be a serial approval workflow and if all, in this example 3 approvers accept the document gets moved to a separate folder ? Or something ...
0 votes
1 answers
1 comments
2195 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
1816 views
Hi, I need to call the “ExportStructureToFS” operation from an event listener in order to trigger a scheduled export mys documents. I found this explanation about how to call operations from java code, but I can't get the AutomationService and ...
0 votes
1 answers
3 comments
7244 views
Hi, I've created a simple Workflow with a Node and two buttons (accept/reject). I try to request my node information specifically the availables buttons from a query automation but thoses params don't appear. The NXQL query is “ Select * from ...
1 votes
1 answers
0 comments
2174 views
How should the stringlist parameter be passed to Context.StartWorkflow in the proper way? I have tried: participants=@{Context["participants"]}
participants=@{java.util.Arrays.asList(Context["participants"])}
1 votes
1 answers
4 comments
2553 views
– Nuxeo 5.8 – Hi, I want to change the rights on the “MyFolder” folder: user : toto Group : g_titi but I can not change both My commands: curl -X POST http: // website-dev:8080 / nuxeo / site / automation / Document.SetACE '-u admin:xxxxxxx -H' ...
0 votes
2 answers
0 comments
2831 views
Hello, i'm working on an automation chain to execute at output of a workflow task node. As soon as I add a “pop/push document” operation in the chain, an exception is thrown when the workflow execute it. To be more precise, the exception is thrown ...
0 votes
1 answers
0 comments
3204 views
This is the error message that I get when attaching large blob file in a Document. 02:01:12.922 [main] DEBUG o.a.h.i.conn.DefaultClientConnection - Connection 0.0.0.0:41419<->10.30.10.175:8080 closed 02:01:12.922 [main] DEBUG ...
0 votes
0 answers
5 comments
2642 views
Hello, I would like to know how to delete physically a binarie file when in an automation chain we “remove content” of a metadata field ? Is it done with an automation operation ? thank you
0 votes
1 answers
1 comments
2495 views
Hello, I am using nuxeo automation client to see the documents and folders in my nuxeo repository. My goal is to print a tree with the documents AND their rights. The point is, I don't know how to get the ACL/ACE of a document since the only ...
0 votes
1 answers
0 comments
2125 views
I have the following Automation Chain: Fetch -> Context documents Execution Flow -> Run Chain | id = @{Document[“dcns-common:comments”] == empty ? “WF_Show_Warning_Chain” : “WF_Do_Something_Chain”} Workflow Context -> Cancel Workflow | id = ...
0 votes
0 answers
2 comments
3195 views
Hi. How can I use some condition statments in a Automation Chain? I found some explanation in this topic http://answers.nuxeo.com/questions/321/condition-in-an-automation-chain But, the “Execution Flow > Run Operation” is not present anymore on ...
0 votes
1 answers
3 comments
3433 views
Hi , I need to create a Email Notification, its working with a harcoded email adress but i need to know if it is possible to choose the mail recipients such a users or groups when the notification is triggered. Thanks
0 votes
1 answers
2 comments
4074 views
Hi i have accented characters in some documents titles and paths. Querying titles from an automation client based portlet works fine but not for paths. Any idea ?
0 votes
0 answers
3 comments
4382 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
2221 views
I have a custom user action defined in MAIN_TABS section which navigate to a given folder. The action does fine but the tab selection is not updated in consequence. (let's say I'am in my home, i click on custom tab 'internal documentation', navigate ...
0 votes
1 answers
3 comments
2578 views
Hi I've the following automation chain : Users & Groups > Get Home
User Interface > Navigate to Document I get a NPE, is there a problem in the chain definition or is it a platform configuration issue ?
0 votes
0 answers
2 comments
2320 views
I'm trying to update document's metadata by using Nuxeo Automation Java Client. It's working on SimpleType fields but every try on complexType fields failed. I red it is possible by updating a document with the JSON values. So I tried example code: ...
0 votes
0 answers
1 comments
2351 views
Hello, I want to handle routing for documents according to the name of the file they are carrying. What I done is: Trigger the creation of a document on the repository with httpAutomationClient when a file is created on the client side AND THEN ...
0 votes
1 answers
4 comments
2507 views
Hi, When I execute a query using PHP Automation Client, I receive a warning from a parameter expected in NuxeoAutomationAPI.php. The code: $uid = '9dbfxxxx-xxxx-xxxx-xxxx-xxxxxxxx2b64';
$client = new ...
0 votes
1 answers
0 comments
2512 views
Hi, I'm using the PHP Automation Client to execute a simple query and I have an error on it, and I don't know how can I resolve it. Obviously I changed the url of Nuxeo, and the correct username and password when I get a session. Here the code: ...
0 votes
2 answers
6 comments
3436 views
I'm attempting to retrieve a selection of documents from a Nuxeo server using the REST automation APIs (from C++ using libCURL). I'm new to Nuxeo, so I'm trying to 'prototype' the calls using CURL from the command line. We've defined some custom ...
0 votes
2 answers
2 comments
3020 views
Hi, I looked into the php example, and there I can download files or blobs, except the txt files, anyway I can download files. http://doc.nuxeo.com/display/public/NXDOC/PHP+Automation+Client So, I mean, why can't we do this with Java? Thanks in ...
0 votes
1 answers
0 comments
2561 views
I am trying to download all the files (txt, html, pdf, doc, xls, …) from nuxeo. To achieve this, I have found “Java automation client”. (Hope I have made a good choice?) My starting point is the example from the java automation client documentation: ...
0 votes
1 answers
3 comments
5464 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
2018 views
Hi! In a project I need to use the PhpAutomationClient to retrieve some documents. I'am using the drupal's CMS with CAS Module. When I use default login and password to create a session like this, it's work. client = new ...
0 votes
2 answers
2 comments
2146 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
3818 views
Bonjour, J'utilise Nuxeo Automation PHP pour envoyer des documents sur Nuxeo depuis mon application web. J'ai réussi à faire les requêtes pour envoyer les fichiers sur Nuxeo, cependant, lorsque je télécharge un fichier que j'ai envoyé, celui ci est ...
0 votes
1 answers
5 comments
2498 views
What needs to be done in order to avoid the following error from a operation event handler? org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentVersion$VersionNotModifiableException: Cannot set property on a version: My code works correctly when ...
0 votes
1 answers
0 comments
2055 views
I'm using @ldoguin's REST Client example to fetch some data from openlibrary.org upon document creation. User goes to create a new book: At this time, once the user clicks Create , I would like to fetch rest of the information about the book from ...
0 votes
1 answers
1 comments
2343 views
Hello, I am trying to use Python to POST data to the Nuxeo Automation API. Unfortunately I am unable to compose the “multipart/related” portion of the message correctly – I always receive the message “Failed to parse multipart request” with cause ...
0 votes
1 answers
0 comments
6015 views
Hi I am trying to retrieve all possible values for subjects trough REST API (even if the subject is not used in any document) Here is the POST request that I am sending to URL http://localhost:8080/nuxeo/site/automation/Document.Query HTTP headers: ...
1 votes
1 answers
0 comments
3000 views
This is an old topic, I've seen that there was a proposal in 2011 to implement a .net version of the automation api : http://forum.nuxeo.com/index.php?t=rview&goto=19312&th=4861#msg_19312 Is there anynews on this topic ? Do you have solution ...
0 votes
0 answers
0 comments
2381 views
Hello, I use the automation API in javascript and I have to upload a file. It works well with browsers that support XMLHttpRequest Level 2 but not with others as IE 8. In this case, I use an iframe … and I have this: Request `Request URL: ...
0 votes
0 answers
0 comments
3770 views
Hi, I use nuxeo 5.5 with client automation. So i use client automation operation to create or update documents I want to automatically create a major version for each modificated file document (extends file). How can i do it ? Have i to create a ...
0 votes
1 answers
0 comments
1999 views