Genesys Callback Widget
Install Instructions:
- Preparing the settings file JavaScript
- Open the .txt file provided by Genesys
- Change "widgets.min.js" to https://(sitename).pa.gov/snippets/genesis/widgets.min.js
- Add to the bottom of the .txt file: <link rel="stylesheet" type="text/css" href="//(sitename).pa.gov/snippets/genesys/widgets.min.css" />
- Click Save
- Uploading the necessary files to SharePoint:
- Navigate to https://auth-agency.pa.egov.com/sites/{ YOUR SITE }/snippets/Forms/AllItems.aspx
- If you are missing this library, just add a new library called snippets on the root site
- Create a folder in "snippets" called "genesys"
- In the "genesys" folder upload:
- The updated .txt file from step 1
- The widgets.min.js file provided by Genesys
- The widgets.min.css file here
- Installing the widget:
- Create a new page in SharePoint or use an existing page that will eventually contain the callback widget. (We recommend using a new page as a test before the final implementation.)
- On the page created in step 3.a, add a new Content Editor Web Part
- Add link to WebPart:
- Check the box in the top right corner of the new Web Part
- Select "Web Part Properties" (Located under the "Web Part" tab at the top of the page)
- In the "Content Link" section on the right, type "snippets/genesys/(textfile_name).txt
- Click "Test Link" to verify the link is correct
- Scroll to the bottom of the properties pane and click "OK"
Once the widget has been shown to work correctly, Genesys will provide API keys that will need to be inserted at the top of the .txt file where labeled.