AnsweredAssumed Answered

Handling feature layer outfield changes

Question asked by ryansmith52 on May 12, 2015
Latest reply on May 12, 2015 by timw1984

Hi guys,

I would like to know how i can efficiently handle changes to feature layer outfield names. Currently when i'm querying any feature layer i'm hard coding the outfield parameters for any given query. eg query.outfields = ["Code,RName"]. I've dealt with two particular REST services already for a current application and i've noticed that certain outfield name changes when it gets republished which obviously causes the querying to stop working properly. Do i have to manage this process via an external db or can i make a case with the data management guys to make sure the fields stay constant or have a constant alias of some sort of which i can then compare and extract the required fields.

 

Regards,

Ryan

Outcomes