Sample for Candidate Presentation

Revision as of 05:21, 6 December 2023 by Zakr (talk | contribs) (Added soql filtering section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

This article is only a sample on how to achieve custom filtering within 3B Documents.

SOQL Filtering Using URL Parameters

3B Documents allows you to filter child repeatable sections by adding an SOQL query to the chosen section.


To do this, first click on the repeatable section within the document. This will show the SOQL input at the bottom:

 
SOQL Query Input





Start the SOQL query with the field you want to filter by (in this case 'Id'). Use the 'IN' keyword then within brackets add the following:

{params.example-filter}

Choose a suitable name for the filter (something related to the repeatable section)


The final query should like similar to this:

Id IN ({params.education-filter})
 
SOQL Query Repeatable Section





On the generated document, the repeatable section will only show records that have Id's contained within the Id's supplied via the URL parameters.