Mar 25 2019 04:20 PM
I would like to know what is the syntax to use a parameter from the URL of a page in an embed web part.
I used the Page Environment / Query String option in the web part and I didn't find the proper syntax to reach the parameter.
For example, if I have a RequestId parameter (.../Test.aspx?RequestId=160), how can I pass that value to the iframe code. I tried [$RequestId] format but it doesn't work.
<iframe width="600" height="700" src="https://.../CreateRequest.aspx?TemplateId=[$RequestId]">
</iframe>
Thanks.
Apr 10 2019 06:06 AM
I tried this with the list properties web part but couldn't figure it out either. I tried:
And a number of variations. The last one just gave the homepage as it's the page with ID = 1 in the SitePages library.
May 12 2019 10:37 PM
Did anyone find out how to do this, as i'm having the same problem - if this worked as it looked like it should do, it would open up so many possibilities within modern sharepoint
May 15 2019 08:13 AM
No and don't hold your breath for it. In my tenants, the option page environment is now removed.
Microsoft showing great form once again.