Development


Related Questions
DirectoryInfo di = new DirectoryInfo(@"E:\Temp\1\Patriotic_Menu_1Sided"); FileInfo[] imageFiles = di.GetFiles("*.jpg"); var imgFile = imageFiles.FirstOrDefault(); Blob uploadedFileBlob = new Blob(imgFile.Name, imgFile); var document = ...
  0 votes
  0 answers
  0 comments
  1564 views

Hi, To open viewer of any word or excel file, I have to install libreoffice in server. But this may cause security issue, because using libreoffice any one can run macros, that macro may be harm full to system. So I want alternate of that, is there ...
  0 votes
  0 answers
  0 comments
  1934 views

Hello, I have a custom metadata which is complex and multivalued. It has two fields of type date. After deploying it looks ok but it doesnt display the calendar to choose date when i click on it. I thought maybe it was a problem of version and kind ...
  2 votes
  0 answers
  5 comments
  2037 views

Hello. I am writing a unit test. I have a local deployment: @LocalDeploy("x.y.z:OSGI-INF/foo.xml") I'm using injection: @Inject protected RuntimeHarness runtimeHarness; Then a test case: @Test public void testX() throws Exception { ... ...
  0 votes
  0 answers
  0 comments
  2321 views

Hi, I don't want to allow .exe file to drag and drop by user while edit document. Can any one tell me how to do this.
  1 votes
  1 answers
  1 comments
  2202 views

If I define my own CMIS Service wrapper and override the the createDocument method - if a document cannot be saved due to a listener throwing, I would like the CMIS handler to update another document elsewhere in the repository and then propagate ...
  0 votes
  0 answers
  0 comments
  1623 views

I have a contribution that declares a listener as disabled. This declartion wants to disable a listener with the same name in another bundle: in my bundle “A”: <listener name="..." class="..." enabled="false"/> in other bundle “Z”: ...
  0 votes
  2 answers
  0 comments
  1580 views

Background: I built component X. Component X has OSGI-INF/l10n/messages.properties . In component X, ResourceBundle.getBundle works fine when unit testing X in its own project. Problem: When component X is referenced (via Maven) from separate ...
  0 votes
  1 answers
  0 comments
  1651 views

Hi, I want to apply pagination for Permissions Defined Locally panel in permission tab. Bcoz for some workspaces I have more 100 users who having some permission on workspace, due to which my page is loading process becomes slow. Can any one tell me ...
  0 votes
  0 answers
  0 comments
  1649 views

Hi All, I am getting following error while updating my studio project from FT 9.1 to FT 9.2. ERROR [ConnectDownloadThread-1-3] [org.nuxeo.connect.downloads.LocalDownloadingPackage] Package project1-acheron-softwar-0.0.0-SNAPSHOT is already installed ...
  0 votes
  1 answers
  9 comments
  2910 views

I have a question regarding the markRollBack method of the Event class. Tracing through AbstractSession.createDocument to EventServiceImpl.fireEvent into a subclass of EventListener - I cannot see how calling markRollBack on the Event inside the ...
  0 votes
  1 answers
  0 comments
  1895 views

Hi, I have saved 2 search, search1 : having some filter (ex.Modification Date : Last 24h (0) ) search2 : having some filter (ex.Size : Less than 100 KB (1) ) These 2 search come in Search Filter drop-down present at top left corner in Search tab ...
  0 votes
  2 answers
  0 comments
  1708 views

Hi All, I wanted to explore multi tenant in Nuxeo and its features. So far from this link I have understood that enabling multi-tenancy will only allow differentiation of following Users Groups Vocabularies (I10subjects and I10coverage) Search forms ...
  0 votes
  0 answers
  0 comments
  1584 views

Hi, I have deployed nuxeo 9.1 on Red Hat Enterprise Linux Server release 7.3 & in that I have installed libreoffice-4.1.2. When I am trying to open viewer for doc/excel file, I am getting following error: ...
  0 votes
  0 answers
  2 comments
  1724 views

how can i assign user to different tenant ??
  0 votes
  0 answers
  1 comments
  1545 views

HI, I want to show last login time of user. How can I get last lagged in time.
  0 votes
  0 answers
  0 comments
  1287 views

Hi, I am facing issue of duplicate file or workspace paste. I have created one file and copy that by click on copy button, and go to another workspace. In that workspace I am able to paste many times with same name. Plz find attachment.
  0 votes
  1 answers
  3 comments
  2454 views

