First off, if you haven't, please review my blog post on the next release of the IFrame Module. There are a few things I still have yet to work on, but am hoping to get to those within the next week. Between now and then, I'd like to come up with some ideas on how to manage dynamic parameters. I want to create something that is open to extensibility or at least something that can be added onto later without a lot of hassle. Here is a list of the values people have requested so far:
- Portal ID
- User ID
- Username
- Full name
- Is super user
- Email address
Is there anything else people would like to pass thru the URL? I'm open to any suggestions.
Currently, I'm thinking of adding a parameter list that will allow an admin user to add/edit parameters and specify what value should be assigned to the parameter. For instance, one could add a Portal parameter that passes the PortalID (notice that the parameter name does not have to match the name of the property). I'm also thinking of tying this into the pass-through parameters by allowing someone to, for instance, pass something like the tab ID, which is already being passed to the DNN page (that the IFrame is setup on). For instance, one could add a Tab parameter that passes the TabID. This would also allow an editor to add a Color parameter that passes values like Green, Yellow, or Red for instance. This allows a user to create more than one link to a single page using a URL that differs in querystring only.
I hope I explained my current intentions accurately. I'd like to come up with a better solution, but am not sure of one, now. If anyone has any ideas, please let me know. Outside of new ideas, I'm also looking for feedback on this approach as well as additional properties to make available for querystring parameters.