Sample for Candidate Presentation: Difference between revisions

Jump to navigation Jump to search
Added final link
(WIP: Created final section)
(Added final link)
Line 68: Line 68:
</syntaxhighlight>Use this formula in the final part of the for each element:
</syntaxhighlight>Use this formula in the final part of the for each element:
[[File:Screenshot 2023-12-06 at 14.11.37.png|none|thumb|497x497px|Formatting Collected Records Ids]]
[[File:Screenshot 2023-12-06 at 14.11.37.png|none|thumb|497x497px|Formatting Collected Records Ids]]




Create a final screen which will be used to display the document link containing the document URL with the custom filter parameter.
Create a final screen which will be used to display the document link containing the document URL with the custom filter parameter.


First an additional formula will need to be used to remove the trailing comma in the filter. This can then be added to the base URL:  
First an additional formula will need to be created that removes the trailing comma in the filter. This will allow it to be added to the base URL:  
[[File:Screenshot 2023-12-06 at 14.37.32.png|none|thumb|505x505px|Remove Comma Formula]]
[[File:Screenshot 2023-12-06 at 14.37.32.png|none|thumb|505x505px|Remove Comma Formula]]Full Formula:<syntaxhighlight>
<syntaxhighlight>
LEFT({!educationHistoryFilter}, LEN({!educationHistoryFilter}) - 1)
LEFT({!educationHistoryFilter}, LEN({!educationHistoryFilter}) - 1)
</syntaxhighlight>
</syntaxhighlight>
Add a display text component to the final screen, within it add a link (URL) to the document that will be filtered and include the filter parameter:<syntaxhighlight>
&education-filter={!educationHistoryFilterURL}
</syntaxhighlight>
The generated url should look similar to this:<syntaxhighlight>
The generated url should look similar to this:<syntaxhighlight>
.../onboarding/apex/b3d__Document?templateId=exampleTemplateId&recordId={!Contact.Id}&education-filter={!educationHistoryFilterURL}
.../onboarding/apex/b3d__Document?templateId=exampleTemplateId&recordId={!Contact.Id}&education-filter={!educationHistoryFilterURL}
</syntaxhighlight>
</syntaxhighlight>
47

edits

Navigation menu