Skip to main content

Package files

Package files are a set of one or more files that relate to a single document version, such as multiple separate sections that make up a single manuscript. Package files are stored in the Document Version Package File (mvn__CM_Document_Version_Package_File__c) custom object, each record of which looks up to a parent Document Version (mvn__CM_Document_Version__c) record. If a document version has package files and is replaced with a newer document version or is used to create a new draft, all of the package files are automatically carried over onto the new document version and/or draft.

Pubs API endpoint

While the Package Files related list displays all of the package files related to a document version, the Pubs API retrieves all the package files related to a publication. To retrieve the list of package files via the Pubs API, developers can use the pubs/publication/{id}/Accept-version endpoint and set the Accept-version parameter to equal V2. To use the Pubs API, users must be assigned the PP_Content_Author (mvn__PP_Content_Author) permission set while external collaborators must be assigned the PP_Content_Author_External (mvn__PP_Content_Author_External) permission set.

Collaborator Portal

For every publication document that an external collaborator is shared with and able to see in the Collaborator Portal, the external collaborator will also be able to see all of the publication document's associated package files. To enable this capability, the PP_Pubs_API_Version_2 Pubs API Version (mvn__PP_Pubs_API_Version__mdt) metadata record must be active. The Package Files tab only appears if there is at least one existing package file for the publication document.

From there, external collaborators can subsequently download the package files as well as open compatible package files in Office 365TM. Users do not have to manually share each individual package file with an external collaborator.

KPP_PackageFilesCollaboratorPortal.png

Download package files

External collaborators can download any and all package files that appear in the Collaborator Portal. When external collaborators click into a publication document in the Collaborator Portal, they can either click Download All at the top of the page to download all of the associated package files or click Download next to a specific package file to download the individual package file. The Download All button only appears if there is at least one existing package file for the publication document.

Open package files in Office 365TM

External collaborators can open package files in Office 365TM if:

  1. the package files meet the Office 365TM integration document requirements and

  2. the package files are checked out in the Salesforce instance.

When external collaborators click into a publication document in the Collaborator Portal, they can either click Open Package Files in Office 365 at the top of the page to open all of the compatible package files in Office 365TM in separate tabs or click Open in Office 365 next to a specific package file to open the individual compatible package file in Office 365TM. The Open Package Files in Office 365 button only appears if there is at least one compatible package file that can be opened in Office 365TM while the Open in Office 365 button only appears if the corresponding package file can be opened in Office 365TM. Any package files that cannot be opened with Office 365TM can only be downloaded.

Warning

To ensure that all of the Office 365TM package files open in separate tabs as expected, external collaborators must allow pop-ups from the Collaborator Portal. For more information on how to allow pop-ups in Chrome, reference Block or allow pop-ups in Chrome.

KPP_PackageFilesPopupBlocked.png