Skip to main content

Documents

When AWS is enabled, the way files are handled within Seven20 changes. Instead of a file being directly hosted in Salesforce, it is uploaded into an S3 bucket and a reference to the file is stored in Salesforce as a Seven20 Document (seven20__Document__c).

info

CV files that are uploaded into Seven20 via any of the parsers are automatically deleted from Salesforce by default after being uploaded to AWS. Please contact the Product team if the files need to be maintained in Salesforce as well.

Documents related to a record can be viewed by adding the Documents Related List component to the Lightning Page. This component has a design time attribute of Document Relationship, this should be left as default.

This related list will show all documents related to the record through the selected relationship. Any documents will be displayed with an icon outlining their file type, and several key fields such as the file name, size, and created date. Each file can be downloaded by clicking on the file name. Exact download behaviour depends upon browser settings, e.g. a PDF may be downloaded or opened in a new tab.

info

Fields displayed in the documents related list are not configurable.

Seven20 Document

This record contains the metadata of the file, such as the name, size, and content type, as well as a unique Id of the file in S3.

Field LabelField Api NameDescription
File Nameseven20__File_Name__cThe name of the file
External Idseven20__External_Id__cThe Id of the file in S3
File Sizeseven20__File_Size__cThe size of the file in bytes
File Extensionseven20__File_Extension__cThe file extension, e.g. pdf, wordx
File Pathseven20__File_Path__cThe file path in S3, likely just the External Id
Typeseven20__Type__cThe type of file, such as CV, CV (PDF Converted) and Email Attachment
Related Documentseven20__Related_Document__cA lookup to a related document, for example the source CV for a CV (PDF Converted)

Seven20 Document Relationship

Similar to a ContentDocumentLink, a Seven20 Document Relationship (seven20__Document_Relationship__c) is used to link a Seven20 Document to a related record in Salesforce. This is done via a lookup to the Seven20 Document and a lookup field to the related record.

Field LabelField Api NameDescription
Documentseven20__Document__cA lookup to the Seven20 Document
Accountseven20__Account__cA lookup to the related Account
Contactseven20__Contact__cA lookup to the related Contact
Applicationseven20__Application__cA lookup to the related Application
Jobseven20__Job__cA lookup to the related Job
Interviewseven20__Interview__cA lookup to the related Interview
Speculative CVseven20__Speculative_CV__cA lookup to the related Speculative CV
Complianceseven20__Compliance__cA lookup to the related Compliance
info

Custom lookups are not supported.