Form With Related Items
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
-
DmitryAdminMember for: 9 years 11 months 5 days
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?
-
chrisdmontgomeryMemberMember for: 8 years 11 months 10 days
[#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
-
DmitryAdminMember for: 9 years 11 months 5 days
[#2]: Please, send us html-source of your form-page:
- Open your form in the browser
- Open its source
- Send it to [email protected]
Thank you.
-
DmitryAdminMember for: 9 years 11 months 5 days
[#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');