Form With Related Items

rss

Posted by chrisdmontgomery - Jun 5 ’13 at 12:56

I was wondering if this was possible to do in SP 2010. I tried with no success.

http://formsdesigner.blogspot.com/2013/04/sharepoint-2013-form-with-related-items.html

Thanks

Chris

  • Dmitry
    Dmitry
    Admin
    Member for: 7 years 7 months 18 days
    #1 by Dmitry Jun 5 ’13 at 01:30

    Sure, you can add a list of related items into a tab by following the same steps as for SharePoint 2013. Which step have you got trouble in?

  • chrisdmontgomery
    Member
    Member for: 6 years 7 months 24 days
    #2 by chrisdmontgomery Jun 5 ’13 at 02:22

    [#1]:

    I added the web part and the javascript. However, its not putting the web part under the tab.

    var wp0 = $('div[id^="MSOZoneCell_WebPartWPQ2"]:eq(0)');

    wp0.detach().appendTo('#fd_tabcontrol-0-tab-2');

    Only change I made was WPQ2 I added the two after looking at the source on my page. I thought that might have been it. I also tried tab-2 and tab-4. I added addtional tabs but no luck.

    Thanks

    Chris

     

     

  • Dmitry
    Dmitry
    Admin
    Member for: 7 years 7 months 18 days
    #3 by Dmitry Jun 6 ’13 at 12:20

    [#2]: Please, send us html-source of your form-page:

    Thank you.

  • Dmitry
    Dmitry
    Admin
    Member for: 7 years 7 months 18 days
    #4 by Dmitry Jun 6 ’13 at 01:27

    [#3]: Thank you for your message. You're right, SharePoint 2010 has a little different markup. So, please, try the following script instead:

    var wp0 = $('td[id^="MSOZoneCell_WebPartWPQ"]:eq(0)');
    wp0.children(':first').detach().appendTo('#fd_tabcontrol-0-tab-2');
    
Displaying 1 to 4 of 4 messages