Documentation

Passing values to related forms

This feature allows you to automatically pass values entered in the parent form right into the related child forms, without having to re-enter anything manually.

Associated Items field will read the values of the parent item columns and pass them to the child New form automatically, in the query string. Field values are being read directly from the form, hence the parameters generation will work only from parent item's New / Edit form.

Almost all column types are supported and there is nothing to configure, it happens automatically. Now all we need to do is to use these value to set the default value for the columns on the child form. Default value setting are here to help.

NOTE: setting columns default values are a feature of Ultimate Forms: Forms, so without it being installed, this process will not work.

This is an example of the URL being generated when new item link is pressed from the parent form:

http:///products/_layouts/Infowise/AssociatedTaskField/IWAssociatedFiel
dAddForm.aspx?list=5c399cc2-ad80-4835-9c21-
20c262d7999b&ct=0x01009F1253B955FF430E86C308E7F1E1F49C002E3EE3F60BF5
DA41875C4BA43EA1D389&IWParentWebID={684b8cf4-1666-4c55-84ca-
48e8632779c4}&IWParentListID={4327c74a-dc11-4233-affe-
863f2c06b0fd}&IWParentItemID=c4ff53d9-3139-4c70-a33f-
43db923e989c&IWFieldName=Products&IWParentLink=&iwfv_Document_x0020_Type
=Quote&iwfv_Company=ABC%20Enterprises&iwfv_Contact=Jack%20Connor&iwfv_Q
uote=%28None%29&iwfv_PO_x0020__x0023_=&iwfv_Issued=2%2F21%2F2014&iwfv_D
elivery_x0020_Date=Immediate&iwfv_Payment_x0020_Terms=Immediate&iwfv_Additi
onal_x0020_Discount=&iwfv_Tax=13&iwfv_Currency=USD&iwfv_Coupon_x0020_Code=
&iwfv_Payment_x0020_Date=&iwfvtest=&IsDlg=1 

Each of the parameters in bold can be used in defining default values for the columns in the child list. 

Supported column types:

  • Text
  • Number
  • Currency
  • Date Time
  • User
  • Yes / no column
  • Choice
  • Multi choice
  • Color Choice
  • Lookup
  • Multiple lookup
  • Connected field
  • Multiple Connected field

Note: Parent form fields must be on the parent form and are set as read or write permissions to be able to pass the value as a iwfv_ field. The field name to use with the iwfv_ prefix would be the internal name of the field (you can find that in the list settings > field config URL)  

Also, note that the prefix iwfv_ is to be used in M365 Sharepoint Online, whereas the older prefix iwfv (with no underscore) would be for the On-prem environments. 

Full functionality example is available in the blog post: Passing values to related forms from a parent form

Last modified: 1/5/2023 7:50 PM
Loading...

Add your comment

Comments are not designed to replace support calls. If you have a specific issue with one of our products, please send an email to support@infowisesolutions.com to open a support ticket.