I have a page viewer webpart in a page where I want the ItemID to be updated dynamically when the page loads. Since I cannot filter values using query string, how can this be achieved? Thanks in advance.
-
Are you want to filter webpart by current username?Mohit Sikhwal– Mohit Sikhwal2016-09-29 13:02:19 +00:00Commented Sep 29, 2016 at 13:02
-
No by item id....Kay– Kay2016-09-29 13:12:01 +00:00Commented Sep 29, 2016 at 13:12
-
Is the ItemID you are talking about is the ID of the parent page having the Page Viewer Web Part or any other list item ID?Hitesh– Hitesh2016-09-29 13:54:37 +00:00Commented Sep 29, 2016 at 13:54
Add a comment
|
1 Answer
It is better you use Content Editor webpart and an iFrame. The source of iframe need to be binded dynamically via javascript by passing URL and your ItemID in the query string.
-
Thanks Robert for quick corrections...will take care while answering other questions... :)Siddharth Vaghasia– Siddharth Vaghasia2016-09-29 17:52:26 +00:00Commented Sep 29, 2016 at 17:52