Skip to content

Run the Project Doc Copy

John Tanner edited this page Apr 20, 2020 · 5 revisions

Run the Project

To see the project in action, follow the steps below. As part of the Setup, the required code has already been deployed to your vault.

This project involves creating a document in the source vault that then creates a document in the target vault, using the document transfer SDK support.

Source Vault

  1. In the Source Vault select the Create button -> Document -> Upload

Screen_Shot_2020-03-31_at_3.42.27_PM

Screen_Shot_2020-03-31_at_3.43.23_PM

Screen_Shot_2020-03-31_at_3.44.30_PM

  1. Drag in any document you wish to copy or use the sample file Example_vSDK_Document.txt in the deploy-vpk/source-vault directory.
  2. Select the Document Type of vSDK Spark Copy Document
  3. Click the Save button
  4. Check Out the document and then Check In a new version to create a v0.2 of the document

checkout

checkin

  1. Add a document attachment by dragging in an attachment (Optional)

Add_Attachment_Before Add_Attachment_After

  1. In the User Actions dropdown click the Approve Document option and when prompted click Yes

Screen_Shot_2020-03-31_at_3.46.01_PM

The document will then be sent to the target Vault.

Target Vault

  1. In the Target Vault select Library in the top navigation
  2. Verify that the document was transferred and that the version is v1.0

Target_Library_All_Documents

  1. Click on the document and in the information panel check the versions, rendition and attachments have also been transferred

Copied_Doc_Info

That completes the sample project. Please refer to the wiki pages and code for more details about the project.