Create a SAIK for CT user

Problem:

A Course Provider user for API, role code CT, has been created and in order to consume the web service there is a SAIK required. The ability for the user to request a SAIK has been removed from the application as it was causing too many problems.

The code to create a SAIK still exists in the repo and requires some edits so it can be run locally.

There is a PBI submitted to make this function available to an Admin user but until this PBI is published in PRODUCTION this is a work around.

Solution:

  1. Clone the PCOCDS PDF application at: PCOCDS-Admin - Repos (azure.com)

  2. Once the application is running locally and connected to the environment where you wish to create the SAIK, open PDF >> classes >> clsBO.vb

  3. Comment out lines 1055 and 1056:

  4. Run the PDF application and login as a CP user or the new API user from the same organization.

  5. Once logged in, edit the url to http://localhost:65062/p6000.aspx

  6. Select the Download SAIK link.

  7. This will create a SAIK, and download a xml file containing the SAIK.

  8. Open the xml file, and get the SAIK for use in the web service calls.