Yes, typically the tools are published by using the VSP Engine Tools post installer, which is installed when executing the downloaded MSI file. However, if for some reason the post installer can not be used, the installation can also be performed by using a Command Line Interface (CLI). Installation scenarios might be as follows:
Depending on your ESRI Products availability and selected installation directory navigate to ...
cd C:\Program Files\ArcGIS\Server\framework\runtime\ArcGIS\bin\Python\envs\arcgispro-py3
OR
cd C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3
a. E.g.: Installation on ArcGIS Server Site with ArcGIS Built-In user authentication:
Depending on your VertiGIS Studio Printing installation directory navigate to ...
python.exe "C:\Program Files\VertiGIS\VertiGIS Studio Printing Engine\dist\bin\resources\app\engine\install.py" portal --portal_url https://subdomain.domain/portal --server_site_url https://subdomain.domain/server --username myuser --password mypassword --service_arcgis_pro_layout_mode true --service_datastore_arcgis "" --service_datastore_arcgis_register false --service_foldername VertiGIS_Utilities --service_name VertiGIS_Printing_Tools --python_toolbox_filename "C:\Program Files\VertiGIS\VertiGIS Studio Printing Engine\dist\bin\resources\app\engine\VertiGISPrintingTools.pyt"
- update value for: portal_url
- update value for: server_site_url (optional argument - not available for VSP < 5.24.1)
- update value for: username
- update value for: password
- update value for: service_foldername
- update value for: service_name
b. E.g.: Installation on ArcGIS Server Site with IWA user authentication:
Depending on your VertiGIS Studio Printing installation directory navigate to ...
python.exe "C:\Program Files\VertiGIS\VertiGIS Studio Printing Engine\dist\bin\resources\app\engine\install.py" portal --portal_url https://subdomain.domain/portal --server_site_url https://subdomain.domain/server --service_arcgis_pro_layout_mode true --service_datastore_arcgis "" --service_datastore_arcgis_register false --service_foldername VertiGIS_Utilities --service_name VertiGIS_Printing_Tools --python_toolbox_filename "C:\Program Files\VertiGIS\VertiGIS Studio Printing Engine\dist\bin\resources\app\engine\VertiGISPrintingTools.pyt"
- update value for: portal_url
- update value for: server_site_url (optional argument - not available for VSP < 5.24.1)
- update value for: service_foldername
- update value for: service_name
A further alternative to the CLI installation is the usage of the ArcGIS Server Manager for publishing services as described in the ESRI ArcGIS Server documentation. If an SD (Service Definition) file has been generated during the post installation process (the path will be available in the log file), you can manually publish the VSP Engine Tools by selecting this SD file and starting the publishing process. If this is successful and the Tools are running as service, two important further steps are necessary:
- Add the Type Keyword 'VertiGIS Printing Engine Tools' to the existing typeKeywords parameter of the related geoprocessing tools portal item. This can be done by using VertiGIS Studio Item Manager or ArcGIS Online Assistant: https://assistant.esri-ps.com/signin
- Add the tag 'Designer Pro' to the tags of the related geoprocessing tools portal item to enable the ArcGIS Pro Layout Mode in VSP Designer.
Please see https://support.vertigis.com/hc/en-us/articles/18559433083410-Unable-to-Toggle-ArcGIS-Pro-Layout-Mode-in-Print-Designer-After-Installing-VertiGIS-Studio-Print-Engine for a detailed walkthrough of setting the Type Keyword and Tag.
Comments
0 comments
Please sign in to leave a comment.