If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Data Item to get all the Folder Name under Public Folders

Started by amit_pjoshi, 13 Aug 2013 07:49:17 AM

Previous topic - Next topic

amit_pjoshi

Hello experts,

Can you please help?
I'm creating a Data Item using following syntax to get name of all the folders exists under Public folder using Run Reports table of cognos 10 Audit package but currently it does not display any folder names that was working fine before migrating into new server.

Data Item Code:-
if([Audit].[Run Reports].[Report search path] like '/content/folder[@name=''Public
Folders'']/folder[@name=%')
then (substring ( [Audit].[Run Reports].[Report search path] , (character_length  ('/content/folder[@name=''Public Folders'']/folder#@name=''')+1) , ( position (']',
substring ( [Audit].[Run Reports].[Report search path] , character_length ('/content/folder [@name=''Public Folders'']/folder#@name=') ) )- 4 ) ))
else ('Other')

Grim

If it was working fine before what is it doing now? Error? What's the error?
New server, are there folders to list?
"Honorary Master of IBM Links"- MFGF
Certified IBM C8 & C10 Admin, Gamer, Geek and all around nice guy.
<-Applaud if my rant helped! 8)