Hi ArcGIS Pro team, cross-posting this from Python Questions. ApplySymbologyFromLayer with mobile geodatabase is not working for me. Have to fall back to ArcMap to do this properly.
Re: Create mobile geodatabase (.geodatabase) with ... - Esri Community
Unless you need a mobile geodatabase for compatibility with another product, mobile map packages (.mmpk) are the way to go these days.
Created via Pro or Python, the single file retains data, symbology, book marks etc and can be read directly by any ArcGIS client.
@sjones_esriau I'm familiar with pretty much all the various formats that end clients that use for GIS. Our 911 dispatch system vendor is still using .geodatabase files for pop-ups in Esri ArcGIS Runtime 200.x. So yes, I need a mobile geodatabase for compatibility with another product. If you are saying that ApplySymbologyFromLayer is not working properly here, then I'll be opening a support ticket with ESRI, unless you can tell me here what else I should try.
Do mobile databases store layer symbology? I thought they only stored feature data and symbology exists in the map that's sourcing that dataset. If you need to use a .geodatabase, you can export a .mapx alongside it that has all layers pointed to that database as a relative path.
A layer in a .geodatabase exported from ArcMap shows symbology in ArcGIS Runtime without a .mapx file.