Arcade to access URL params in Collector

197
0
08-23-2020 10:58 PM
Status: Open
SkeenP_
New Contributor III

It would be very useful to be able to access URL params passed to Collector via a dictionary in Arcade Expressions.

It is very useful to be able to pre-populate data in Collector via the URLs featureAttributes parameter but that value does not persist past the initial feature.

I want to be able to use those values to default all features captured in a session. The use case is:

  1. User starts an assessment in Survey123 (or another app)
  2. Survey123 generates link to Collector map including Assessment ID in featureAttributes
  3. Collector map defaults Assessment ID field via Arcade for all features captured in session

Survey123 could have similar implementation by accessing properties using pulldata("@params",'featureAttributes')