Connect a display form to a web part item selection

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Dan_C
Posts: 63
Joined: Tue Dec 02, 2014

26 Jul 2016

Is there a way to get the selected item's id in a webpart and then use that selection to show the appropriate item's display form in the same page? (like how you can connect web parts)


Right now I'm accomplishing this with web parts, but ideally I'd like to show the display form beside the selected item on the same page.

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

27 Jul 2016

Hi,

You can put the selection to the view form and each time a user picked a value refresh the page with the selected ID query-parameter.

Dan_C
Posts: 63
Joined: Tue Dec 02, 2014

27 Jul 2016

That's what I was thinking, but I was hoping you could clarify how to 1) get the selected id from the source web part and 2) receive it in forms designer and use it to refresh the display form with the item of that id.

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

28 Jul 2016

You can get the 'select' element with the help of jquery and then get the selected option. Our support team can assist you with it. Please, send temporary access to the page to support@spform.com and we will estime the task.

Dan_C
Posts: 63
Joined: Tue Dec 02, 2014

29 Jul 2016

I think we might just have the display form pop up in a dialog instead.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests