AnsweredAssumed Answered

Edit Query Layer Metadata or Description?

Question asked by Adrian.Martinez_SWCA on Apr 9, 2020
Latest reply on Apr 9, 2020 by Dan_Patterson

I'm trying to automate the creation of some query layers with a toolbox and I've run into a problem that has me stumped.  I need to save a particular string to each layer however I can't find a way to do it.  Ideally I'd just save it the description of the layer however it looks likes the description property of the layer class has been depreciated in ArcPro.  I attempted to alter the metadata however the query layers are created with metadata isReadOnly property set to true.  I can't seem to find a way to programmatically add metadata to it as a result of this.


Any suggestions?