AnsweredAssumed Answered

How to set a default value for edit widget field dynamically

Question asked by afox on May 28, 2017
Latest reply on Jun 7, 2017 by rscheitlin

I have a web app builder project that has an editable layer in it. The project ID is being based to the web app through the URL. I can grab this in javascript and use it. What I'd like to do is set the default value for the projectid field that is written by the edit widget when a new record is created. 

 

any pointers on where in the edit widget code I can intercept where the values are written and returned to the feature service?

Outcomes