Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Livereport to get total size occupied by a project(including all subprojects)
Cisco_Developer_(ciscouser2_-_(deleted))
I want an Livereport which shall provide me details of the space occupied by a project which includes all the subprojects,folders and other container objects in the project folder.I am able to get space occupied by a project and its folders but not the subprojects.has anaybody done such Livereport?Thanks
Find more posts tagged with
Comments
Bhupinder_Singh
Message from Bhupinder Singh via eLinkThe knowledge base article I put together below should help. The SQL was provided by Alex Kowalenko of Open Text.- Bhupinder------------------------------------------------------------------------- Bhupinder Singh, B.Math., B.Ed. Senior Product Specialist, Customer Support Open Text Corporation, Waterloo, Ontario, Canada Customer support e-mail: support@opentext.com Customer Support Telephone: 800-540-7292 ------------------------------------------------------------------------- Article Title:How can we determine which Livelink Projects are taking up the most physical space, in terms of document storage?Article Summary:To determine which projects occupy the most physical space, users can run a LiveReport that ships with core Livelink, called"Largest Projects (Physical Space)". The only problem, however, is that it will not include sub-projects when displaying the totalsize of a specific project. This article provides an alternate solution that does include sub-projects, and projects withinsub-projects, etc., in the total for any given project.Article Details:The "Largest Projects (Physical Space)" LiveReport that ships with Livelink 9.2 is: select %1, sum(c.DataSize) "sumdata" from DTree DTree, DTree b, DVersData c where %2 and DTree.DataID=b.OwnerID and b.DataID=c.DocID and %3 group by %1 order by sum(c.DataSize) desc Param %1 : Report Fields Param %2 : Filter Projects Param %3 : Filter Permissions Additional Display Columns: Field: sumdata Column Title: Space Occupied (bytes) The "Largest Projects (Physical Space)" LiveReport uses the fact that document DTree rows within a project have OwnerID equal to theDataID of the project. This query is quick, easy and needs no hierarchy traversal. To extend this to include sub-projects one needsto traverse a hierarchy of sub-projects. The LiveReport below, which you can create and save as "Largest Projects (Physical Space)with SubProjects", does this but for Oracle only. A Microsoft SQL Server variant would need to use a stored procedure that does thehierarchy traversal.select %1, sum(c.DataSize) "sumdata" from DTree DTree, DTree b, DVersData c where %2 and b.OwnerID in ( select s.DataID from DTree s where %2 start with s.DataID = DTree.DataID connect by prior DataID = ParentID ) and b.DataID=c.DocID and %3 group by %1 order by sum(c.DataSize) desc Param %1 : Report Fields Param %2 : Filter Projects Param %3 : Filter Permissions Additional Display Columns: Field: sumdata Column Title: Space Occupied (bytes) Edited by Bhupinder Singh, Senior Product Specialist, with LiveReport provided by Alex Kowalenko, Lead Consultant, Open Text.Please direct questions to support@opentext.com and not to the authors.-----Original Message-----From: eLink Discussion: Livelink LiveReports Discussion [mailto:livereportsdiscussion@elinkkc.opentext.com] Sent: Monday, June 07, 2004 8:32 AMTo: eLink RecipientSubject: Livereport to get total size occupied by a project(including all subprojects)Livereport to get total size occupied by a project(including all subprojects) Posted by Developer, Cisco on 06/07/2004 08:31 AMI want an Livereport which shall provide me details of the space occupied by a project which includes all the subprojects,foldersand other container objects in the project folder.I am able to get space occupied by a project and its folders but not the subprojects.has anaybody done such Livereport?Thanks [To reply to this thread, use your normal E-mail reply function.]============================================================Discussion: Livelink LiveReports Discussion
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=2249677&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe
Cisco_Developer_(ciscouser2_-_(deleted))
Thanks that worked for me.How do i get Livereport which shall provide me details of the space occupied by any container object which includes all the projects,subprojects,folders and other container objects.?Thanks in advance
Jef_Debacker
Dear AllHas anyone found a way of displaying sub-items (say sub Projects and/or folders that contain documents) within a Project that works on SQL Server similar to what 'connect by prior' syntax does on Oracle?I have this Livereport (non-optimised yet) select a.DataId "DocumentID", a.ParentID "ProjectID", b.DecisionDate "Decision Date", c.ActionDesc "Description"from DTree a, MitraWorkflowResults b, mitraActionDesc c where a.ParentID = %1 and a.DataID = b.DocID and b.ActionID = c.ActionID and b.ActionID = 1 and a.SubType = 144where %1 is ProjectID as defined per UserInputand I really want to see documents contained within folders and subProjects for a given chosen Project and I am not sure whether there is a way of doing this in SQL Server...???Can anyone help me here please
Bhupinder_Singh
Message from Bhupinder Singh <
bsingh@opentext.com
> via eLink
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">eLink
Why not just use the Project Outline feature while you are inside the project? This is available from the Project menu.
- Bhupinder
From:
eLink Discussion: Livelink LiveReports Discussion [mailto:livereportsdiscussion@elinkkc.opentext.com]
Sent:
Tuesday, August 21, 2007 12:24 PM
To:
eLink Recipient
Subject:
connect by prior and SQL server
connect by prior and SQL server
Posted by
jefdebacke
(Debacker, Jef) on 08/21/2007 12:20 PM
In reply to:
RE Livereport to get total size occupied by a project(including all subprojects)
Posted by
bsingh
(Singh, Bhupinder) on 06/07/2004 08:53 AM
Dear All
Has anyone found a way of displaying sub-items (say sub Projects and/or folders that contain documents) within a Project that works on SQL Server similar to what 'connect by prior' syntax does on Oracle?
I have this Livereport (non-optimised yet)
select a.DataId "DocumentID", a.ParentID "ProjectID", b.DecisionDate "Decision Date", c.ActionDesc "Description"from DTree a, MitraWorkflowResults b, mitraActionDesc c where a.ParentID = %1 and a.DataID = b.DocID and b.ActionID = c.ActionID and b.ActionID = 1 and a.SubType = 144
where %1 is ProjectID as defined per UserInput
and I really want to see documents contained within folders and subProjects for a given chosen Project and I am not sure whether there is a way of doing this in SQL Server...???
Can anyone help me here please
Jef_Debacker
Dear BhupinderI am not sure what you mean by this can you clarify?Do you mean that using that feature you can get all documents of interest listed that are contained withina given Project, sub-Projects and folders within that Project?If you can just give me some pointers how to do that I would be very grateful!Many thanks,
Bhupinder_Singh
Message from Bhupinder Singh <
bsingh@opentext.com
> via eLink
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">eLink
The Project Outline allows you to obtain lists of items contained in a particular project or its sub-projects
, and will display a hierarchical view of content including folders and sub-folders
.
The Project Outline page also
allows you to narrow your scope when you search for certain item types. By default the options are Task List, Discussion, Channel,
Document, URL, Compound Document, Folder.
If you would like to modify this list you would need to add the following parameter to the opentext.ini file and add the subtype for the object you would like as an option.
[Project]
ProjectOutlineSubtypes={204,215,207,144,140,136,0,1,128}
Subtypes that show up by default:
204 - Task List
215 - Discussion
207 - Channel
144 -Document
140 - URL
136 - Compound Document
0 - Folder
Some a
dditional options
you can add
128 - Workflow Map
1- Alias
- Bhupinder
------------------------------------------------------
Bhupinder Singh, B.Math., B.Ed.
Senior Product Specialist, Customer Support
Open Text Corporation, Waterloo, Ontario, Canada
Customer support e-mail: support@opentext.com
Customer Support Telephone: 800-540-7292
------------------------------------------------------
From:
eLink Discussion: Livelink LiveReports Discussion [mailto:livereportsdiscussion@elinkkc.opentext.com]
Sent:
Tuesday, August 21, 2007 2:02 PM
To:
eLink Recipient
Subject:
LiveReport on documents within Projects and Outline feature
LiveReport on documents within Projects and Outline feature
Posted by
jefdebacke
(Debacker, Jef) on 08/21/2007 01:59 PM
In reply to:
RE connect by prior and SQL server
Posted by
bsingh
(Singh, Bhupinder) on 08/21/2007 12:29 PM
Dear Bhupinder
I am not sure what you mean by this can you clarify?
Do you mean that using that feature you can get all documents of interest listed that are contained within
a given Project, sub-Projects and folders within that Project?
If you can just give me some pointers how to do that I would be very grateful!
Many thanks,
Jim_Coursey
Message from Coursey, Jim <
jim.coursey@ngc.com
> via eLink
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">eLink
In a similar vein, there's also the project outline function:
http://your livelink url/Livelink/livelink.exe?func=Projects.ProjectOutline&objid=3640335
(if you use the LAPI method, you need to replace the Livelink/livelink.exe portion)
You can create a Livelink URL, name it something appropriate, and paste the objid of your target container in place of the 3640335 above. When a user clicks on the URL, it will open (subject to permissions) the container and its contents in outline view. You can copy the Livelink URL wherever you want, giving it a name that is relevant to the location of the URL and the target container, or even collect a number of the Livelink URLs in the same place. Perhaps even more interesting, you can paste the function URL such as shown above as the web address inside a Windows shortcut. Anyone clicking on the windows shortcut will open the target container in outline view, subject to permissions (user may have to logon in they aren't covered by SSO). All the items in the outline are click to open, depending upon permissions. You can mail or otherwise distribute the shortcut.
Recommend you don't do this for a container with a huge number of items or tens of levels of structure, but for containers of reasonable complexity and content, this provides a very interesting initial interface.
Does anyone know if this can easily be sub-typed, etc., as in Bhupinder's input below to show only certain types of objects in the outline?
RE LiveReport on documents within Projects and Outline feature
Posted by
bsingh
(Singh, Bhupinder) on 08/21/2007 02:14 PM
In reply to:
LiveReport on documents within Projects and Outline feature
Posted by
jefdebacke
(Debacker, Jef) on 08/21/2007 01:59 PM
Message from Bhupinder Singh <
bsingh@opentext.com
> via eLink
The Project Outline allows you to obtain lists of items contained in a particular project or its sub-projects
, and will display a hierarchical view of content including folders and sub-folders
.
The Project Outline page also
allows you to narrow your scope when you search for certain item types. By default the options are Task List, Discussion, Channel,
Document, URL, Compound Document, Folder.
If you would like to modify this list you would need to add the following parameter to the opentext.ini file and add the subtype for the object you would like as an option.
[Project]
ProjectOutlineSubtypes={204,215,207,144,140,136,0,1,128}
Subtypes that show up by default:
204 - Task List
215 - Discussion
207 - Channel
144 -Document
140 - URL
136 - Compound Document
0 - Folder
Some a
dditional options
you can add
128 - Workflow Map
1- Alias
- Bhupinder
------------------------------------------------------
Bhupinder Singh, B.Math., B.Ed.
Senior Product Specialist, Customer Support
Open Text Corporation, Waterloo, Ontario, Canada
Customer support e-mail: support@opentext.com
Customer Support Telephone: 800-540-7292
------------------------------------------------------
From:
eLink Discussion: Livelink LiveReports Discussion [mailto:livereportsdiscussion@elinkkc.opentext.com]
Sent:
Tuesday, August 21, 2007 2:02 PM
To:
eLink Recipient
Subject:
LiveReport on documents within Projects and Outline feature
LiveReport on documents within Projects and Outline feature
Posted by
jefdebacke
(Debacker, Jef) on 08/21/2007 01:59 PM
In reply to:
RE connect by prior and SQL server
Posted by
bsingh
(Singh, Bhupinder) on 08/21/2007 12:29 PM
Dear Bhupinder
I am not sure what you mean by this can you clarify?
Do you mean that using that feature you can get all documents of interest listed that are contained within
a given Project, sub-Projects and folders within that Project?
If you can just give me some pointers how to do that I would be very grateful!
Many thanks,
Jef_Debacker
Dear BhupinderThanks for your advice, much appreciated.Although in practise I am not sure whether this will work for us, as one of the variables of the SQL LiveReport that I posted was to do with a 'custom' mitraWorkFlowStatus table records value; and it is only a certain value status=1 documents we are interested in seeing on the display as a result of running this LiveRport.Therefore I am curious whether your suggestion will work at all given the above scenario.Can you pass your comments further, many thanks