AnsweredAssumed Answered

getWebLayerSharingDraft not found

Question asked by giser3546 on Nov 2, 2018
Latest reply on Feb 19, 2020 by mshethesri-ca-esridist

When trying to create an sd draft file with <map object variable>.getWebLayerSharingDraft("HOSTING_SERVER", "FEATURE", "nAmEblAH") I get the error "'Map' object has no attribute 'getWebLayerSharingDraft'". I'm following the example exactly as its shown here FeatureSharingDraft—Sharing module | ArcGIS Desktop and can't work out the issue. Is this a known bug? I'm using pro version 2.1.2.