In the PathSegmentServiceDefault class the method generatePathSegment has some logic to replace a doc name composed entirely of special characters (e.g. -.,;?!:'-.,;?!:'-.,;?!:' ) with a random number, but then it allows the doc to be created anyway ...
  0 votes
  1 answers
  2 comments
  2205 views

Hi All, I want to embed some custom HTML file in my content view. How can we achieve the same ? Can anyone tell me how can I embed a custom HTML template in my Nuxeo content View. Basically, I want to load an HTML file using IFrame in Nuxeo. Is this ...
  0 votes
  0 answers
  2 comments
  2185 views

Hi, I am using nuxeo-9.1 with postgress and mongodb. While adding tag to document I am getting following error: org.nuxeo.ecm.core.query.QueryParseException: Failed to execute query: NXQL: SELECT DISTINCT tag:label FROM Tag WHERE tag:label LIKE 't%' ...
  0 votes
  1 answers
  0 comments
  2308 views

When I am deleting some document, then that deletion operation is not recorder in History tab….
  0 votes
  0 answers
  0 comments
  1509 views

How can I set the limit for file upload in nuxeo.
  0 votes
  1 answers
  1 comments
  1655 views

Hello - I have added some customized behavior in a document listener. I would like to test this by simulating a series of user activities - just like if the activity was performed by a user through the GUI. Is there a bundle or component that ...
  0 votes
  0 answers
  0 comments
  1553 views

Hi, How can we display a thumbnail in custom content views ? I have created a custom Form layout, and I want to show some thumbnail preview for the end user. Also, I would like to hide the information shown on the right side of the details of ...
  0 votes
  0 answers
  0 comments
  2050 views

Using Nuxeo elements, it seems I can not use the Guest (or anonymous) account (without credentials in the connection elements) : the “login” operation is working fine but it is followed by a call to the user directory and the Guest account is not ...
  0 votes
  0 answers
  0 comments
  1471 views

Hi all, we have a problem using the site Easyshare Module getting the skin resources. The Apache response is: Last-Modified header contains invalid characters . We thought it is happening in all sites , then we have looking about this stuff in the ...
  2 votes
  1 answers
  0 comments
  1576 views

Hi, I want to show group created by me only in search suggestion while adding permission on work space. How can I do this? plz find attachment of image where I want to suggestion of those group which created by me only.
  0 votes
  2 answers
  1 comments
  1658 views

I would require ecm:mixinType and dc:subjects in a custom JSON output. The Repository.ResultSetPageProvider works well for me as long as I have no multivalued properties. Is there any chance to include the fields as the default query throws an ...
  0 votes
  0 answers
  0 comments
  2241 views

Hello, I have created a custom user action defined in MAIN_TABS section. Everything is ok except that the highlight bar works only for other tabs and not for the custom one. Clicking from one tab to another does not update the highlighting only for ...
  1 votes
  0 answers
  0 comments
  1437 views

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 ...
  2 votes
  1 answers
  0 comments
  1751 views

Hello, Is it possible to search on a content view of a document type for a property of another document that is related with the doc type of content view? For example can i filter based on a property of parent document, because i want to query only ...
  1 votes
  0 answers
  1 comments
  1914 views

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 ...
  1 votes
  1 answers
  1 comments
  1663 views

Hi, In a content view I created a custom column using a template which displays a property of another document( for example title of parent). This is working properly in content view and displays what i want. When i use Excel Export in this content ...
  2 votes
  0 answers
  0 comments
  1684 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
  2010 views

Hello, Is there any way to filter a boolean metadata on search filter of a content view without using it always as mandatory(being true/false and using a checkbox means that it always will be used while searching)? Thanks, Bora
  1 votes
  1 answers
  0 comments
  1904 views

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. ...
  0 votes
  1 answers
  2 comments
  2172 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
  2938 views

Hi guys, I created a document type Purchase Order with the possibility of adding several items. Each item has an item description, a quantity, price and total item value (to be caclulated). Knowing that the user has the possibility of adding more ...
  0 votes
  0 answers
  0 comments
  1606 views

Hi guys, I created a document type Purchase Order with the possibility of adding several items. Each item has an item description, a quantity, price and total item value (to be caclulated). Knowing that the user has the possibility of adding more ...
  0 votes
  0 answers
  0 comments
  1722 views

Hello, I want to know if nuxeo versions the users and is there a way to log those changes for example modification of name, change password etc. Thank`s.
  1 votes
  1 answers
  4 comments
  1620 views

Hello! I am building a operation chain (OP_1) that this call to other operation chain (OP_2). The first operation use the RunOperationOnList with the next configuration: id: OP_1 List: listUser insolate: false item: item newTx: false parameters: ...
  1 votes
  0 answers
  0 comments
  1907 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
  1796 views

I have a series of unit tests I run in both IntelliJ and from the command line using Maven. These tests populate the VCS and then perform various operations. Randomly, one or the other test will fail. The symptom seems to be that data committed in ...
  0 votes
  0 answers
  0 comments
  1566 views

We are upgrading NP from 8.3 to 9.1, and when I run the very same REST-API test-setup (i.e. code/machine/Java/etc) - which works fine against an NP8.3 - against an NP9.1, the call to the NP9.1 fails with “java.lang.IllegalStateException: Already ...
  0 votes
  2 answers
  2 comments
  3857 views

I have noticed that SQLSession.getEntry is hitting the directory cache while SQLSession.hasEntry appears to be hitting the database with a query. Is this by design and if so why isn't hasEntry also using the cache?
  1 votes
  1 answers
  0 comments
  1598 views

Hi guy, where i can find info/guidance about createa new document type or modify available document types window. all this without studio. thanks
  0 votes
  0 answers
  0 comments
  1775 views

Hello, when i upload a document into a folder the “modified date” of the folder doesn't change! … Is there any parameter to configure this? Thanks in advance.
  0 votes
  1 answers
  0 comments
  1519 views

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 > ...
  0 votes
  2 answers
  3 comments
  4075 views

I'm trying to modify the nuxeo:lifecycleState via a CMIS statement: curl … \ -F “cmisaction:update” \ -F “changeToken=…” \ -F “propertyId[0]=nuxeo:lifecycleState” \ -F “propertyValue[0]=“approved” \ “https:…” It's not erroring. But it's not changing ...
  0 votes
  1 answers
  0 comments
  1969 views

It seems it is possible to add a facet to a document instance. A facet can hold a reference to a schema. I have various document types whose instances could be associated to a custom schema. How can I manage to achieve that goal (let users add the ...
  1 votes
  0 answers
  0 comments
  2155 views