Copy references of records
The next step is copying references of records on both source and target entities under advanced configuration.
Now to add these source and target lookup fields please follow the steps given below:
  • Navigate to Settings --> Customizations.
  • Click on Customize the System.
  • Go to Entities --> Order --> Fields --> Add new field.
  • Add a source lookup field --> Click on Save & close it. (Note down the name of the field, we will need this name later while setting the reference against the target entity field under advanced configuration.)
  • Add a target lookup field --> Click on Save & Close. (Note down the name of the field, we will need this name later while setting the reference against the source entity field under advanced configuration.)
  • Go to Forms --> Main form.
  • Add a source record field to the form. (This is the source lookup field that we added earlier.)
  • Same way add a target field to the form. (This is a target lookup field that we added earlier.)
  • Once the both the fields are added, click on 'Save' and then click on 'Publish'.
  • Close the window and click on 'Publish All Customization'.
  • Navigate back to Click2Clone Templates --> Advanced Configuration --> Set the references. Set the target lookup field against 'Source Entity' and source lookup field against 'Target Entity'. Enter the names of both these look fields into respective fields. (These are names that we have noted down while creating the fields through customization.)
Once you have completed all the steps, you will be able to:
Last modified 1yr ago
Copy link