Learn how to set up and customize Aura.
New parameters have been added which can now be easily passed back to salesforce from Aura forms via the Post Back URL or also the Hosted Aura Link URL.
Parameters can be sent for the following objects:
This only needs to be setup on a case per case basis. In our example. we will use the opportunity object. Our donor has an open pledge/opportunity. We will send a personalized Aura form to the donor requesting to pay for the pledge. Whatever money they chose to donate, will be attributed to the Open pledge/opportunity in Salesforce to keep track of it.
To set this up, we need to do two small steps.
Step 1: Find the Opportunity ID
1. | In Salesforce, find the opportunity and open the object. |
2. | In the URL of the opportunity object, you will find the opportunity ID. It is highlighted in blue below: /lightning/r/Opportunity/0064w00000yltXZAAY/view
|
Step 2: Personalize Aura Link by adding the opportunity ID parameter to the Hosted Aura Link URL
1. | Copy the Hosted Aura form link attached to your merchant account. |
2. | At the end of the link, enter the parameter you would like to pass back to Salesforce. The syntax for the parameter will first be the object name followed by the field. For example, as we are updating the opportunity object it will be “?opportunityid= 0064w00000yltXZAAY” The complete form URL with the customer parameter will look as follows: https://www.iatspayments.com/saaura/PAE016167B8B13DDB8?opportunityid=0064w00000yltXZAAY
|
Note that the parameters need to note the object and field names.
For example, to set the contact object 'rd_fund__c' field, the parameter would be contact.rd_fund__c. To set this field to 'development', the full syntax would be contact.rd_fund__c=development. If the Aura post back URL is http://zd3-developer-edition.na93.force.com/donate, then the URL would become http://zd3-developer-edition.na93.force.com/donate?contact.rd_fund__c=development
Alternatively, parameters can also be added to the Hosted Aura Link address. For example, if the link is https://www.iatspayments.com/saaura/PA6127255D6DF04282, then it would be become https://www.iatspayments.com/saaura/PA6127255D6DF04282?contact.rd_fund__c=development