Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
change the name of table element in onCreate
dianbo
Hi all,
i create a table "t1" and in each row i create a sub table (name: sub) which uses the current record data for parameters to request new resultset. Assume that there are 100 rows in table t1, then i will get 100 sub tables.
When i used jsapi to access this report and clicked "export to data" menu item in the toolbar, i got 100 items (sub, sub_1, sub_2, sub_3 .....) in the "available resultset" list.
Is there any way to change this names in this table elements' onCreate function? I tried this.name="sub_" + data["id"] +"_"+ data["name"]; but it is no use. Any suggestions ?
Thanks
Dianbo
Find more posts tagged with
Comments
mwilliams
Hi Dianbo,
I'm able to do this in the onPrepare script, but not the onCreate script.
JasonW
Currently this is hard coded in the engine to increment the name of a element when data extracting. This would be a good enhancement request. Can you please log it?
Jason