Reopen A Previously Submitted SharinPix Form Using URL Parameters
How it works?
To reopen a submitted SharinPix Form Response, the form_response_url and form_response_id have to be added to the form URL. The form_response_url is the FormResponseDataURL__c, which stores all the data, including images, of the submitted SharinPix Form Response. The form_response_id is the PublicId__c, which contains the SharinPix ID of the Form Response.
This article consists of:
Submitting this form will create a new SharinPix Form Response record on Salesforce.
Configuring URL Parameter Using A Flow
An example can be to use a flow, such as a record-triggered flow, when a SharinPix Form Response record is created. The existing Generate Form URL Automation can be used to generate a new Form URL with the Form Response Data URL and Form Response Public ID of the triggering record as custom parameters:
form_response_url={!$Record.sharinpix__FormResponseDataURL__c}&form_response_id={!$Record.sharinpix__PublicId__c}
This will allow a user to reopen the submitted SharinPix Form Response (including all data such as input values, images, etc.) and submit a new one.
The following example shows how a flow has been used to generate and update the Description field of the parent Account Record with the URL to reopen the last submitted SharinPix Form Response.
Configuring URL Parameter Using A Universal Link
To configure this using a Universal Link, simply append the form_response_url and the form_response_id to the url as follows:
https://app.sharinpix.com/native_app/form?token=<sharinpix-form-token>&form_response_url=<FormResponseDataURL__c>&form_response_id=<PublicId__c>
Preserve Value Of Only Part Of The Form When Re Opening A Form
Users can configure individual Form Questions so they do not automatically reuse (refill) values from previous submissions. This setting is available in the Advanced tab of a question configuration panel in the SharinPix Form Template Editor.
In the example below, the Site Summary Form Section has been configured to not use the value from the previous form submission, only when the custom parameter stage=review is included in the form URL.



0 Comments
Add your comment