No data in related item - look up

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
RMIC
Posts: 96
Joined: Sun May 10, 2015

22 Jun 2015

Hello,


I have two lists and those in the Related Items (in two tabs).

I click the Related Items column title (default assigned by SharePoint) I receive related data in the NEW-form.

But when i click in a other column (type look up), which is from another list, I get no data in the Related Items displayed. It appears an error: "This Web Part can not be displayed ...."

I do not understand why?

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

24 Jun 2015

Hi,

Please, compare URLs of forms: opened directly from a list, and another one opened from the related items. Most likely, the second one contains RootFolder parameter. You can get rid of it by placing an HTML-control on top of the child's Edit and Display forms with the following content:

Code: Select all

<script type="text/javascript">
if (GetUrlKeyValue('RootFolder') == '*') {

     window.location = fd.setUrlParam(window.location.href, 'RootFolder', '');

}
</script>

RMIC
Posts: 96
Joined: Sun May 10, 2015

26 Jun 2015

This works, thanks!!!

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests