Skip to main content
All CollectionsReporting
Executive Reports: Template Design
Executive Reports: Template Design
Updated over a week ago

Recruitly scans your presentation templates to find special placeholders that you can replace with actual data. For example:

1. For displaying single fields:

{{companyName}}

{{jobTitle}}


2. For displaying reviews:

{{candidates.candidate.review.recruiterAssessment}}

{{candidates.candidate.review.interviewNotes}}

3. For displaying custom field data:

{{summaryFields.applications.fieldContent}}

{{summaryFields.yes.fieldContent}}


4. For display candidates list in the table:

Name

DOB

Gender

Headline

{{candidates.candidate

.fullName}}

{{candidates.candidate.dob}}

{{candidates.candidate.gender}}

{{candidates.candidate.headline}}

5. For display candidates list with filters or conditions:

i. Recommended candidates

{{candrec = candidates|filter(value.review.notRecommended != false)}}

Name

DOB

Gender

Headline

{{candrec.candidate.fu

llName}}

{{candrec.candidate.dob}

{{candrec.candidate.gender}}

{{candrec.candidate.headline}}


ii. Not Recommended candidates

{{candnotrec = candidates|filter(value.review.notRecommended != true)}}

Name

DOB

Gender

Headline

{{candnotrec.candidat

e.fullName}}

{{candnotrec.candidate.dob}

{{candnotrec.candidate.gender}}

{{candnotrec.candidate.headline}}

The above points display codes for recommended and non-recommended candidates. However, these can be altered as per your requirements.

Let me break down the code for you and show you an example of how you can modify it to fit your criteria.

Breakdown of the code: Not Recommended Candidates

candnotrec = candidates|filter: This means you are filtering the criteria from the candidate pool. You are filtering out the not recommended candidates from the candidate list.

(value.review.notRecommended != true): This is the code that specifies the condition for filtering. It checks whether the candidates are not recommended (i.e., not true).

Understanding and adjusting this code allows you to customize the filtering criteria according to your needs.

To filter candidates based on gender, you can adjust the code as follows:

For example, to filter male candidates:

{{maleCandidates = candidates|filter(value.gender == 'Male')}}

maleCandidates = candidates|filter: This indicates that you are filtering the criteria from the candidate pool to get male candidates.

(value.gender == 'Male'): This is the condition for filtering, which checks whether the candidate's gender is 'Male'.

You can modify the gender value to filter other genders as needed. For example, to filter female candidates, you would use:

{{femaleCandidates = candidates|filter(value.gender == 'Female')}}

Similarly, you can apply this approach to different scenarios according to your requirements.

Did this answer your question?