AnsweredAssumed Answered

'field' property of UniqueValueRenderer doesn't accept function value since 4.9?

Question asked by okiwill on Nov 7, 2018
Latest reply on Nov 7, 2018 by rscheitlin

I have another table in database stored some type data of features. Before the recent update of SDK, I can pass a function to the 'field' property of UniqueValueRenderer, use the 'feature' parameter passed into my function, do some query locally(the type data in database table has been requested to client side earlier) and return the type to set the renderer of my scene layers.

But in 4.9, I cannot find out how to achieve this now. In my situation, it's too complicate to always write the type data to ArcGIS service, because we will update the 3D models, delete the scene services and republish them frequently at uncertain time. To say the least, I still cannot use the field values to set renderer, even if they were written into the associated feature service after they had been published.

So, do you have any ideas that I can solve this~~Thanks~~