Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
[ Script ] How to list library used in a report?
Migrateduser
Hello everyone,<br />
<br />
I'm interesting in getting library's name that are used in a report and save them in a table so I can re-use them later ( for theme management ) <br />
<br />
Do you know how could I do that ?<br />
<br />
It could look like something like that : <br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
i = 0
themeTab = new Array();
while(i < reportContext.getDesignHandle().getNumberOfTheme){
themeTab[i] = reportContext.getDesignHandle().getTheme(i);
}
</pre>
<br />
So after that, when I want to modify a property of a library i just need to do:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>reportContext.getDesignHandle().findLibrary("myResources/"+themeTab[i]);</pre>
<br />
Any clue ?<br />
<br />
Thanks in advance.
Find more posts tagged with
Comments
There are no comments yet