Question

We are attempting to build a connection between a SharePoint list and another SharePoint page with a Page Viewer web part embedded on it. What I can't seem to wrap my brain around is how can we control the URL of the Page Viewer web part dynamically without resorting to custom code.

Here's the way we envision this working. There is a list of events that contains some high level data about it(the event). We want the user to be able to click on the event and be taken to another SharePoint page that displays the detail data about the event from the system that actually manages all of the events. Setting up the link to point to the SharePoint page is, obviously, not an issue, the question is, how do we pass the necessary information to that (SharePoint) page so that it can pass it to the source system (presumably using query string arguments) so that the detail data for the specific event is what get's displayed in the Page Viewer web part?

We are using SharePoint 2013 Enterprise.

Was it helpful?

Solution

If the page in the page viewer web part is really another SharePoint page, I don't think a PVWP is the right solution here. If we're talking about event details, you'd be better off adding two list view web parts to the page... the first showing the event list/title/etc, and the second showing the event details. Link the web parts together so that a user can select an event from the first webpart, and a filtered view of the event details will be presented on the right.

You could always have a rich text field on the list if you need more robust formatting of event details with photos and such; everything would still be contained within a single list with no additional pages needed.

If you're trying to cobble together a PVWP you'll have all sorts of other issues, such as tricking it into thinking it's in a dialog so you don't see the navigation and everything in your PVWP as well as on the top of the parent page.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top