<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Branched Version Parcel Fabric Workflow in ArcGIS Parcel Fabric Questions</title>
    <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1210734#M798</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/337997"&gt;@DeanAnderson2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Future plans:&lt;/P&gt;&lt;P&gt;Ability to create a version in Tasks without having to select the version in the data source tab in the Contents pane. This would help to create a new version and switch to it using tasks.&lt;/P&gt;&lt;P&gt;We will also explore how you can enter a string once and use it to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a new version and switch to it&lt;/LI&gt;&lt;LI&gt;Create a new record.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;You are welcome to enter it as an idea&lt;/P&gt;&lt;P&gt;Amir&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2022 12:46:50 GMT</pubDate>
    <dc:creator>AmirBar-Maor</dc:creator>
    <dc:date>2022-09-08T12:46:50Z</dc:date>
    <item>
      <title>Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209118#M786</link>
      <description>&lt;P&gt;I am looking for some advice.&amp;nbsp; I am currently using ArcPro 2.9+ with a branched versioning and am setting up a new workflow.&amp;nbsp; As a first step in our workflow process I need to create a version with a record.&amp;nbsp; I prefer to do this all in one step so that I can programmatically control/manage both version and record info with one user interface.&amp;nbsp; Once a version is created I have found that I can programmatically create a record using the following code which creates a record in the Parcel Fabric records feature class (with no spatial component). Obviously, I will be adding more attributes but am using this as a basic test.&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------&lt;/P&gt;&lt;P&gt;thisProject = arcpy.mp.ArcGISProject("CURRENT")&lt;BR /&gt;Map = thisProject.activeMap&lt;BR /&gt;TargetFabric = Map.listLayers("TaxlotsPF")[0]&lt;BR /&gt;TargetRecord = Map.listLayers("Records")[0]&lt;/P&gt;&lt;P&gt;cursor = arcpy.da.InsertCursor(TargetRecord, ["Name"])&lt;/P&gt;&lt;P&gt;cursor.insertRow(["DeanTest111"])&lt;/P&gt;&lt;P&gt;----------------&lt;/P&gt;&lt;P&gt;I also found I can create a version using the "CreateVersion" tool.&amp;nbsp; Again, using the tool from a script is important as we want to manage both the version name and the record name following a set of rules and also ensure that improper characters are not used to name a version or a record.&amp;nbsp; I just took the following example from the user documentation but have used the tool successfully in a test environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;arcpy.CreateVersion_management(inWorkspace, parentVersion, versionName, &lt;/SPAN&gt;&lt;SPAN class=""&gt;"PUBLIC"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;The "Change Version" tool only seems to apply to specific layers.&amp;nbsp; &amp;nbsp;It does seem to work that I can assign my new record change to a specific version (yay). Can this tool apply to "ALL" layers in my current project?&amp;nbsp; (I will be trying this next - It should be pretty simple to loop through all layers in my current active map )&lt;/P&gt;&lt;P&gt;My question is:&amp;nbsp; Is this a good way to do this or are there better ways?&amp;nbsp; I have been testing a variety of tools, scripts, tasks etc. in a branched version environment for awhile.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again Our Goal - One user interface that helps the user create both&amp;nbsp; a new version with a new record&amp;nbsp; and changes the version and makes the new record active.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 13:28:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209118#M786</guid>
      <dc:creator>DeanAnderson2</dc:creator>
      <dc:date>2022-09-02T13:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209203#M787</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;One suggestion would be to use the ArcGIS API for Python (ArcGIS Python API). This API is designed to work with feature services and contains all the necessary components to work with branch versioned parcel fabrics.&lt;/P&gt;&lt;P&gt;I have written a few samples that show how to manage branch versioning, creating parcel records and other parcel fabric functionality.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/part1-parcel-fabric-an-introduction/" target="_blank"&gt;Part 1 - Introduction to Parcel Fabric layers | ArcGIS API for Python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/part2-branch-versioning-with-parcel-fabrics/" target="_blank"&gt;Part 2 - Branch Versioning with Parcel Fabric | ArcGIS API for Python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/guide/part3-create-a-parcel-record/" target="_blank"&gt;Part 3 - Create a New Parcel Record | ArcGIS API for Python&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In the "Part 3" example, you can see the new version is passed as an argument when creating a new record. All methods that insert, update or delete data from a feature layer have a parameter to pass in a branch version.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;edit_features(adds=[record_dict], gdb_version=&amp;lt;branch version name&amp;gt;)               &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ArcGIS Python API can be used with the ArcPy module and any other python packages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another suggestion, since it seems you are in a Pro map, would be to create an Add-In with the Pro SDK. This can help simplify setting the version and parcel record and persisting those throughout the map session.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Parcel-Fabric#record-driven-workflows-and-the-active-record" target="_blank"&gt;ProConcepts Parcel Fabric · Esri/arcgis-pro-sdk Wiki (github.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 16:10:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209203#M787</guid>
      <dc:creator>KenGalliher1</dc:creator>
      <dc:date>2022-09-02T16:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209229#M788</link>
      <description>&lt;P&gt;Thanks - this will get me started.&amp;nbsp; Was looking at SDK but was hoping I could make it happen with Python.&amp;nbsp; Will see how it goes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 16:45:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209229#M788</guid>
      <dc:creator>DeanAnderson2</dc:creator>
      <dc:date>2022-09-02T16:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209936#M789</link>
      <description>&lt;P&gt;Good examples - I seem to be missing something though (not surprising).&amp;nbsp; I will be running this form inside an ArcPro session so was glad to see that I can reference the gis class using pro.&amp;nbsp; However, it appears that I am doing something wrong.&amp;nbsp; I have used the following code in a python window and get the following error.&amp;nbsp; It appears that I do not have permission but it seems like I should (as referenced in the documentation).&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- Python Code ---&amp;nbsp;&lt;/P&gt;&lt;P&gt;base_server_url = "&lt;A href="https://gisportal.co.polk.or.us/server/rest/services/ParcelTest" target="_blank" rel="noopener"&gt;https://gisportal.co.polk.or.us/server/rest/services/ParcelTest&lt;/A&gt;"&lt;BR /&gt;gis = GIS("pro")&lt;/P&gt;&lt;P&gt;arcpy.AddMessage(gis.properties.user.username)&lt;/P&gt;&lt;P&gt;service_endpoints = ["FeatureServer", "VersionManagementServer"]&lt;BR /&gt;service_urls = {url: base_server_url + url for url in service_endpoints}&lt;BR /&gt;parcel_fabric_flc = FeatureLayerCollection(service_urls["FeatureServer"], gis)&lt;/P&gt;&lt;P&gt;------ Error Message ---------&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Pro\bin\Python\&lt;/SPAN&gt;&lt;SPAN&gt;envs\arcgispro-py3\Lib\site-&lt;/SPAN&gt;&lt;SPAN&gt;packages\arcgis\gis\__init__.&lt;/SPAN&gt;&lt;SPAN&gt;py", line 14205, in _hydrate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; self._refresh()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Pro\bin\Python\&lt;/SPAN&gt;&lt;SPAN&gt;envs\arcgispro-py3\Lib\site-&lt;/SPAN&gt;&lt;SPAN&gt;packages\arcgis\gis\__init__.&lt;/SPAN&gt;&lt;SPAN&gt;py", line 14164, in _refresh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; raise e&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Pro\bin\Python\&lt;/SPAN&gt;&lt;SPAN&gt;envs\arcgispro-py3\Lib\site-&lt;/SPAN&gt;&lt;SPAN&gt;packages\arcgis\gis\__init__.&lt;/SPAN&gt;&lt;SPAN&gt;py", line 14157, in _refresh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; dictdata = self._&lt;/SPAN&gt;&lt;A href="http://con.post/" target="_blank" rel="noopener"&gt;con.post&lt;/A&gt;&lt;SPAN&gt;(self.url, params, token=self._lazy_token)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Pro\bin\Python\&lt;/SPAN&gt;&lt;SPAN&gt;envs\arcgispro-py3\Lib\site-&lt;/SPAN&gt;&lt;SPAN&gt;packages\arcgis\gis\_impl\_&lt;/SPAN&gt;&lt;SPAN&gt;con\_connection.py", line 1079, in post&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; force_bytes=kwargs.pop("force_&lt;/SPAN&gt;&lt;SPAN&gt;bytes", False),&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Pro\bin\Python\&lt;/SPAN&gt;&lt;SPAN&gt;envs\arcgispro-py3\Lib\site-&lt;/SPAN&gt;&lt;SPAN&gt;packages\arcgis\gis\_impl\_&lt;/SPAN&gt;&lt;SPAN&gt;con\_connection.py", line 625, in _handle_response&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; self._handle_json_error(data["&lt;/SPAN&gt;&lt;SPAN&gt;error"], errorcode)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Program Files\ArcGIS\Pro\bin\Python\&lt;/SPAN&gt;&lt;SPAN&gt;envs\arcgispro-py3\Lib\site-&lt;/SPAN&gt;&lt;SPAN&gt;packages\arcgis\gis\_impl\_&lt;/SPAN&gt;&lt;SPAN&gt;con\_connection.py", line 648, in _handle_json_error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; raise Exception(errormessage)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception: User does not have permissions to access this folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Error Code: 403)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 15:58:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209936#M789</guid>
      <dc:creator>DeanAnderson2</dc:creator>
      <dc:date>2022-09-06T15:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209938#M790</link>
      <description>&lt;P&gt;Also - I did not include the printed user name but the correct user name is printed before the error is generated so I know that&amp;nbsp; "gis"&amp;nbsp; is being referenced correctly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 16:00:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209938#M790</guid>
      <dc:creator>DeanAnderson2</dc:creator>
      <dc:date>2022-09-06T16:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209952#M791</link>
      <description>&lt;P&gt;Hi Dean. I am seeing some issues using Pro's Python window as well. I'll continue to look into it.&lt;/P&gt;&lt;P&gt;In the meantime, can you try the same thing using a Pro Notebook? I am not getting any errors getting the fabric and version manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KenGalliher1_1-1662481325721.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50523i44BCD4BA75082EAE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KenGalliher1_1-1662481325721.png" alt="KenGalliher1_1-1662481325721.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 16:22:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209952#M791</guid>
      <dc:creator>KenGalliher1</dc:creator>
      <dc:date>2022-09-06T16:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209956#M792</link>
      <description>&lt;P&gt;I get the same error when I when I run the script from a tbx tool. (just shells out to the script).&amp;nbsp; I will look at notebook. Thanks for looking at this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 16:24:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209956#M792</guid>
      <dc:creator>DeanAnderson2</dc:creator>
      <dc:date>2022-09-06T16:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209961#M793</link>
      <description>&lt;P&gt;Not a "notebook" user and got similar error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Entered code...&amp;nbsp;&lt;/P&gt;&lt;P&gt;import arcpy, datetime, sys&lt;BR /&gt;from arcgis import GIS&lt;BR /&gt;from arcgis.features.layer import FeatureLayer&lt;BR /&gt;from arcgis.features.layer import FeatureLayerCollection&lt;/P&gt;&lt;P&gt;base_server_url = "&lt;A href="https://gisportal.co.polk.or.us/server/rest/services/ParcelTest" target="_blank" rel="noopener"&gt;https://gisportal.co.polk.or.us/server/rest/services/ParcelTest&lt;/A&gt;"&lt;BR /&gt;gis = GIS("pro")&lt;BR /&gt;print("url: " + base_server_url)&lt;BR /&gt;print("username:" + gis.properties.user.username)&lt;/P&gt;&lt;P&gt;service_endpoints = ["FeatureServer", "VersionManagementServer"]&lt;BR /&gt;service_urls = {url: base_server_url + url for url in service_endpoints}&lt;/P&gt;&lt;P&gt;parcel_fabric_flc = FeatureLayerCollection(service_urls["FeatureServer"], gis)&lt;/P&gt;&lt;P&gt;---- "run"&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;url: &lt;A href="https://gisportal.co.polk.or.us/server/rest/services/ParcelTest" target="_blank" rel="noopener"&gt;https://gisportal.co.polk.or.us/server/rest/services/ParcelTest&lt;/A&gt;
username:andersd&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN class=""&gt;Exception&lt;/SPAN&gt;                                 Traceback (most recent call last)
In  &lt;SPAN class=""&gt;[1]&lt;/SPAN&gt;:
Line &lt;SPAN class=""&gt;14&lt;/SPAN&gt;:    parcel_fabric_flc = FeatureLayerCollection(service_urls[&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;FeatureServer&lt;/SPAN&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt;], gis)

File &lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\features\layer.py&lt;/SPAN&gt;, in &lt;SPAN class=""&gt;__init__&lt;/SPAN&gt;:
Line &lt;SPAN class=""&gt;3732&lt;/SPAN&gt;:  &lt;SPAN class=""&gt;if&lt;/SPAN&gt; &lt;SPAN class=""&gt;self&lt;/SPAN&gt;.properties.syncEnabled:

File &lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\gis\__init__.py&lt;/SPAN&gt;, in &lt;SPAN class=""&gt;properties&lt;/SPAN&gt;:
Line &lt;SPAN class=""&gt;14176&lt;/SPAN&gt;: &lt;SPAN class=""&gt;self&lt;/SPAN&gt;._hydrate()

File &lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\gis\__init__.py&lt;/SPAN&gt;, in &lt;SPAN class=""&gt;_hydrate&lt;/SPAN&gt;:
Line &lt;SPAN class=""&gt;14228&lt;/SPAN&gt;: &lt;SPAN class=""&gt;self&lt;/SPAN&gt;._refresh()

File &lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\gis\__init__.py&lt;/SPAN&gt;, in &lt;SPAN class=""&gt;_refresh&lt;/SPAN&gt;:
Line &lt;SPAN class=""&gt;14162&lt;/SPAN&gt;: dictdata = &lt;SPAN class=""&gt;self&lt;/SPAN&gt;._con.get(&lt;SPAN class=""&gt;self&lt;/SPAN&gt;.url, params)

File &lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\gis\_impl\_con\_connection.py&lt;/SPAN&gt;, in &lt;SPAN class=""&gt;get&lt;/SPAN&gt;:
Line &lt;SPAN class=""&gt;506&lt;/SPAN&gt;:   ignore_error_key=ignore_error_key,

File &lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\gis\_impl\_con\_connection.py&lt;/SPAN&gt;, in &lt;SPAN class=""&gt;_handle_response&lt;/SPAN&gt;:
Line &lt;SPAN class=""&gt;625&lt;/SPAN&gt;:   &lt;SPAN class=""&gt;self&lt;/SPAN&gt;._handle_json_error(data[&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;error&lt;/SPAN&gt;&lt;SPAN class=""&gt;"&lt;/SPAN&gt;], errorcode)

File &lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\arcgis\gis\_impl\_con\_connection.py&lt;/SPAN&gt;, in &lt;SPAN class=""&gt;_handle_json_error&lt;/SPAN&gt;:
Line &lt;SPAN class=""&gt;648&lt;/SPAN&gt;:   &lt;SPAN class=""&gt;raise&lt;/SPAN&gt; &lt;SPAN class=""&gt;Exception&lt;/SPAN&gt;(errormessage)

&lt;SPAN class=""&gt;Exception&lt;/SPAN&gt;: User does not have permissions to access this folder.
(Error Code: 403)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 16:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1209961#M793</guid>
      <dc:creator>DeanAnderson2</dc:creator>
      <dc:date>2022-09-06T16:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1210308#M795</link>
      <description>&lt;P&gt;Ken&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its a new day&amp;nbsp; / I started over from your example - First test worked - Both in a python window&amp;nbsp; and from a tool/script. Code and results running the tool/script are:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code -----------&lt;/P&gt;&lt;P&gt;import arcpy, datetime, sys&lt;/P&gt;&lt;P&gt;from arcgis import GIS&lt;BR /&gt;from arcgis.features import _version&lt;/P&gt;&lt;P&gt;base_server_url = "&lt;A href="https://gisportal.co.polk.or.us/server/rest/services/ParcelTest" target="_blank"&gt;https://gisportal.co.polk.or.us/server/rest/services/ParcelTest&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;gis =GIS("pro")&lt;BR /&gt;arcpy.AddMessage("username:" + gis.properties.user.username)&lt;/P&gt;&lt;P&gt;from arcgis.features._version import VersionManager&lt;/P&gt;&lt;P&gt;version_management_server_url = f"{base_server_url}/VersionManagementServer"&lt;BR /&gt;vms = VersionManager(version_management_server_url, gis)&lt;BR /&gt;arcpy.AddMessage(vms.properties)&lt;/P&gt;&lt;P&gt;---- Result Messages ----&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Start Time: Wednesday, September 7, 2022 6:02:57 AM&lt;/DIV&gt;&lt;PRE&gt;username:andersd&lt;/PRE&gt;&lt;PRE&gt;{
  "name": "Version Management Server",
  "type": "Map Server Extension",
  "defaultVersionName": "sde.DEFAULT",
  "defaultVersionGuid": "{BD3F4817-9A00-41AC-B0CC-58F78DBAE0A1}",
  "capabilities": {
    "supportsConflictDetectionByAttribute": true,
    "supportsPartialPost": true,
    "supportsDifferencesFromMoment": true,
    "supportsDifferencesWithLayers": true,
    "supportsAsyncReconcile": true,
    "supportsAsyncPost": true,
    "supportsAsyncDifferences": true
  }
}&lt;/PRE&gt;&lt;DIV&gt;Succeeded at Wednesday, September 7, 2022 6:02:57 AM (Elapsed Time: 0.30 seconds)&lt;/DIV&gt;&lt;P&gt;----------------------------------------&lt;/P&gt;&lt;P&gt;I will keep testing - thanks again for looking into this.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 13:05:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1210308#M795</guid>
      <dc:creator>DeanAnderson2</dc:creator>
      <dc:date>2022-09-07T13:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1210448#M796</link>
      <description>&lt;P&gt;Ken&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I have figured it out.&amp;nbsp; IN our example for Part 2 - Branched Versioning for Parcel Fabric when you reference the Service_urls it appears that you may be missing a "/".&amp;nbsp; The example is as follows:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DeanAnderson2_0-1662569528490.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50653i227C828F29F903C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DeanAnderson2_0-1662569528490.png" alt="DeanAnderson2_0-1662569528490.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I got it to work by changing the service_urls to be the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;service_urls = {url: base_server_url &lt;STRONG&gt;+ "/" +&lt;/STRONG&gt; url for url in service_endpoints}&lt;/P&gt;&lt;P&gt;I no longer get the permissions error I was getting and will continue to proceed.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 16:53:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1210448#M796</guid>
      <dc:creator>DeanAnderson2</dc:creator>
      <dc:date>2022-09-07T16:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1210474#M797</link>
      <description>&lt;P&gt;I'm glad it's working!&lt;/P&gt;&lt;P&gt;And yes, you will have to watch out for that extra slash when building up URLs. I'm not sure if there's a more efficient way to get them.&lt;/P&gt;&lt;P&gt;Although it's hard to see in the Python API sample, the trailing slash is in the &lt;EM&gt;base_server_url &lt;/EM&gt;variable.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KenGalliher1_0-1662573499906.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50657i3906B1BC3C826F20/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KenGalliher1_0-1662573499906.png" alt="KenGalliher1_0-1662573499906.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 17:59:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1210474#M797</guid>
      <dc:creator>KenGalliher1</dc:creator>
      <dc:date>2022-09-07T17:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1210734#M798</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/337997"&gt;@DeanAnderson2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Future plans:&lt;/P&gt;&lt;P&gt;Ability to create a version in Tasks without having to select the version in the data source tab in the Contents pane. This would help to create a new version and switch to it using tasks.&lt;/P&gt;&lt;P&gt;We will also explore how you can enter a string once and use it to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a new version and switch to it&lt;/LI&gt;&lt;LI&gt;Create a new record.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;You are welcome to enter it as an idea&lt;/P&gt;&lt;P&gt;Amir&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 12:46:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1210734#M798</guid>
      <dc:creator>AmirBar-Maor</dc:creator>
      <dc:date>2022-09-08T12:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1210950#M800</link>
      <description>&lt;P&gt;Not sure if these are addressed but having the ability to:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Use Python to select and set&amp;nbsp; the active record (rather then relying a task or sdk)&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Use Python to change a version (without selecting a layer).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would be great!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently we are planning on having a close relationship between a version and a record.&amp;nbsp; Every record should have a version. (but a version could contain none, one or&amp;nbsp; more then one fabric record - especially if you have to remap an area).&amp;nbsp; So I have a tool that prompts for fabric record and version info (see attached python script).&amp;nbsp; However, I am doing something wrong, in that even though I delete the version if it exists the script bombs when creating the record second time and gives me an error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DeanAnderson2_0-1662670729476.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50770iB2449433126678BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DeanAnderson2_0-1662670729476.png" alt="DeanAnderson2_0-1662670729476.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is not a big deal as I intend to have the tool stop if the version already exists.&amp;nbsp; But did run into this when testing.&amp;nbsp; See attached python script (shared as a txt file).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 21:05:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1210950#M800</guid>
      <dc:creator>DeanAnderson2</dc:creator>
      <dc:date>2022-09-08T21:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1211055#M801</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/337997"&gt;@DeanAnderson2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have plenty of great ideas.&lt;/P&gt;&lt;P&gt;It would be great if you can enter them: one idea in the parcel fabric community for setting the Active Record using python for a given map. Another idea in ArcGIS Pro Geodatabase for being able to change the version of a map.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 07:35:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1211055#M801</guid>
      <dc:creator>AmirBar-Maor</dc:creator>
      <dc:date>2022-09-09T07:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1211312#M802</link>
      <description>&lt;P&gt;will do&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 22:36:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1211312#M802</guid>
      <dc:creator>DeanAnderson2</dc:creator>
      <dc:date>2022-09-09T22:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Branched Version Parcel Fabric Workflow</title>
      <link>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1215678#M812</link>
      <description>&lt;P&gt;Ken&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the changeversion tool as a script does not seem to work in 2.94.&amp;nbsp; I finally broke it down into a small python script for a single feature class.&amp;nbsp; It works within a python window so I assume it work also work in notbook.&amp;nbsp; It does not work as a script a call from the tool.&amp;nbsp; The tool (within toolbox) just runs the external script with no arguments as follows:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summary of error:&amp;nbsp; In the following I have a map named "t104_4_test1"&amp;nbsp; it currently references "Default" .&amp;nbsp; I want to change ALL layers from default to a new version "andersd.t104_4_test1" I just created (The create version works great and my process to create a new map with the version name also works).&amp;nbsp; Also - my layer 'Anno0400Scale' visibility is turned off. Here is the code...&lt;/P&gt;&lt;DIV&gt;------------------------------&lt;BR /&gt;&lt;DIV&gt;import arcpy, datetime, sys&lt;BR /&gt;&lt;BR /&gt;Map = "t104_4_test1"&lt;BR /&gt;Version = "andersd.t104_4_test1"&lt;BR /&gt;&lt;BR /&gt;thisProject = arcpy.mp.ArcGISProject("CURRENT")&lt;BR /&gt;map = thisProject.listMaps("LocatorMap")[0]&lt;BR /&gt;LayerToChange = map.listLayers('Anno0400Scale')[0]&lt;BR /&gt;arcpy.management.ChangeVersion(LayerToChange, 'BRANCH', Version,"","")&lt;BR /&gt;LayerToChange.visible = True&lt;/DIV&gt;&lt;DIV&gt;------------------------------------------&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV&gt;When I run this code in ArcPro in a PYTHON window it works fine.&amp;nbsp; When I run this code in a script the visibility of my layer changes so I know the layer and map are being referenced correctly but the layer version is NOT changed.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am hopeful that this will work in a 3.0 environment but we are still setting that up as a test environment.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Sep 2022 18:46:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-parcel-fabric-questions/branched-version-parcel-fabric-workflow/m-p/1215678#M812</guid>
      <dc:creator>DeanAnderson2</dc:creator>
      <dc:date>2022-09-23T18:46:51Z</dc:date>
    </item>
  </channel>
</rss>

