Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Document search based-on retrieval name

    Posted 06/14/21 05:04 AM
    Hi,

    we want to find document based on the retrieval name.

    The java API search gives us no way to do this.
    Even with the CSS engine, the following query returns no matching hit :
    SELECT d.this, DocumentTitle,Name FROM [GEDFI_Documents] d INNER JOIN ContentSearch v ON v.QueriedObject= d.This WHERE d.IsCurrentVersion= TRUE AND CONTAINS(d.*, 'RETRIEVAL NAME')
    OPTIONS(TIMELIMIT 180,COUNT_LIMIT 1000)

    Is there a way to launch a search on retrieval name on CPE ?

    Thanks

    ------------------------------
    Yannick Martin
    ------------------------------


  • 2.  RE: Document search based-on retrieval name

    Posted 06/15/21 04:26 AM
    If you mean based on the RetrievalName property of a content element of a document, no, there is no way to do that.

    ------------------------------
    Mike
    ------------------------------



  • 3.  RE: Document search based-on retrieval name

    Posted 06/15/21 11:51 AM
    I had that desire too and failed. As Mike said it is impossible. The retrieval names are encoded in a document attribute sequentially for the respective content elements. One could write a function to decode to a string (if algorithm is known) and then query for a substring. The search can only be sequential then...

    Br,
    /Gerold

    ------------------------------
    Gerold Krommer
    ------------------------------



  • 4.  RE: Document search based-on retrieval name

    Posted 06/29/21 05:46 AM
    Hi Yiannick,

    I am not a developer but if API can get you the Retrieval name but cannot search using its value, perhaps you may have to create an additional user property for Retrieval name, update its value on document creation using a code module and then search the way you search a normal property.

    BR

    ------------------------------
    Christos Chorattides
    Datatech
    ------------------------------