{"id":2561932,"date":"2024-11-13T10:00:26","date_gmt":"2024-11-13T18:00:26","guid":{"rendered":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=2561932"},"modified":"2024-11-13T14:55:42","modified_gmt":"2024-11-13T22:55:42","slug":"streamline-your-code-with-new-properties-in-arcpy-sharing","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing","title":{"rendered":"Streamline your code with new properties in the arcpy.sharing classes"},"author":81122,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[22941],"tags":[776862,31181,24341,24801,393422],"industry":[],"product":[36561],"class_list":["post-2561932","blog","type-blog","status-publish","format-standard","hentry","category-mapping","tag-arcgis-pro-3-4","tag-arcpy","tag-python","tag-sharing","tag-web-layers","product-arcgis-pro"],"acf":{"authors":[{"ID":81122,"user_firstname":"Jonah","user_lastname":"Lay","nickname":"Jonah Lay","user_nicename":"jlay","display_name":"Jonah Lay","user_email":"jlay@esri.com","user_url":"","user_registered":"2020-08-11 20:13:08","user_description":"Jonah is a product engineer and writer on the ArcGIS Pro Sharing Team with a background in environmental science.","user_avatar":"<img alt='' src='https:\/\/secure.gravatar.com\/avatar\/8e1fdf042a4590ab8de45caebdbeff398e41b06f59ce3504b8f08036538638e1?s=96&#038;d=blank&#038;r=g' srcset='https:\/\/secure.gravatar.com\/avatar\/8e1fdf042a4590ab8de45caebdbeff398e41b06f59ce3504b8f08036538638e1?s=192&#038;d=blank&#038;r=g 2x' class='avatar avatar-96 photo' height='96' width='96' loading='lazy' decoding='async'\/>"}],"short_description":"Simplify Python scripts that publish web layers or services with your desired configuration.","flexible_content":[{"acf_fc_layout":"content","content":"<p>ArcGIS Pro 3.4 comes with 133 new properties created for classes in the <code><a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/arcpy\/sharing\/introduction-to-arcpy-sharing.htm\">arcpy.sharing<\/a><\/code> module. These properties match settings in the user interface when you configure a web feature layer, map image layer, web tile layer, or map service. Use them in your Python scripts to achieve more with less code.<\/p>\n<p>The <code>arcpy.sharing<\/code> classes allow you to create a sharing draft, a configurable set of properties for a web layer or service. This article applies to new properties in the classes below.<\/p>\n<table>\n<tbody>\n<tr>\n<th><b>Class<\/b><\/th>\n<th><b>Description<\/b><\/th>\n<\/tr>\n<tr>\n<td>\n<h4><code><a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/arcpy\/sharing\/featuresharingdraft-class.htm\" target=\"_blank\" rel=\"noopener\">FeatureSharingDraft<\/a><\/code><\/h4>\n<\/td>\n<td>Creates a sharing draft for a hosted web feature layer or a hosted table<\/td>\n<\/tr>\n<tr>\n<td>\n<h4><code><a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/arcpy\/sharing\/mapimagesharingdraft-class.htm\" target=\"_blank\" rel=\"noopener\">MapImageSharingDraft<\/a><\/code><\/h4>\n<\/td>\n<td>Creates a sharing draft for a map image layer with an optional web feature layer on a federated server<\/td>\n<\/tr>\n<tr>\n<td>\n<h4><code><a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/arcpy\/sharing\/tilesharingdraft-class.htm\" target=\"_blank\" rel=\"noopener\">TileSharingDraft<\/a><\/code><\/h4>\n<\/td>\n<td>Creates a sharing draft for a web tile layer<\/td>\n<\/tr>\n<tr>\n<td>\n<h4><code><a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/arcpy\/sharing\/mapservicedraft-class.htm\" target=\"_blank\" rel=\"noopener\">MapServiceDraft<\/a><\/code><\/h4>\n<\/td>\n<td>Creates a sharing draft for a map service on a stand-alone server<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Previously, these sharing drafts only contained the most common web layer or service properties. To configure settings such as time zone, pooling type, and WFS, you probably modified the service definition draft file (.sddraft) using third-party XML editors or XML Python libraries. Now, you no longer need to modify the .sddraft file to configure these settings. Instead, simply set the desired property on the sharing draft object.<\/p>\n<p>In the example below, extensive code in ArcGIS Pro 3.3 (left) modifies the .sddraft file to set map operations, include an associated feature layer, and enable feature capabilities for a map image layer. You can now set the same properties with three simple lines of code in ArcGIS Pro 3.4 (right).<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2577772,"id":2577772,"title":"CompareCode_finalgif","filename":"CompareCode_finalgif-2.gif","filesize":8255107,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/CompareCode_finalgif-2.gif","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing\/comparecode_finalgif-3","alt":"Comparison of code to set properties in ArcGIS Pro 3.3 (left) and ArcGIS Pro 3.4 (right). Extensive code in 3.3 to set map operations, include a feature layer, and enable feature capabilities, contrasted with three simple lines of code in 3.4 achieving the same tasks.","author":"81122","description":"","caption":"","name":"comparecode_finalgif-3","status":"inherit","uploaded_to":2561932,"date":"2024-11-12 20:38:04","modified":"2024-11-12 20:41:02","menu_order":0,"mime_type":"image\/gif","type":"image","subtype":"gif","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1920,"height":893,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/CompareCode_finalgif-2-213x200.gif","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/CompareCode_finalgif-2.gif","medium-width":464,"medium-height":216,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/CompareCode_finalgif-2.gif","medium_large-width":768,"medium_large-height":357,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/CompareCode_finalgif-2.gif","large-width":1920,"large-height":893,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/CompareCode_finalgif-2-1536x714.gif","1536x1536-width":1536,"1536x1536-height":714,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/CompareCode_finalgif-2.gif","2048x2048-width":1920,"2048x2048-height":893,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/CompareCode_finalgif-2-826x384.gif","card_image-width":826,"card_image-height":384,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/CompareCode_finalgif-2.gif","wide_image-width":1920,"wide_image-height":893}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>We can\u2019t cover all 133 properties in this article, so the following table highlights new properties you may find useful.<\/p>\n<table>\n<colgroup>\n<col style=\"width: 25px\" \/> <!-- Define the width for the first column --> <\/p>\n<col style=\"width: 150px\" \/> <!-- Define the width for the second column --> <\/p>\n<col style=\"width: 200px\" \/> <!-- Define the width for the second column --><\/colgroup>\n<tbody>\n<tr>\n<th><b>Properties<\/b><\/th>\n<th><b>Description<\/b><\/th>\n<th><b>User Interface<\/b><\/th>\n<\/tr>\n<tr>\n<td>\n<h4><code>sharing.sharingLevel<\/code><\/h4>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h4><code>sharing.groups<\/code><\/h4>\n<\/td>\n<td>The sharing level of the web layer:<\/p>\n<ul>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">OWNER<\/span><\/code><\/h5>\n<\/li>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">ORGANIZATION<\/span><\/code><\/h5>\n<\/li>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">EVERYONE<\/span><\/code><\/h5>\n<\/li>\n<\/ul>\n<p>The group names, separated by commas.<\/td>\n<td><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/sharingproperty.png\" alt=\"Sharing level settings\" width=\"470\" height=\"817\" \/><\/td>\n<\/tr>\n<tr>\n<td>\n<h4><code>featureCapabilities<\/code><\/h4>\n<\/td>\n<td>The enabled capabilities, separated by commas. The following capabilities are supported:<\/p>\n<ul>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">Query<\/span><\/code><\/h5>\n<\/li>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">Create<\/span><\/code><\/h5>\n<\/li>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">Update<\/span><\/code><\/h5>\n<\/li>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">Delete<\/span><\/code><\/h5>\n<\/li>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">Sync<\/span><\/code><\/h5>\n<\/li>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">Extract<\/span><\/code><\/h5>\n<\/li>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">Editing<\/span><\/code><\/h5>\n<\/li>\n<\/ul>\n<\/td>\n<td><img decoding=\"async\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/featureProperties.png\" alt=\"Embedded Image\" \/><\/td>\n<\/tr>\n<tr>\n<td>\n<h4><code>timezone.ID<\/code><\/h4>\n<\/td>\n<td>The time zone in which date values are stored. The string value must match one of the official time zone IDs recognized by the Windows operating system. For a list of time zones, see <a href=\"https:\/\/links.esri.com\/windows-time-zones\">Time zones<\/a> in the Microsoft documentation.<\/td>\n<td><img decoding=\"async\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/TimezoneProperties.png\" alt=\"Embedded Image\" \/><\/td>\n<\/tr>\n<tr>\n<td>\n<h4><code>pooling.type<\/code><\/h4>\n<\/td>\n<td>The type of instance pooling that will be used.<\/p>\n<ul>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">SHARED<\/span><\/code><\/h5>\n<\/li>\n<li>\n<h5><code><span style=\"font-family: inherit;font-size: inherit\">DEDICATED<\/span><\/code><\/h5>\n<\/li>\n<\/ul>\n<\/td>\n<td><img decoding=\"async\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/poolingProperties.png\" alt=\"Embedded Image\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n"},{"acf_fc_layout":"content","content":"<p>For a complete list of new and existing properties, visit <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/arcpy\/sharing\/featuresharingdraft-class.htm\" target=\"_blank\" rel=\"noopener\">FeatureSharingDraft<\/a>, <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/arcpy\/sharing\/mapimagesharingdraft-class.htm\" target=\"_blank\" rel=\"noopener\">MapImageSharingDraft<\/a>, <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/arcpy\/sharing\/tilesharingdraft-class.htm\" target=\"_blank\" rel=\"noopener\">TileSharingDraft<\/a>, and <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/arcpy\/sharing\/mapservicedraft-class.htm\">MapServiceDraft<\/a> in the ArcGIS Pro help documentation. The sample codes found in the topics are updated to include some of the new properties. You can use the samples to create a script tool, allowing you to run it like any other geoprocessing tool in ModelBuilder models.<\/p>\n<p>The <code>arcpy.sharing<\/code> module in ArcGIS Pro 3.4 also includes <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/introducing-scenelayersharingdraft\/\" target=\"_blank\" rel=\"noopener\">a new class for web scene layers<\/a>. For more information, see <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/arcpy\/sharing\/scenelayersharingdraft-class.htm\" target=\"_blank\" rel=\"noopener\">SceneLayerSharingDraft<\/a>.<\/p>\n<p>For further information, visit the <a href=\"https:\/\/www.esri.com\/en-us\/arcgis\/products\/arcgis-pro\/overview\" target=\"_blank\" rel=\"noopener\">ArcGIS Pro page<\/a> or the <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/get-started\/whats-new-in-arcgis-pro.htm\" target=\"_blank\" rel=\"noopener\">What\u2019s New documentation<\/a> and post your questions in the <a href=\"https:\/\/community.esri.com\/t5\/arcgis-pro\/ct-p\/arcgis-pro\" target=\"_blank\" rel=\"noopener\">ArcGIS Pro board in Esri Community<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h6>Card image source: \u00a9 Soho A studio &#8211; stock.adobe.com<\/h6>\n"}],"related_articles":[{"ID":2578362,"post_author":"81122","post_date":"2024-11-13 13:30:04","post_date_gmt":"2024-11-13 21:30:04","post_content":"","post_title":"A new class in arcpy.sharing for web scene layers","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"introducing-scenelayersharingdraft","to_ping":"","pinged":"","post_modified":"2025-05-02 13:29:06","post_modified_gmt":"2025-05-02 20:29:06","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=2578362","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"2","filter":"raw"}],"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/11\/Properties_resized.jpg","wide_image":false},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Streamline your code with new properties in the arcpy.sharing classes<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Streamline your code with new properties in the arcpy.sharing classes\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-13T22:55:42+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing\"},\"author\":{\"name\":\"Jonah Lay\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/bba2fe6e956172be4b980c9ececf0777\"},\"headline\":\"Streamline your code with new properties in the arcpy.sharing classes\",\"datePublished\":\"2024-11-13T18:00:26+00:00\",\"dateModified\":\"2024-11-13T22:55:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing\"},\"wordCount\":11,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"ArcGIS Pro 3.4\",\"ArcPy\",\"python\",\"sharing\",\"web layers\"],\"articleSection\":[\"Mapping\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing\",\"name\":\"Streamline your code with new properties in the arcpy.sharing classes\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2024-11-13T18:00:26+00:00\",\"dateModified\":\"2024-11-13T22:55:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Streamline your code with new properties in the arcpy.sharing classes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/bba2fe6e956172be4b980c9ececf0777\",\"name\":\"Jonah Lay\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8e1fdf042a4590ab8de45caebdbeff398e41b06f59ce3504b8f08036538638e1?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8e1fdf042a4590ab8de45caebdbeff398e41b06f59ce3504b8f08036538638e1?s=96&d=blank&r=g\",\"caption\":\"Jonah Lay\"},\"description\":\"Jonah is a product engineer and writer on the ArcGIS Pro Sharing Team with a background in environmental science.\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/jlay\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Streamline your code with new properties in the arcpy.sharing classes","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing","og_locale":"en_US","og_type":"article","og_title":"Streamline your code with new properties in the arcpy.sharing classes","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2024-11-13T22:55:42+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing"},"author":{"name":"Jonah Lay","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/bba2fe6e956172be4b980c9ececf0777"},"headline":"Streamline your code with new properties in the arcpy.sharing classes","datePublished":"2024-11-13T18:00:26+00:00","dateModified":"2024-11-13T22:55:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing"},"wordCount":11,"commentCount":0,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["ArcGIS Pro 3.4","ArcPy","python","sharing","web layers"],"articleSection":["Mapping"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing","name":"Streamline your code with new properties in the arcpy.sharing classes","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2024-11-13T18:00:26+00:00","dateModified":"2024-11-13T22:55:42+00:00","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/mapping\/streamline-your-code-with-new-properties-in-arcpy-sharing#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Streamline your code with new properties in the arcpy.sharing classes"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/bba2fe6e956172be4b980c9ececf0777","name":"Jonah Lay","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8e1fdf042a4590ab8de45caebdbeff398e41b06f59ce3504b8f08036538638e1?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8e1fdf042a4590ab8de45caebdbeff398e41b06f59ce3504b8f08036538638e1?s=96&d=blank&r=g","caption":"Jonah Lay"},"description":"Jonah is a product engineer and writer on the ArcGIS Pro Sharing Team with a background in environmental science.","url":"https:\/\/www.esri.com\/arcgis-blog\/author\/jlay"}]}},"text_date":"November 13, 2024","author_name":"Jonah Lay","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/jlay","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/08\/Newsroom-Keyart-Wide-1920-x-1080.jpg","primary_product":"ArcGIS Pro","tag_data":[{"term_id":776862,"name":"ArcGIS Pro 3.4","slug":"arcgis-pro-3-4","term_group":0,"term_taxonomy_id":776862,"taxonomy":"post_tag","description":"","parent":0,"count":17,"filter":"raw"},{"term_id":31181,"name":"ArcPy","slug":"arcpy","term_group":0,"term_taxonomy_id":31181,"taxonomy":"post_tag","description":"","parent":0,"count":32,"filter":"raw"},{"term_id":24341,"name":"python","slug":"python","term_group":0,"term_taxonomy_id":24341,"taxonomy":"post_tag","description":"","parent":0,"count":171,"filter":"raw"},{"term_id":24801,"name":"sharing","slug":"sharing","term_group":0,"term_taxonomy_id":24801,"taxonomy":"post_tag","description":"","parent":0,"count":32,"filter":"raw"},{"term_id":393422,"name":"web layers","slug":"web-layers","term_group":0,"term_taxonomy_id":393422,"taxonomy":"post_tag","description":"","parent":0,"count":5,"filter":"raw"}],"category_data":[{"term_id":22941,"name":"Mapping","slug":"mapping","term_group":0,"term_taxonomy_id":22941,"taxonomy":"category","description":"","parent":0,"count":2698,"filter":"raw"}],"product_data":[{"term_id":36561,"name":"ArcGIS Pro","slug":"arcgis-pro","term_group":0,"term_taxonomy_id":36561,"taxonomy":"product","description":"","parent":0,"count":2045,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=arcgis-pro","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2561932","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/81122"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=2561932"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2561932\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=2561932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=2561932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=2561932"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=2561932"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=2561932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}