java-client


Related Questions
I want to sort my documents by type. For example: folder 1,folder 2,folder 3,….,folder n,document 1,document 2,document 3,……document n I have a query like this : this.nuxeoClient.repository().query("SELECT * FROM Document WHERE ecm:parentId= ?", ...
  1 votes
  1 answers
  1 comments
  57 views

Hello, Is there a method to get the subfolder list of a folder by its id ? I found the repository().fetchChildrenById(id) method but it returns all documents (documents and folders). In the UI, nuxeo is calling this url when we disclose a node in ...
  0 votes
  1 answers
  0 comments
  49 views

I tried to get a Nuxeo Platform Core Session with this way: CoreSession session = WebEngine.getActiveContext().getCoreSession(); But it isn't working. LogServer: java.lang.IllegalStateException: Runtime not initialized at ...
  0 votes
  0 answers
  0 comments
  30 views

I tried to make a call HTTP using a request to complete a task :HOST/nuxeo/api/v1/task/{taskId}/{action} adding the values of two parameters(taskId,action) But I have an exception 500 What does it mean ?
  0 votes
  1 answers
  0 comments
  53 views

Hello, Which version of Nuxeo Java Client should I use for a Java 6 application ? Thanks.
  0 votes
  1 answers
  1 comments
  79 views

I am using nuxeo 10.1 authentication using LDAP. I want to preview and download files from nuxeo using my java application created in portal. I am using document url : ...
  0 votes
  0 answers
  0 comments
  107 views

Hello, I am looking for code samples or examples of using TokenAuthInterceptor instead of BasicAuthInterceptor. NuxeoClient nuxeoClient = new NuxeoClient.Builder() .url(url) .authentication("Administrator", "Administrator") .connect(); Thank you.
  0 votes
  2 answers
  1 comments
  147 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
  149 views

Hello, I want to implement a Fancybox inside our Tab. I don't now how to install the Bundles for the module 'FancyBox'. Thanks.
  0 votes
  0 answers
  0 comments
  185 views

Hi , I want to override a document type in nuxeo, i try to do it with nuxeo studio i don't find a solution. Anyone can help me.
  0 votes
  1 answers
  0 comments
  243 views

Hi, I would like to restrict the available types on a new document creation inside a specific path. For example, when I'm inside “http://lNuxeo_server/nuxeo/nxpath/default/default-domain/workspaces/test/Revues, i want to display the types document ...
  0 votes
  1 answers
  1 comments
  239 views

has someone already change locale via the java code ? can you give me a hand to help me to make a function that will change the locale of one user. Thanks
  0 votes
  0 answers
  0 comments
  238 views

Hi, i have a problem when adding a code to display inputtext field. This is my code : <extension target=“org.nuxeo.ecm.platform.forms.layout.WebLayoutManager” point="layouts"> <layout name="textWidgetLayout"> <templates> ...
  0 votes
  0 answers
  0 comments
  292 views

Hi everyone, I want to know how to insert a filed input text outside form of a document . Below the location where I want the insert Thanks
  0 votes
  0 answers
  0 comments
  285 views

My team is preparing Proof of concept, We selected Nuxeo as a platform, and we are facing performance issue. How to reproduce: 1. Nuxeo ECM loaded with 100 pdf documents (200KB each). 2. 10 user groups(local) created with read permissions to ...
  0 votes
  0 answers
  6 comments
  437 views

Hi, I want to retrieve lifecycle state of document before delete it. Anyone have a solution.
  0 votes
  1 answers
  1 comments
  346 views

Hi, The goal is to allow this deletion only if the articles have a “valid” or “aRediger” workflow status I tried to interceive with an event 'AboutToRemove' to perform some treatment but it does not work anymore. Can you give me some help.
  0 votes
  1 answers
  2 comments
  294 views

Hi! I am looking into a way to review orphaned binaries before they are deleted. I know that that platform has in the Admin tab the tool to gathered orphaned binaries, and where you can delete clear them. I also saw in a different thread on what ...
  0 votes
  1 answers
  1 comments
  449 views

Hi, i'm trying to add several users to a group using java client but it doesnt work.The users and the group are already created. The functions i have tried for this are: org.nuxeo.client.object.user.UserManager.addUserToGroup ...
  0 votes
  1 answers
  0 comments
  371 views

Hi, I am trying to develop a java program (java client + rest API) that allows to create nuxeo documents by using as input a csv file. I followed the tutorial of nuxeo “https://doc.nuxeo.com/nxdoc/java-client/#operation-api” and I created a document ...
  0 votes
  0 answers
  0 comments
  462 views

Hi, I try to create a java client nuxeo, I followed this tutorial https://doc.nuxeo.com/nxdoc/java-client/, but i can't import “org.nuxeo.client.api”. it fails with an error : the import org.nuxeo.client.api cannot be resolved. Does anyone have any ...
  0 votes
  1 answers
  3 comments
  552 views

Hello All, I want to cutomize the nuxeo pages which I have listed below for startup redirection I have attached two files below. I am putting and customizing 1_view_home.xhtml which I have created as a sample. I am changing and replacing the path of ...
  0 votes
  0 answers
  0 comments
  394 views

Hi, I want to merges blobs but when I try `nuxeoClient.operation('Blob.ConcatenatePDFs') .params({ filename: fileName }) .input(blobList) .execute() ` , I get ...
  0 votes
  5 answers
  4 comments
  1123 views

I am trying to assign a permanent permission to a group but in nuxeo permission is not working and it is not assigning to any user. My Code is: String url = “http://localhost:8080/nuxeo”; NuxeoClient nuxeoClient = new NuxeoClient(url, ...
  0 votes
  1 answers
  5 comments
  670 views

Hi All, We have a scenario where we need to implement the following use case. Start the workflow and call the external asynchronous REST service (potentially this service will place message on MQ). Pause on that step to be notified to continue to ...
  0 votes
  0 answers
  0 comments
  428 views

Hello,I am trying to get the properties of a document using Nuxeo Java client.I am able to get the document,but when i use the methods get() or getPropertyValue() it doesn't return the value. Can someone help me?
  0 votes
  1 answers
  1 comments
  483 views

Hi Can someone explain me how to differentiate between a user that has an account and a user that does not have an account in Nuxeo java client? I create a NuxeoClient instance using: NuxeoClient nuxeoClient = new NuxeoClient(URL, userName, ...
  0 votes
  1 answers
  0 comments
  424 views

Hi all :) Can anyone please explain me why is used Nuxeo-java-client?
  0 votes
  1 answers
  0 comments
  450 views

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 ...
  0 votes
  1 answers
  3 comments
  490 views

Hi there. I'm trying to create a document with an optional (dynamic) Facet, but it's not working. I'm using java-client 1.0 with Nuxeo 7.10 HF-24. My code is as follows: Document doc = new Document(name, "MyType"); doc.set("dc:title", "Doc ...
  1 votes
  2 answers
  4 comments
  775 views

Hi, Java Client Library 2.3 for the Nuxeo Platform REST APIs documentation about users/groups have reference only to CRUD operations of both entities and ADD user to group operation, but there's not references about rest of operations like 'remove ...
  1 votes
  1 answers
  0 comments
  573 views

Hello everyone I have the following senary: I am migrating a data / files (blob) from a SQL Server database to nuxeo. These files should be in the following structure: --- Folder (document type) --- folder (year of document) --- file (attached ...
  0 votes
  0 answers
  1 comments
  1260 views

Hello everyone, I am having the following problem: When I add the file it gives an exception of PropertyNotFoundException, I understand that something is missing, but I do not know who … **Error in the second line Blob fileBlob = new ...
  0 votes
  0 answers
  2 comments
  725 views

Hello everyone, Is it possible to upload a file by just blob or byte [] instead of the file itself ??? See the example below: private Document exportNuxeo() throws IOException { Document doc = new Document("file", "File"); doc.set("dc:title", ...
  0 votes
  1 answers
  6 comments
  1623 views

public static void main(String[] args) throws Exception { MigracaoNuxeoRepositorio migracaoNuxeoRepositorio = new MigracaoNuxeoRepositorio(); migracaoNuxeoRepositorio.exportNuxeo(); } private Document exportNuxeo() throws IOException { Document ...
  0 votes
  3 answers
  3 comments
  978 views

Hey, I'm having issues with some requests using Java Client. I have a user who has a workspace with more than 50 children but when i request it ( folder.fetchChildren()) i only get 50 results. I tried looking for answers but found none regarding ...
  0 votes
  0 answers
  0 comments
  576 views

Hey everyone, I tried opening an issue on git (https://github.com/nuxeo/nuxeo-java-client/issues/10) without success so i thought i would try here. How do you set users password using the java client (using 2.4 SNAPSHOT atm). As said on my git ...
  0 votes
  1 answers
  0 comments
  633 views

I am trying to assign a permanent permission to a group but I got null pointer exception when begin or end dates are not defined. ACE ace = new ...
  0 votes
  2 answers
  0 comments
  1503 views

Hi, I am using CAS with LDAP for SSO in Nuxeo & My Web-App. But when the User Updates his Email, I want to update the Email of that User Resources. But I am not able to find a way to implement this using Java Automation Client API. Any help ...
  0 votes
  0 answers
  0 comments
  880 views

Hello, I'm writing a Java migration program from Nuxeo 7.2 to 8.3 When I try to copy a note with multiple lines I get an error because Nuxeo interprets a carriage return in the note content as a new property. Document note = (Document) ...
  0 votes
  1 answers
  0 comments
  824 views

Hello, I am trying to upload a file using the java automation client : FileBlob blob = (FileBlob) session.getFile(path); session.newRequest(“Blob.Attach”).setHeader(Constants.HEADER_NX_VOIDOP, “true”).setInput(blob) .set("document", ...
  0 votes
  1 answers
  0 comments
  1391 views

Hello, I'm writing a migration Java program from versions 7.x to 8.3 and I can't manage to get a list of all the users, groups and permissions on documents using the java automation client. Any help would be appreciated !
  0 votes
  1 answers
  0 comments
  958 views

I'm using java-client (same with curl invoking REST-API) to upload some image in a local instance of Nuxeo. The upload goes fine, but after this, I try to get Image thumbnail and a error occurs. The error is caused because the thumbnail, small and ...
  0 votes
  2 answers
  1 comments
  988 views

Hello, Is someone has already implemented a SEDA connector to send NUXEO documents in an electronic archive software ? Regards
  1 votes
  0 answers
  1 comments
  824 views

I have a logic in my client java code, which creates a document given the path, where it should reside. My logic checks for non-existing folders in a path. This check is in place to avoid FileNotFound exception and create the hierarchy first before ...
  0 votes
  1 answers
  1 comments
  841 views

Caused by: /home/ubuntu/nuxeo/nuxeo-features/nuxeo-admin-center/nuxeo-admin-center-analytics/target/antrun/build-main.xml:4: The following error occurred while executing this line: ...
  0 votes
  1 answers
  0 comments
  838 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
  2159 views

Can anyone tell me how to use the TokenAuthenticationService available for nuxeo. I am new to this and I want use this to generate token for logging in to nuxeo.
  0 votes
  1 answers
  0 comments
  735 views

I created a simple “Operation” using Nuxeo IDE plugin for Eclipse. All my Operation does is execute a System.out.println statement. I am able to export it to Nuxeo, create a new Automation Chain where I can select my operation. I am able to add that ...
  0 votes
  0 answers
  0 comments
  753 views