Custom popup (hyperlink) using ArcGIS API for python

519
0
03-02-2020 12:16 AM
Muhammad_TayyabMir
New Contributor II

Hi,

Portal for ArcGIS has the option to set a custom popup  of a web app layer and set hyperlink by:

-> layer options -> Configure Pop-up -> Display [A custom attribute display] -> Configure

Can I do it using python API? I have followed this thread but this only allows to set existing fields.
Even if i set my URL as an attribute, how can I make it a hyperlink?

Note: I want to use a combination of attributes in the URL
something like 

arcgis-survey123://?itemID=5914fdb0eea642f882e3dcb2b1d3&field:zone={ZONES}&field:wilayat={Wilayat}&field:area={Area}&field:coordinat_x={Point_X}}&field:coordinat_y={Point_Y}&field:substation_name={NAME}

Thanks

0 Kudos
0 Replies