Forum Discussion
Hi Jack. Yes, you are correct. But I think that I was a little unclear. I really meant to dynamically add a new component at run-time, such as adding a new supplied parameter to a dashboard, or a new button. I do not mean making a component visible or referring to an already existing component such as a dashboard.
I'm sure you can get clever with Parameters so that you don't need new Supplied ones (which, tbh, are kinda redundant). A Literal parameter, for example, could contain a list of key-values to parse with NameValuePair, or even a JSON structure, that you can then unpack via XFBR where required.
Adding new Components, yeah, i'm not aware of ways to do that; the main technique is to have everything you might need ready on hidden dashboards, and display (or pop-up) them as necessary. If you think you might want to do something like generating a long list of elements with controls attached (e.g. a button for each member), you can either drop their names in a Combobox/Listbox instead, or use a CubeView and use Bound Parameters (in Navigation Links) to automatically create and populate the params you need.
Maybe if you attach some sort of screenshot or layout to explain what you want to achieve more in detail, we might be able to suggest something more specific.
Related Content
- 2 years ago
- 2 years ago
- 12 months ago
- 3 years ago