計画案件の業務ダッシュボードがあります。 ArcGIS Onlineのポップアップには、申請者の提出書類へのリンクがあります。 ほとんどの計画案件には関連するPDFがありますが、すべての案件にあるわけではありません。
URLにコンテンツがあり、404エラーにならないことを確認したいです。
Arcadeや別の方法を使って、ArcGIS Onlineのポップアップでこれを実現できますか?
よろしくお願いします。
Mele
Hello Mele,
Unfortunately there isn't really a way to do this with Arcade language, as this language is primarily used for controlling the way GIS features are rendered and labeled, rather than interacting with hyperlinked content. A list of the current available Arcade functions can be found below.
Arcade Function Index
https://developers.arcgis.com/arcade/function-reference/
There isn't really any available out-of-the-box functionality for validating URLs within an ArcGIS Online popup at this time. For a workflow like this, it may be more worthwhile to explore a workflow that involves exporting the table containing the applicant URLs from your webmap data, and running the URLs through a status checker website like the one linked below.
Bulk URL status code checker:
https://httpstatus.io/
I hope this information helps!
-TB
Tyler,
Thanks for confirming this. I was not able to find any examples, so I see why.
I did use a similar approach as you suggested. I created a .NET program which validates a URL in our Enterprise Geodatabase Feature Class and updates a field if the URL is valid. I am then using that field in Arcade.
Thanks
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.