Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The vsdk-service-basics project provides tutorials for various Vault Java SDK services. The services are interfaces that interact with data via triggers and actions.
First, you need to configure your vault so the sample trigger runs smoothly. You can do this by deploying a prepackaged set of components (.vpk).
Deploying the vSDK Service Basics VPK Package
- Clone or download the sample Maven project vSDK Service Basics project from GitHub.
- Run through the Getting Started guide to set up your deployment environment.
- Log in to your vault and navigate to Admin > Deployment > Inbound Packages and click Import:
- Locate and select the
\deploy-vpk\vsdk-service-basics-components\vsdk-service-basics-components.vpkfile in the project's directory on your computer.
- From the Actions menu, select Review & Deploy. Vault displays a list of all components in the package.
- Click Next.
- On the confirmation page, review and click Finish. You will receive an email when Vault completes the deployment.
Once the package has been deployed, you will want to review the configuration and understand the normal behavior so you can observe the effects of the sample trigger code.
Below is a rundown of the included components.
- vSDK Service Basics (vsdk_service_basics__c)
How to run
- Log into your Vault: https://login.veevavault.com/
- Start the Vault Java SDK Debugger.
- Go to Admin -> Business Admin tab and click on vSDK Service Basics in the left navigation panel
- Click the Create button in the list page
- Enter your name in the Name field
- Click Save and you should see a record get created with two "Related to: " records.
- Repeat steps 4-6 with the same Name value.
- The triggers will create a
Copy of: '<name>'record and relate it to the first record that you created.
- Stop Running the project.