How to Easily Find the ID of Report Elements
I don’t know about you people , but when comes to find the ID of any report elements it causes me a severe headache.
That’s how I use to do it :
1 – log on the platform ;
2 – make a call to get the list of reports
3 – make a call to each report to get the list of elements
4 – make a call to each report to get the list of Input Controls
5 – make a call to each report to get the list of report filters
6 – make a call to each report element inside each report to get the list of each report element filter
n – logs off
For me, at least, it’s a very tedious work. One of these days , I was searching through SCN and came across a blog post by Ryan White telling about debug mode in WEB INTELLIGENCE RICH CLIENT (see Webi Rich Client Debugger ).
At the end of the blog post, he talk about getting the ID’s of the report elements, but I don’t think that he (I’m very sorry , hope you don’t get upset …) gave it the attention it deserves.
So how’s to get things working:
1 – Hold the left SHIFT key and moves the cursor to the left bottom of the application (WEB RICH CLIENT), over the report name
2 – Click on ReportStructure Monitor
3 – Copy and paste the content of the XML in the right pane to any text editor, so you can search. The report ID is given by the RID tag, the Block Elements ID by BID tag. One good advice would be, name each Block and Input control so you can search for the name and find the ID’s easily.
Once again , I would like to thank Ryan White for his blog post, and apologize for hijacking into it, but I really think it would be great to bring it back to attention,