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.

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.