Select to view content in your preferred language

pulldata @layer does not work with data retreived from the Inbox

191
1
03-09-2026 09:29 AM
PanGIS
by
Frequent Contributor

Hi,

I have a form that make a calculation based on the existing data in a feature layer.

pulldata("@layer", "getValue", "attributes.totalCount", concat(${_url}, ${_urlParams}, "&t=", now()), concat("PSPM_Year=", format-date(now(), '%Y')))

 

It works well when data is collected in a new form.

In the same survey, when the form is retrieved from Inbox the pulldata field remains blank.

I tried also to change the calculationMode but nothing changes.

 

Is there any issue with Inbox?

 

Thanks!

 

 

Tags (3)
0 Kudos
1 Reply
Neal_t_k
MVP Regular Contributor

Gonna need some more information here, because this could be caused by any number of reasons.

Some questions to ponder to help pinpoint issue:

When pulling from the inbox, is it a previously filled out form, and if so why is the previous answer not pulled in.  Is the question "nulled" meaning not stored in the database?

Is this question  in a repeat? If it is do you have query allowUpdates=true in the bind::esri:parameters column set.  Not sure why this would affect the pull data not triggering, but it would affect that answer being pulled from the inbox if it was previously populated.

Again not sure why it would work for new collection but not from the inbox, but have you tried pulling your concats out into helper fields. Often times those pulldata queries don't work well with calculation inside of them. Worth a shot.

 Have you verified that all the criteria for the pulldata is fulfilled when opening from the inbox?  You are concating a url and the url parameter,  are any of those blank when you pull from the inbox?

Just some thoughts on items I would check when troubleshooting. Hope it helps.

0 Kudos