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>
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.
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
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.