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: 10 years 11 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: 8 years 4 months 24 days
    #2 by RMIC Jun 26 ’15 at 02:13

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

Displaying 1 to 2 of 2 messages