I have a Dashboard application that has 10 widgets. My users would like to be able to select widgets they want to see on the Dashboard. I.E. user1 might want widgets 1,2,3, and 4.
User2 might want widgets 2, 6,8, and 10. Can anyone guide me how I might accomplish this? Thanks!
As there is no way to save the status of the widgets my first reaction would be that you can’t. However, I would look into the generated html code to see if you can figure something out, I expect that each widget is in fact an IFrame. If it is you could access the IFrame directly with the correct url. But I don’t have a -out of the box- solution for you I’m affraid.
The new SC 9 widget structure is different now, and I haven’t messed with it much yet. Albert is correct in that is appears that there is no way to pass a parameter to the widget directly.
My initial thoughts are for a LINK widget, you could make a place holder app for each widget position - say you have 4 spots on your dash for these.
placeholder1
placeholder2
placeholder3
placeholder4
Then have logic at the initialization of each placeholder app to look at some sort of user setting record in the DB, like preference fields in the sec_admin_users table or some place, where you save teh desired name of the app to fill each specific dashboard spot. Then have each placeholder app sc_redir to its desired app?
In know there are now INDEX widgets and this would not work for that at all.
Again, just some ideas. Maybe SC could make us a macro for just this purpose. So we could pass a DB table/field or even a global variable using teh macro that would load whatever widget we wanted
Good luck and lets us all now what you accomplish.
Peace,
Jamie
Thank you gentlemen for your responses.