Page 1 of 1

Site template with Related Item

Posted: 08 Oct 2019
by Office365Guy
After I create a site template and use it to create another site. A related item configured to Quick Edit Only on the edit form renders like its set to Optional. Testing, I set it from Client to Server and it renders correctly, then back to Client and Quick Edit Only, renders like its set to Quick Edit Optional??? I'm sure I'm missing something.

Thanks again.

Re: Site template with Related Item

Posted: 09 Oct 2019
by mnikitina
Hello Office365Guy,

Could you please share the related items control settings and the screenshots from the form, so we could reproduce the issue and troubleshoot it.

Thank you!

Re: Site template with Related Item

Posted: 18 Oct 2019
by Office365Guy
All of the related items are affected, this one is on the top right of the edit form.

Re: Site template with Related Item

Posted: 21 Oct 2019
by mnikitina
Office365Guy,

Please use the following code to display related items in Quick Edit mode always in the form.

Code: Select all

fd.relatedItems(0).find('.ms-heroCommandLink')[1].click();
setTimeout(function(){
 $('.ms-list-addnew').hide();
}, 1000);