Access parameters passed to a Management Panel from a widget (IScriptablePlugin)

I have a custom Management Panel that is using a widget to render its content.  I am passing parameters via NameValueCollection when getting the URL - when  load the panel I can see my parameters in the URL, but I'm not entirely sure how to access these parameters in my widget.

I tried $core_v2_page.GetQueryStringValue and that did not work.

Parents Reply Children
  • It's fine don't worry about it Slight smile This isn't something I'm looking for personally, I only encourage people to share solutions if it's going to be beneficial to others that have the same problem. 

    It's too easy often to find a problem online and then someone simply says "fixed it!" and the reaction by the person searching is often "what? how?" Slight smile

  • It's all about knowledge sharing Luke. 'I have/had this problem, this is how I fixed it' kind of thing. Helping others who may have the same issue. People consult forums looking for a solution. If all they find it others posting the issue without a resulting solution then it's no help at all. 

    A few years back my partner needed help to fix the transmission on his Manitou Telehandler so he consulted a dedicated forum. With some advice from forum members he managed to fix it and posted updates with photos as he went along to help others who also needed help with it too. After 5 years or so he looked back at the thread and it had hundreds of thousands of views! We've lost the link now so can't see how many views it's had to date. I said he should have vlogged it on YouTube as we'd have made a fortune by now if we'd monetized it... Joy

    But yeah if you want to add the code here that's great, helps others. But if you don't then it's up to you Slight smile