Skip to main content

CV Viewer

CVs which have been attached to a Contact can be viewed in the CV Viewer - in order for a CV to be displayed the seven20__File_Type__c of the Content Document (ContentDocument) must be set to CV. The CV Viewer is a Lightning Web Component which can be placed on the lightning record page. It can be placed on the following objects:

  • Contact
  • seven20__Application__c

This component has these design time attributes:

Attribute NameDescription
HeightControls the height of the CV viewer. By default it is 70vh
tip

The Height attribute can be specified in any CSS unit.

Additionally, the CV viewer is exposed within several components throughout the application, such as in the search results screen and the Job Board Application Rater screen.

Usage​

By default, the CV viewer will show the CV which has been indexed for the candidate first. If no CV has been attached, an empty state will instead be shown, with a call to action to upload the initial CV.

The CV will be rendered as a PDF, this uses the browser's built-in PDF viewer. If the CV is not a PDF, it will first be converted to a PDF and then saved against the candidate as a separate file with the name originalFileName PDF Converted and the seven20__File_Type__c set to CV (PDF Converted).

At the top of the CV viewer, there is a toolbar which contains the following items:

ActionIconDescription
DownloadDownload the CV, if it was converted to a PDF, the original is downloaded
Set As Indexed Sets the currently selected CV as the one to be indexed for this candidate. Action is disabled if the currently selected CV is the indexed CV for this candidate
CV PicklistA picklist to select one of the candidate's CVs. The currently visible CV is the selected option
DeleteDelete the CV from the candidate, cannot be used on the indexed CV, or the candidate's last CV
StylerOpen the CV Styler, which allows the user to change the styling of the CV
Upload New CVUpload a new CV for the candidate, this will then be set as the indexed CV
caution

Setting a styled CV as indexed can cause issues when using Search or Match, due to the presence of company names and addresses.

Re-parse options for new CVs​

When uploading a file via the CV Viewer component, if the 'Make this CV the Primary CV' option is selected, the user is also able to select a re-parse option which will result in the Candidate record being updated with data from the new CV. By default the available options are:

  • Partial Re-parse (default selection)
  • Partial Re-parse with History Records
  • Parse History Records
  • None
note

Re-parsing of CVs is processed via a batch job so there may be a short delay before a Candidate record is updated.

Feature enablement and customisation of available re-parse values​

The Re-parse option for new CVs can be enabled/disabled at the user, profile and org level via a Seven20 user setting named Enable Reparse On CV Upload.

The available values can be controlled via the Reparse Options On CV Upload Seven20 Configuration Setting metadata record. The available values are controlled by including the corresponding strings in the Value field of the metadata record, separated by semicolons, without spaces:

Re-Parse optionString
Partial Re-parsePartial
Partial Re-parse with History RecordsPartialWithHistory
Full Re-parseFull
Full Re-parse with History RecordsFullWithHistory
Parse History RecordsHistory
info

The first option included will be the default selection and the 'None' option will always be included in addition to the configured available values.

Permissions​

To use the CV viewer, a user requires access to the following fields:

  • seven20__Document__c.CreatedDate
  • seven20__Document__c.seven20__File_Extension__c
  • seven20__Document__c.seven20__File_Name__c
  • seven20__Document__c.seven20__File_Size__c
  • seven20__Document__c.seven20__Type__c
  • seven20__Document_Relationship__c.seven20__Document__c
  • seven20__Document_Relationship__c.seven20__Contact__c
  • Contact.seven20__CV_File_Name__c
  • Contact.seven20__CV_File_Id__c
danger

Even if AWS is not enabled, the CV viewer still requires access to the seven20__Document__c and seven20__Document_Relationship__c objects.