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? Commented Sep 29, 2016 at 13:02
  • No by item id....
    – Kay
    Commented 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
    Commented Sep 29, 2016 at 13:54

1 Answer 1


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... :) Commented Sep 29, 2016 at 17:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.