java-client


Related Questions
Hey Guys, I would like to check whether a user is external or not, right now fetching the user there doesn't seem to be an easy way to check whether the user is external or not from the User object. Are there any ways to do this with the Java client?
  0 votes
  1 answers
  0 comments
  113 views

I've written a few short example apps tailored to my needs using Java client 3.6. Now it's time to integrate all of this in the real application. If I want to deliver Nuxeo security, I have to access Nuxeo as the logged in user. So my best guess so ...
  0 votes
  1 answers
  0 comments
  162 views

Hi! I'm coding an application that stores documents in Nuxeo using Java API. I figured out how to create additional versions of a document through doc.setPropertyValue("file:content", batchUpload.getBatchBlob()); doc = ...
  0 votes
  2 answers
  0 comments
  204 views

how to upload file into nuxeo using spring boot rest api http://localhost:8080/nuxeo
  0 votes
  1 answers
  0 comments
  232 views

Hello, I am trying to know if a document is a version, but Java Client doesn't retrieve that information about a document. When I use the “fetchDocumentById” method, I get a “Document” object, but I have no properties to know if it is a version or ...
  0 votes
  2 answers
  5 comments
  448 views

Hello, I have created a custom authentication with a JWT token in nuxeo for both, WebUI and Rest API. For the second one, I am using Java Client SDK 3.2. The WebUI authentication works perfectly, but in the Rest API the behaviour is a little ...
  0 votes
  1 answers
  0 comments
  457 views

Hello, I am trying to use the java api to create a document with attached files. I saw the examples in the documentation and it's working fine. Now I want to try my own method : one call to create the document and attach the files :) ...
  0 votes
  0 answers
  0 comments
  340 views

Hello, I redefined a slot which already exists in Nuxeo web ui (like for example the tab view) while putting priority = 1 in the “nuxeo-slot-content”. I manage to see my modifications by opening a web session ui but if I open a new ognlet (with the ...
  0 votes
  1 answers
  1 comments
  481 views

Hi , I don"t want to use the nuxeo studio to configure the schema , to create new document type , to create new permission , to create new role and manage multi tenant concept above all i want to do using java client sdk. please help me in this ...
  0 votes
  1 answers
  0 comments
  506 views

Hi Nuxeo i was trying to get the member of the group but it is not working it is returning null in all cases code is Group group = new Group(); group.setGroupName(groupRequest.GroupName); group.setGroupLabel(groupRequest.GroupLable); ...
  0 votes
  1 answers
  1 comments
  425 views

Hello, Is there a way to not list the documents with the facet “HiddenInNavigation” in the result of nxql. Scenario: 1- Add the “HiddenInNavigation” facet dynamically (via a operation which calls the 'document.addfacet' method). 2- search via the ...
  0 votes
  1 answers
  1 comments
  516 views

<schema>fileTags</schema> <idField>id</idField> <table>fileTags</table> <dataSource>java:/nxsqldirectory</dataSource> <dataFile>directories/nature.csv</dataFile> ...
  0 votes
  1 answers
  0 comments
  420 views

How can I add adapters in my request to Nuxeo servers using Nuxeo java client (v3.2.0) I want to fetch the blob converted as pdf. From the REST-API I can make calls like: GET ...
  0 votes
  1 answers
  0 comments
  408 views

I am uploading docx, xlsx(excel files) and pdfs to nuxeo and able to see them in Nuxeo UI correctly. Using the java client's method streamBlobByPath I am able to fetch the blob of document in my custom code. ...
  0 votes
  0 answers
  3 comments
  703 views

We have created some plugins and deploy those plugins on nuxeo local server. How to debug the plugins deployed on nuxeo local server with debugger points
  0 votes
  2 answers
  2 comments
  714 views

I have created some plugins which i have deployed on nuxeo local server. I have created another simple spring boot project which will call rest api like String createDocumentUrl=“http://localhost:8081/nuxeo/api/v1/document”; return ...
  0 votes
  1 answers
  0 comments
  369 views

Hi, I succeeded to add a scheduler using org.nuxeo.ecm.core.scheduler.SchedulerService but the added configuration are lost after nuxeo restarting. So i need to know how to dynamically configure the scheduler service and persist that configuration ? ...
  0 votes
  2 answers
  3 comments
  440 views

documents = nuxeoClient.repository().query(“SELECT * FROM Document WHERE ecm:path= ? AND ecm:isTrashed = 1”, “1”, “50”,null,null,null, path); This is the code I'm using to get the list of trashed documents of a particular path but this is returning ...
  0 votes
  1 answers
  0 comments
  381 views

Hi, How do I trash a document before it is deleted using nuxeo java client. I have used nuxeoClient.repository().deleteDocument(docId); method which delets the document permanently but I wanted to trash the document first before deleting ...
  0 votes
  1 answers
  0 comments
  363 views

Hello i want to make archiving system using nuxeo and i want add hierarchy of custom Document Type as MainReport have child xReport , yReport and adding new properties for xReport
  0 votes
  1 answers
  1 comments
  412 views

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
  640 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
  2 answers
  0 comments
  672 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
  537 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
  535 views

Hello, Which version of Nuxeo Java Client should I use for a Java 6 application ? Thanks.
  0 votes
  1 answers
  1 comments
  597 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
  676 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
  808 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
  780 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
  612 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
  891 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
  750 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
  715 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
  1008 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
  781 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
  1137 views

Hi, I want to retrieve lifecycle state of document before delete it. Anyone have a solution.
  0 votes
  1 answers
  1 comments
  1030 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
  1079 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
  1444 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
  1051 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
  1231 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
  1357 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
  924 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
  2917 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
  1327 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
  956 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
  956 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
  997 views

Hi all :) Can anyone please explain me why is used Nuxeo-java-client?
  0 votes
  1 answers
  0 comments
  918 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
  1138 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
  1905 views