I am trying to create a Live Report for all documents created by a user in a specific parent folder In CS10 Oracle DB. Any help would be appreciated.
Regards,
Marlyn Norris
Yu can use something like this as a starting point. It will list all objects ion a folder and its child folders.
SELECT * FROM DTree d START WITH d.DataId = %1 CONNECT BY PRIOR DataId = ParentId
add a NodeId input for %1 and make is a user input parameter. That will be your beginning folder
Simply add another condition to limit the results by specific user. That could be ownerid or created by, for example.
From: eLink Entry: Content Server LiveReports Forum <livereportsdiscussion@elinkkc.opentext.com>Sent: Friday, January 11, 2019 2:01 PMTo: eLink Recipient <devnull@elinkkc.opentext.com>Subject: All documents created by a user in a specific parent folder Live Report In CS10 Oracle DB
All documents created by a user in a specific parent folder Live Report In CS10 Oracle DB
Posted bymarlyn.norris@nassco.com (Norris, Marlyn) On 01/11/2019 01:59 PM
[To post a comment, use the normal reply function]
Forum:
Content Server LiveReports Forum
Content Server:
My Support
Chris thanks for the information. I did notice when I run the live report in CS10 it only returns results back for the user home directory. How should this report be modified to display all results of documents under a folder?
RE All documents created by a user in a specific parent folder Live Report In CS10 Oracle DB Posted bymarlyn.norris@nassco.com (Norris, Marlyn)On 01/11/2019 04:28 PM Chris thanks for the information. I did notice when I run the live report in CS10 it only returns results back for the user home directory. How should this report be modified to display all results of documents under a folder? Regards,Marlyn Norris[To post a comment, use the normal reply function]Topic:All documents created by a user in a specific parent folder Live Report In CS10 Oracle DBForum:Content Server LiveReports ForumContent Server:My Support
I tried using that query and get a error message from the live report execution. Here is what I have...
Query:
SELECT * FROM DTree d WHERE CreatedBy = %2 AND START WITH d.DataId = 20709770 CONNECT BY PRIOR DataId = ParentId
Error:
Content Server Error: Error processing request.
[ORA-00936: missing expression - SELECT * FROM DTree d WHERE CreatedBy = :A1 AND START WITH d.DataId = 20709770 CONNECT BY PRIOR DataId = ParentId]
[EXTERNAL] - Re RE All documents created by a user in a specific parent folder Live Report In CS10 Oracle DB Posted bymarlyn.norris@nassco.com (Norris, Marlyn)On 01/11/2019 06:02 PM I tried using that query and get a error message from the live report execution. Here is what I have...Query:SELECT * FROM DTree d WHERE CreatedBy = %2 AND START WITH d.DataId = 20709770 CONNECT BY PRIOR DataId = ParentIdError:Content Server Error: Error processing request.[ORA-00936: missing expression - SELECT * FROM DTree d WHERE CreatedBy = :A1 AND START WITH d.DataId = 20709770 CONNECT BY PRIOR DataId = ParentId] Regards,Marlyn Norris [To post a comment, use the normal reply function]Topic:All documents created by a user in a specific parent folder Live Report In CS10 Oracle DBForum:Content Server LiveReports ForumContent Server:My Support
Krishna,
That worked like a charm my friend. Much appreciatd to both you and Chris for the help on this.
Thanks!