No data in related item - look up

rss

Posted by RMIC - Jun 22 ’15 at 09:43

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?

 

 

 

  • Dmitry Kozlov
    Dmitry Kozlov
    Admin
    Member for: 6 years 10 months 19 days
    #1 by Dmitry Kozlov Jun 24 ’15 at 05:56

    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:

    <script type="text/javascript">
    if (GetUrlKeyValue('RootFolder') == '*') {
    
         window.location = fd.setUrlParam(window.location.href, 'RootFolder', '');
    
    }
    </script>
    
  • RMIC
    Member
    Member for: 5 years 3 months 1 day
    #2 by RMIC Jun 26 ’15 at 02:13

    [#1]: This works, thanks!!!

Displaying 1 to 2 of 2 messages