Select to view content in your preferred language

@pulldata in Survey123 stopped working

274
2
Jump to solution
10-01-2025 03:45 AM
Aure_Jardines
Emerging Contributor

Hi there,

I can´t figure out the issue.

My surveys were working fine until mid-August, but since then they haven’t been working properly. The problem is that the field which should be automatically filled by the pulldata function is not being populated.

i'm using pulldata function on calculation field, like this

pulldata("@layer", "getValue", "attributes.nameFieldFeature",'https://services5.arcgis.com/as5dr6ZhyY4GBjjt/arcgis/rest/services/NAME/FeatureServer/1', concat("key=", ${KEY}))

 

I would greatly appreciate any help

 

Tags (2)
0 Kudos
2 Solutions

Accepted Solutions
Neal_t_k
Frequent Contributor

Try taking the concat() out and put it in a helper questions.

${clause} = concat("key=", ${KEY})

pulldata("@layer", "getValue", "attributes.nameFieldFeature",'https://services5.arcgis.com/as5dr6ZhyY4GBjjt/arcgis/rest/services/NAME/FeatureServer/1', ${clause})

sometimes the pulldata() don't like calcs inside the function.

View solution in original post

Aure_Jardines
Emerging Contributor

Hi @Neal_t_k ,

thanks a lot!.  Finally, it worked by removing the CONCAT from @pulldata and adding single quotes at the end of the concat in those coming from text fields.

View solution in original post

0 Kudos
2 Replies
Neal_t_k
Frequent Contributor

Try taking the concat() out and put it in a helper questions.

${clause} = concat("key=", ${KEY})

pulldata("@layer", "getValue", "attributes.nameFieldFeature",'https://services5.arcgis.com/as5dr6ZhyY4GBjjt/arcgis/rest/services/NAME/FeatureServer/1', ${clause})

sometimes the pulldata() don't like calcs inside the function.

Aure_Jardines
Emerging Contributor

Hi @Neal_t_k ,

thanks a lot!.  Finally, it worked by removing the CONCAT from @pulldata and adding single quotes at the end of the concat in those coming from text fields.

0 Kudos