Hi all,
I need a simple query (simple for others than me as I am not familiar at all with Livelink Tables and sql language) to get this :
List of SubFolders Name + SubFolders Data ID under one specific folder (Folder IS = 6421105)
Please help me.
Lionel,
you have not indicated which version of Livelink and which database you have etc, but at the simplest level you can do the following
// get all folders that are direct children of node 1234
SELECT * FROM dtree WHERE subtype=0 AND parentid=1234
if you are after direct and indirect folders then you will need to add a join to the DTREEANCESTORS table or create a cyclic query - using CONNECT BY in Oracle or a CTE in SQL Server.
If you speak to OpenText they can provide you with the schema document, once you have signed an NDA, and they also provide a very good Schema and LiveReports course (http://www.opentext.com/training/coursedetails.html?id=1529) too.
It perfeclty suits me. Thank you so much.
LiveReport query to find the list of sub folders under one specific folder Posted bylionel.lefloch@loreal.com (LEFLOCH, Lionel)On 12-09-2013 05:54 Hi all, I need a simple query (simple for others than me as I am not familiar at all with Livelink Tables and sql language) to get this : List of SubFolders Name + SubFolders Data ID under one specific folder (Folder IS = 6421105) Please help me.[To post a comment, use the normal reply function]Forum:Content Server LiveReports ForumContent Server:Knowledge Center
This electronic message contains information from MeadWestvaco Corporation or subsidiary companies, which may be confidential, privileged or otherwise protected from disclosure. The information is intended to be used solely by the recipient(s) named. If you are not an intended recipient, be aware that any review, disclosure, copying, distribution or use of this transmission or its contents is prohibited. If you have received this transmission in error, please notify MeadWestvaco immediately at postmaster@mwv.com.