Related items - populate

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
keusch
Posts: 11
Joined: Mon Apr 01, 2019

12 Aug 2021

Hello,

we've got two sarepoint lists and in the NEW form of the parent field we put a related item element in quick edit only mode. By creating a new parent depending on user entries a couple of new child entries in the related items list shall be added.

I tried :

Code: Select all

fd.populateFieldsInGrid($('.order-items'), {
  Parent: '{CurrentItem}',
  Mat_Nr: '9876543210',
  pieces: '21',
});
but that code works only if manually a first entry in the related item list is added then it's overwritten with above values.
Is it possible to add new entries without user interaction in the list?
How could more than one new child item be added?
best regards
Christian

User avatar
mnikitina
Posts: 264
Joined: Wed Jun 05, 2019

16 Aug 2021

Hello Christian,

What SharePoint version are you using?

Are you getting any errors in the browser console (F12) on form load? Could you please share the screenshot.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests