When I publish a web layer without setting numeric IDs, the Pro UI's Analyze function returns the 00374 "Unique numeric IDs are not assigned" error as expected. However, when I follow the recommended process for publishing with Python (getWebLayerSharingDraft and StageService_server), the 00374 error isn't returned from either call, meaning the configured popups don't get published. This seems like missing feature parity between the Pro UI and the Python API. Am I missing a step?
The only workaround I've found so far is to use getDefinition and look for the useServiceLyaerIDs property.
Solved! Go to Solution.
Found the answer this morning thanks to @ShilpiJain! I needed to set the checkUniqueIDAssignment flag to True on the sddraft object returned from getWebLayerSharingDraft.
Found the answer this morning thanks to @ShilpiJain! I needed to set the checkUniqueIDAssignment flag to True on the sddraft object returned from getWebLayerSharingDraft.