nxql


Related Questions
Hello, I'm currently trying to retrieve all the versions of a document using a NXQL query, filtering them by their parent id. Here is my current NXQL query : SELECT * FROM MyDocumentType WHERE ecm:parentId = '63ab5b87-6e28-4deb-929b-5b5259bcc143' ...
  0 votes
  2 answers
  0 comments
  5085 views

I am programming using the REST API and NXQL. I ran into some problems and found it easier to test queries first using Nuxeo Shell : Nuxeo Shell in batch mode My goal is to have a listing of items found in a workspace or folder. I tried the ...
  0 votes
  3 answers
  5 comments
  2614 views

I am new to nuxeo. I want list of thumbnails of all the documents stored in nuxeo. I can fetch the documents and and its related properties. I can see that one of the facet element is"Thumbnail” in facets. I need the java code to fetch the ...
  0 votes
  0 answers
  0 comments
  1380 views

is it possible to achieve IsAMemberOf(“groupName”) functionality using NXQL code.. If so, could u pls provide me with one..
  0 votes
  1 answers
  0 comments
  1409 views

Hello, I'm wondering if there are any helper classes or any object model services to create NXQL queries? In order to avoid concatenating text manually or to avoid chars escaping problems. Thanks.
  0 votes
  1 answers
  1 comments
  1229 views

i'm using Nxql to do search on my custom document types, but i've noticed that with this NXQL query : <fixedPart> ecm:isCheckedInVersion = 0 AND ecm:mixinType != 'HiddenInNavigation' AND ecm:currentLifeCycleState != 'deleted' AND ecm:parentId ...
  0 votes
  1 answers
  0 comments
  2082 views

Hi, I'm getting a misbehavior with elasticsearch while casting a NXQL query with ILIKE operators. I mapped the fields lowercase_analyzer in the elasticsearch config file. It works perfect with ElasticSearch, but it cast different result depending on ...
  0 votes
  1 answers
  4 comments
  2574 views

Hi, I'm using NXQL to read data from the default repository using a simple operation chain created on the fly: CoreSession cs = CoreInstance.openCoreSession(null); String lookbookQuery = "SELECT * from Document WHERE ...
  0 votes
  0 answers
  0 comments
  1166 views

Hello, I am considering a repository structure where there are two document types: let's call one “Base” and the other “Enhancements”. I would like to use the Relations functionality of Nuxeo to indicated that a given “Enhancements” requires a given ...
  1 votes
  2 answers
  2 comments
  2323 views

Hi i upgraded a nuxeo 5.4.1 to 6.0 There are some issues with the publication_widget_template.xhtml widget with documents having a name with a quote. has there been a problem during upgrades that lead to this error ? http://pastebin.com/bEt5nh2C
  0 votes
  1 answers
  0 comments
  1445 views

With such a schema <ubx_convention:avis> <item> <instance>Instance Centrales/Conseil d'administration</instance> <date>2014-10-09T22:00:00.00Z</date> </item> <item> <instance>Instance ...
  0 votes
  1 answers
  0 comments
  1596 views

Hi i m trying to build dynamic content based on dates comparisons : I can either use smart folders in order to build a NXQL query that must contain a static part (eg : validation_date > current_date). Unfortunately, there is no current_date ...
  0 votes
  0 answers
  0 comments
  1569 views

Like documents having no value in the dc:subjects field.
  0 votes
  1 answers
  3 comments
  1133 views

I have a custom doc model with a list attribute containing IDs to other objects, thus representing a list of links. I'd like to query objects that have no values on this attribute, something like: SELECT * FROM Document WHERE dc:subjects = NULL Is ...
  0 votes
  1 answers
  3 comments
  1919 views

i am looking for unique validation on title of workspace using NXQL . Is there any tool to execute NXQL other than the script? one separate question - where are my workspaces stored? which table ?
  0 votes
  2 answers
  1 comments
  1765 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
  3418 views

