Version two of this project has many improvements including support for Experience Builder. However, there are some breaking changes that will require you to update your apps. To ensure that you have plenty of time to upgrade, we have created a new domain and route for v2 (print.ugrc.utah.gov/v2
) and will continue to support the old domain (print.agrc.utah.gov
) for the next few months.
- Find your service URL and account number in the old accounts.js file. For example, if this is your account:
1: {
// Created for Tom Thompson at DOGM
serviceUrl: 'https://maps.dnr.utah.gov/arcgis/rest/services/Utilities/PrintingTools/GPServer',
exportTaskName: 'Export Web Map Task',
getTemplatesTaskName: 'Get Layout Templates Info Task',
quadWord: 'famous-florida-quiet-passive',
},
Then the values you need are:
URL: https://maps.dnr.utah.gov/arcgis/rest/services/Utilities/PrintingTools/GPServer
Account Number: 1
- Replace your domain name with
print.ugrc.utah.gov/v2/<your-account-number>
like this:
https://print.ugrc.utah.gov/v2/1/arcgis/rest/services/Utilities/PrintingTools/GPServer
- Replace the old v1 Print Proxy URL...
https://print.agrc.utah.gov/1/arcgis/rest/services/GPServer/export
... with the new v2 URL from step 2 in your app.
- Test and deploy the new version of your app.
If you run into any issues, please feel free to open a new GitHub issue or send an email to [email protected].