Set Lookup to Dossier on Sublist's NewForm if not populated automatically

Document created by ChristofN Employee on Jan 18, 2019Last modified by ChristofN Employee on Jan 18, 2019
Version 3Show Document
  • View in full screen mode

All Sublists added during Solution Studio's Dossier Wizard gets automatically an "Add Sublistname" Action Link configured on Dossier to directly create a related Sublist item.
If you add a Sublist and its "Add" Action Link afterwards the relation to Dossier is not set automatically in Sublist's NewForm.

Left: Sublist added during Dossier Wizard. Right: Sublist added afterwards

 

 

For this case you have to add this configuration manually that initially the Wizard do:

  • Add this Additional Query String parameter to your Open List Form Action:
="ParentListId="+[[@Form.ListId]].substring(1,[[@Form.ListId]].length-1)+"&ListItemID="+[[@Page.GetQueryString("ID")]].split("#")[0]+"&Source="+[[@Page.Url]]+"?ID="+[[@Page.GetQueryString("ID")]].split("#")[0]

Attachments

    Outcomes