Select to view content in your preferred language

Syntax for q:queryparameter

328
1
Jump to solution
09-06-2022 01:02 PM
JimW
by
Frequent Contributor

I would like to open my survey to a specific record in the inbox from a URL constructed with an attribute expression in a popup in a webmap.  The online help provides this example:  q:where=waterbodytype='Lake' for doing this.  However, I cannot get this to work.  My code is below.

var urlsource ='arcgis-survey123://?';
var params = {
  itemID:'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  folder:'inbox',
  'q:where=MapBlockLot=':$feature.MapBlockLot,
  //'q:where=MapBlockLot':$feature.MapBlockLot,
  //'q:MapBlockLot':$feature.MapBlockLot,
  //'q:globalId':$feature.GlobalID,
  action:'edit',
  update:'true'
};

 

What am I missing? Thanks.

 

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
ZacharySutherby
Esri Regular Contributor

Hello @JimW 

 

Try

"q:where": "MapBlockLot=" + $feature.MapBlockLot

 

Thank you,
Zach

View solution in original post

1 Reply
ZacharySutherby
Esri Regular Contributor

Hello @JimW 

 

Try

"q:where": "MapBlockLot=" + $feature.MapBlockLot

 

Thank you,
Zach