Hi,
I've built a gadget that my client is pretty happy with, but I feel it could still be better.
Specifically:
-one of my Sort By fields is Time, but I'd like to restrict the list of filters that are displayed in the combobox for that dimension
-picking "User Specified Dimension" is the only way I can have a dynamic dimension which varies by scorecard. It works well, except one of the options is Time, which is redundant to my other Sort By
I've spent a fair bit of time figuring out how PMF populates list boxes. See this post for details of my learning process:
http://forums.informationbuild...461084022/m/89910512For the Time dimension combobox, I figure that it might be using the javascript function called populateTimeFilter() found in the pmf_lib.js file. The modifications I'd like to do to the gadget filter list would be 90% finished if I could switch the function to populateListBox() with a custom 'theFEX' variable. The only problem is that I can't figure out which html file actually calls these functions. I found gadget_class_form.htm, but I think that's the class builder on the manage tab. I found gadget_page_form.htm and gadget_page_shell_form.htm, but didn't find populateTimeFilter() in either of them. So, what file(s) builds that gadget preferences window?
For the second issue, I'm a little less hopeful that I can sort this one out. I believe that a_list_dimensions.fex is often responsible for figuring out what dimensions are in the system, but again, I am not sure of the page that builds the preferences window, so I haven't gotten anywhere with customizing this bit. The thing that I have working in my favour is that the Time dimension is always called TIME, so I may be able to write some dialogue manager code if I can find where to put it. Any pointers would be appreciated.
Cheers,
Joey
-WebFOCUS 8.2.01 on Windows