I am using a single source tree control in HTML Composer to show a list of reports based on categories. As there is a long list, this is best option so that users can expand the category that is needed.
Is there a way I can assign URL to run a fex with each node as each node will be a report. There seems to be no option directly from the tool.
Please suggest.
This is the code. I am trying to have hyperlinks (can be urls or fex) to the nodes.
The following command would get the selected value in the tree control IbComposer_getCurrentSelection('controlID', [layer]);
Then there would have to be a corresponding report that could be executed with: IbComposer_execute('reportID', ['outputTarget']);
If this does not help, please open a case with Customer Support Services and mention this Focal Point topic. You may call 1-800-736-6130, or access online at InfoResponse.
Cheers,
Kerry
Kerry Zhan Focal Point Moderator Information Builders, Inc.
January 04, 2013, 11:31 AM
MattC
BI_Developer,
You may want to look at another solution besides using the Tree Control. Look at this Demo from Barry Solomon. It may provide some more insight as to what you are looking to do.
Kerry - I tried your suggestion with my existing tree controls and it does work, but there are some quirks with it. If you use the "getCurrentSelection" with the tree control, it will get the value when clicking on the "+" to expand the tree. For me this wouldn't be the behavior I would desire if I wanted to execute a report like BI_Developer has mentioned. I also tried using it with my tree being hyperlinks, and the "getCurrentSelection" got the previous value not the one selected. You had to select it twice.
WebFOCUS 8.1.05
March 03, 2014, 05:14 PM
Anatess
Hi guys -
The link to Barry Solomon's Demo above does not work for me.
Do you have a good link to that Demo? I am very interested in going through it. I have a project right now that could use this concept.
Thanks a bunch.
WF 8.1.05 Windows
March 04, 2014, 09:22 AM
BarryS
Hi Anatess
Open up a case with tech support and ask for Barry. I will look at what you are doing and also give you the demo material.