Page 1 of 1

Connect a display form to a web part item selection

Posted: 26 Jul 2016
by Dan_C
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.

Re: Connect a display form to a web part item selection

Posted: 27 Jul 2016
by Dmitry Kozlov
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.

Re: Connect a display form to a web part item selection

Posted: 27 Jul 2016
by Dan_C
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.

Re: Connect a display form to a web part item selection

Posted: 28 Jul 2016
by Dmitry Kozlov
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.

Re: Connect a display form to a web part item selection

Posted: 29 Jul 2016
by Dan_C
I think we might just have the display form pop up in a dialog instead.