I have a standard Content View based on NXQL query. I want an optional criteria in the query, coming from a seam bean property. In this particular case, it is a flag to show or hide obsolete objects. Here is the query: SELECT * FROM Document WHERE ...
  0 votes
  2 answers
  5 comments
  1780 views

Hi, I need to set up the DAM module so that some assets can be limited to certain groups or campuses. I've set up Folders for each Campus in the Asset Library. These show up fine in the DM; but I want to see them in the DAM. I'm using the Nuxeo DAM ...
  0 votes
  1 answers
  0 comments
  1602 views

Suppose that I have published document 'abcd' with version 1.0. Then later, I modify the document and publish it with 1.5. I want to get a hold of the previously published version of a document using NXQL. Is there a way to do that? Something like ...
  0 votes
  1 answers
  4 comments
  2225 views

Hello Nuxeo people, I'm using the studio and in this case i'm focussed on the Content Model -> Structure Templates functionality. My problem is if i want to create a document with a ' in it (for instance “L'école …“) i have to pass my document ...
  0 votes
  1 answers
  0 comments
  803 views

I'm creating a new Content View. I want to select documents where a date field (rule:Rule-ExpiringDate) is less than the current date plus 30 days. In other words, all documents that will expire within 30 days from today, including those already ...
  0 votes
  1 answers
  0 comments
  2066 views

I have a new clean 5.5 install running against a PostgreSQL 9.1 and phrase-based searching is not working. For example if I enter “data migration” (with the double-quotes) I get documents with the words data AND migration no matter where in the ...
  1 votes
  0 answers
  3 comments
  1128 views

I have a query in a content view which looks like this: (ecm:mixinType = 'HiddenInNavigation' AND ecm:isCheckedInVersion = 0 AND ecm:currentLifeCycleState != 'deleted') AND ecm:parentId=? AND (ecm:primaryType =? OR ecm:currentLifeCycleState ...
  0 votes
  1 answers
  0 comments
  1238 views

Is there a way to fetch a part of a document (eg. a particular set of metadata) using NXQL search?
  0 votes
  1 answers
  0 comments
  1864 views

In our developpement in Nuxeo, we added some new permissions. We want to know if a particular permission is grant anywhere in Nuxeo for a specific user or group. Is it possible? If we look directly into the database, it's really easy to answer to ...
  0 votes
  3 answers
  3 comments
  2425 views

I have a problem with a simple NXQL query in Studio launched using quartz : SELECT * FROM Document WHERE reunion:rappel > @{CurrentDate.days(-1)} AND reunion:rappel < @{CurrentDate.days(1)} it generates the following text in an Info Message : ...
  0 votes
  1 answers
  4 comments
  2343 views

Hello, in our project we have a set of new document types with a property 'assignee'. The documents can be assigned to a user or a user group which means that the user/group will be responsible to work on the specified documents. Now I am trying to ...
  0 votes
  1 answers
  1 comments
  2707 views

Hello, I'm testing NXQL queries via Nuxel Shell on a slightly customized CMF 5.6-RC3 installation. Is it normal that a query like following SELECT * FROM Case returns only an id value (ecm:uuid) ? /case-management/case-root/2012/08/20/case 1 ...
  0 votes
  1 answers
  2 comments
  2698 views

While coreSession.query() works fine for “SELECT * FROM Document WHERE … order by ecm:pos " i do not find a way to get this ecm:pos value. Unfortunately, it is not one of the getters of DocumentModel. The simple trial with “SELECT * , ecm:pos FROM” ...
  0 votes
  1 answers
  2 comments
  1547 views

We have nuxeo queries which come from a constants file. A sample query is listed below. public static final String GET_FILES_BY_PARENT =“SELECT * FROM File WHERE ecm:parentId = ?” OR public static final String GET_FILES_BY_PARENT =“SELECT * FROM ...
  0 votes
  1 answers
  0 comments
  1471 views