Relative Content

Tag Archive for arcgis

ArcGIS Maps SDK for JS: Popup displayed with wrong alignment in Mobile screen

I’m developing a map with my custom layer. Everything looks fine and the pop up. However, in a case, pop up is displayed at the bottom left/right corner of the map, it’s always shown in bottom right/left alignment instead of top right/left alignment, so pop up can’t be shown fully as picture bellows.

ArcGIS Maps SDK for JS: Popup displayed with wrong alignment in Mobile screen

I’m developing a map with my custom layer. Everything looks fine and the pop up. However, in a case, pop up is displayed at the bottom left/right corner of the map, it’s always shown in bottom right/left alignment instead of top right/left alignment, so pop up can’t be shown fully as picture bellows.

The “Encrypted String” and “String Hidden” type in the ArcGIS Pro tool parameter

I am developing a customized script geoprocessing tool in ArcGIS Pro and need to securely handle user credentials. For the password input, I used the data types “Encrypted String” and “String Hidden” to mask the password. When I test my tool, it uses * to hide my password, which works as expected. However, I noticed that the tool passes only the masked characters (“*****”) to my Python script instead of decrypting it. Do I need to decrypt the password within my script? If so, how can I achieve this?

The database connection type in the script parameter

With ArcGIS Pro, I am creating a customized geoprocessing tool with python script and the PostgreSQL database connection is required. I could set four parameters to input string for “host”, “username”, “password”, and “database”. But I notice that there is a parameter data type “database connection” and seems I need to input a file path for it. I am not sure what kind of file it is expecting, should I input the file, which contains the connection string?