The VTDocs Integration allows VETenrol to upload any documents submitted as part of the registration process to the VTDocs database. From then on any documents will appear against the client's enrolment in VETtrak.
In this article:
Viewing uploaded files in VETtrak
There are multiple ways to access the documents via VETtrak, here is one example:
- Process the enrolment from Manage web enrolments.
- Search for the client, then right click on the enrolment and choose Edit enrolment.
- Click the button in the bottom right corner of the dialog box to open the wizard.
Setup in VETtrak
Once VTDocs and the VTDocs API have been enabled by Support, there are some steps requiring action at your end.
- Update your licence key
- Create a new user
- Assign the user to the role in Security Manager
- Create a suitable FileTrak File Type
Update your licence key
In VETtrak:
- Choose File > Global Preferences.
- Select Registration Key on the left.
- Click Update Key Automatically.
NOTE: A message saying the key is already up-to-date indicates this step has already been done.
Create a new user
It is recommended that a new user be created for the purpose of authenticating with VTDocs.
In VETtrak:
- Choose Create > Client from the menus (or press CTRL + F7 on your keyboard).
- Enter a Surname, eg. Auth.
- Enter a Given name, eg. VTDocs.
- Select Division (only if required).
- Tick the Is a staff member option.
- Click Next.
- The Username and Password fields will have been pre-filled when the surname was entered. These can be changed, or you can keep the generated ones.
Make note of the Username and Password, as the password will be hidden once the wizard is complete. You will need these credentials to login to VTDocs to complete the password change that is required if User must change password at next login is enforced. This should be done before entering any credentials into your VETenrol account. - Tick the VTDocs Portal option for Web portal access. Untick all other options ticked by default.
- Click the Finish link in the breadcrumbs to skip to the final step.
- Untick Edit personal information for this client, then click Finish.
Assign the user to the role in the Security Manager
This will provide access to VTDocs.
In VETtrak:
- Choose Manage > Security.
- Expand Application/Role management.
- Expand the VTDocs Portal tree.
- Expand VTDocs Portal default role.
- Right-click Assigned users and choose Assign users to role.
- Add the user to this list.
If you've used the example name in this article, the surname will be Auth.
IMPORTANT: User must change password at next login will make it necessary to log into your VTDocs portal with the user that you assign to this role. On login you will need to change the password and then those credentials will be ready for use with VETenrol.
Create a suitable FileTrak File Type
NOTE: If you want the registration documents to appear in the Trainer portal, skip creating a new file type and instead select the Trainer Portal file type when completing the VTDocs API Details VETenrol.
In VETtrak:
- Choose Manage > Configuration.
- Right-click FileTrak file types and choose Add new file type.
- Enter the Name. For example, Web enrolment docs.
- Optionally, enter a Code and a Description.
- Click Next and Finish.
This newly created file type needs to be fetched and saved in VETenrol's General Settings, in the File Type ID field.
Configuring VETenrol
The VTDocs API is required for VETenrol to communicate with VTDocs. There is a section for it on the Integration page, which is available from Configuration () in the VETenrol Admin.
Complete these details to enable VETenrol to connect to VTDocs:
- Enter the API URL.
This is the address to your VTDocs with /api/ appended. Eg. https://demo.vtportal.com.au/VTDocs/api/ - Click the Save button for the page.
- The Username and Password must be entered.
Username and Password are of the user assigned to this role during the VTDocs integration process.
Use the Copy Credentials form Enrolment API button if the same user for the API was chosen for use with VTDocs, otherwise:- Enter the username
- Click Save for the page so the Set Password button will appear.
- Click the Set Password button.
- Enter the password and click the Set Password button for the pop-up.
- Test VTDocs API should be clicked to test the entered credentials with VTDocs. It will display a token in a new tab, or an error message if unsuccessful.
- Click the Fetch File Types button.
- Choose Web Enrolment Docs (or another document type to use from the list) from the File Type ID drop-down menu.
NOTE: Select Trainer Portal Upload if you want documents to be available from the Trainer Portal. - Click the Save button for the page again.
Troubleshooting
On occasion an error may occur preventing files being uploaded. In this case, you can attempt to send the associated files from the Registration Details page using the Push to VTDocs button in VETenrol Admin. If multiple registrations have been affected, such as with an outage, there is also a log of VTDocs Errors available from the Activity menu in VETenrol Admin that lists affected registrations for re-pushing.
0 Records Returned
This error indicates that VETenrol couldn't find a match for the enrolment, and therefore cannot push the files to VTDocs.
Related Topics