Skip to content

Commit c48a29f

Browse files
committed
Update enterprise and version names
1 parent d07a0e0 commit c48a29f

File tree

5 files changed

+188
-152
lines changed

5 files changed

+188
-152
lines changed

guide/04-feature-data-and-analysis/part1_parcel_fabric_an_introduction.ipynb

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
{
6262
"cell_type": "code",
63-
"execution_count": 8,
63+
"execution_count": 3,
6464
"metadata": {},
6565
"outputs": [
6666
{
@@ -73,24 +73,24 @@
7373
{
7474
"data": {
7575
"text/plain": [
76-
"['https://krennic.esri.com/server/rest/services/WashingtonCountyLSA/FeatureServer',\n",
77-
" 'https://krennic.esri.com/server/rest/services/WashingtonCountyLSA/ParcelFabricServer',\n",
78-
" 'https://krennic.esri.com/server/rest/services/WashingtonCountyLSA/VersionManagementServer']"
76+
"['https://rextapilnx02eb.esri.com/server/rest/services/WashingtonCounty/FeatureServer',\n",
77+
" 'https://rextapilnx02eb.esri.com/server/rest/services/WashingtonCounty/ParcelFabricServer',\n",
78+
" 'https://rextapilnx02eb.esri.com/server/rest/services/WashingtonCounty/VersionManagementServer']"
7979
]
8080
},
81-
"execution_count": 8,
81+
"execution_count": 3,
8282
"metadata": {},
8383
"output_type": "execute_result"
8484
}
8585
],
8686
"source": [
8787
"base_server_url = (\n",
88-
" \"https://myserver.domain.com/web_adaptor/rest/services/WashingtonCountyLSA/\"\n",
88+
" \"https://rextapilnx02eb.esri.com/server/rest/services/WashingtonCounty/\"\n",
8989
")\n",
9090
"gis = GIS(\n",
91-
" \"https://myserver.domain.com/web_adaptor/\",\n",
92-
" \"username\",\n",
93-
" \"pass.word\",\n",
91+
" \"https://rextapilnx02eb.esri.com/portal/\",\n",
92+
" \"creator2\",\n",
93+
" \"portalaccount1\",\n",
9494
" verify_cert=False,\n",
9595
")\n",
9696
"\n",
@@ -112,16 +112,16 @@
112112
},
113113
{
114114
"cell_type": "code",
115-
"execution_count": 9,
115+
"execution_count": 4,
116116
"metadata": {},
117117
"outputs": [
118118
{
119119
"data": {
120120
"text/plain": [
121-
"'Query,Create,Update,Delete,Uploads,Editing,Sync,Extract,ChangeTracking'"
121+
"'Query,Create,Update,Delete,Uploads,Editing,Sync,ChangeTracking'"
122122
]
123123
},
124-
"execution_count": 9,
124+
"execution_count": 4,
125125
"metadata": {},
126126
"output_type": "execute_result"
127127
}
@@ -153,17 +153,20 @@
153153
" 'Layer ID: 6 - Name: Polygon Errors',\n",
154154
" 'Layer ID: 7 - Name: Points',\n",
155155
" 'Layer ID: 8 - Name: Connection Lines',\n",
156-
" 'Layer ID: 10 - Name: Adjustment Points',\n",
157-
" 'Layer ID: 11 - Name: Adjustment Lines',\n",
158-
" 'Layer ID: 12 - Name: Adjustment Vectors',\n",
156+
" 'Layer ID: 10 - Name: AdjustmentPoints',\n",
157+
" 'Layer ID: 11 - Name: AdjustmentLines',\n",
158+
" 'Layer ID: 12 - Name: AdjustmentVectors',\n",
159159
" 'Layer ID: 14 - Name: Tax_PF_Lines',\n",
160160
" 'Layer ID: 15 - Name: Tax_PF',\n",
161161
" 'Layer ID: 17 - Name: ConveyanceDivision_PF_Lines',\n",
162162
" 'Layer ID: 18 - Name: ConveyanceDivision_PF',\n",
163163
" 'Layer ID: 20 - Name: Block_PF_Lines',\n",
164164
" 'Layer ID: 21 - Name: Block_PF',\n",
165165
" 'Layer ID: 23 - Name: SimultaneousConveyance_PF_Lines',\n",
166-
" 'Layer ID: 24 - Name: SimultaneousConveyance_PF']"
166+
" 'Layer ID: 24 - Name: SimultaneousConveyance_PF',\n",
167+
" 'Layer ID: 25 - Name: Validation Point Errors',\n",
168+
" 'Layer ID: 26 - Name: Validation Line Errors',\n",
169+
" 'Layer ID: 27 - Name: Validation Polygon Errors']"
167170
]
168171
},
169172
"execution_count": 5,
@@ -192,7 +195,7 @@
192195
},
193196
{
194197
"cell_type": "code",
195-
"execution_count": 11,
198+
"execution_count": 6,
196199
"metadata": {},
197200
"outputs": [
198201
{
@@ -205,7 +208,7 @@
205208
"}"
206209
]
207210
},
208-
"execution_count": 11,
211+
"execution_count": 6,
209212
"metadata": {},
210213
"output_type": "execute_result"
211214
}
@@ -233,7 +236,7 @@
233236
},
234237
{
235238
"cell_type": "code",
236-
"execution_count": 12,
239+
"execution_count": 7,
237240
"metadata": {},
238241
"outputs": [
239242
{
@@ -255,11 +258,12 @@
255258
" 'properties',\n",
256259
" 'reassign_features_to_record',\n",
257260
" 'reconstruct_from_seeds',\n",
261+
" 'set_line_label_position',\n",
258262
" 'transfer_parcel',\n",
259263
" 'update_history']"
260264
]
261265
},
262-
"execution_count": 12,
266+
"execution_count": 7,
263267
"metadata": {},
264268
"output_type": "execute_result"
265269
}
@@ -300,7 +304,7 @@
300304
"name": "python",
301305
"nbconvert_exporter": "python",
302306
"pygments_lexer": "ipython3",
303-
"version": "3.9.11"
307+
"version": "3.9.16"
304308
},
305309
"toc": {
306310
"base_numbering": 1,

guide/04-feature-data-and-analysis/part2_branch_versioning_with_parcel_fabrics.ipynb

Lines changed: 38 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "code",
53-
"execution_count": 2,
53+
"execution_count": 1,
5454
"id": "3b5328c1",
5555
"metadata": {},
5656
"outputs": [],
@@ -61,7 +61,7 @@
6161
},
6262
{
6363
"cell_type": "code",
64-
"execution_count": 3,
64+
"execution_count": 2,
6565
"id": "abdf9cc2",
6666
"metadata": {},
6767
"outputs": [
@@ -75,12 +75,12 @@
7575
],
7676
"source": [
7777
"base_server_url = (\n",
78-
" \"https://myserver.domain.com/web_adaptor/rest/services/WashingtonCountyLSA/\"\n",
78+
" \"https://rextapilnx02eb.esri.com/server/rest/services/WashingtonCounty/\"\n",
7979
")\n",
8080
"gis = GIS(\n",
81-
" \"https://myserver.domain.com/web_adaptor/\",\n",
82-
" \"username\",\n",
83-
" \"pass.word\",\n",
81+
" \"https://rextapilnx02eb.esri.com/portal/\",\n",
82+
" \"creator2\",\n",
83+
" \"portalaccount1\",\n",
8484
" verify_cert=False,\n",
8585
")"
8686
]
@@ -95,7 +95,7 @@
9595
},
9696
{
9797
"cell_type": "code",
98-
"execution_count": 12,
98+
"execution_count": 3,
9999
"id": "bf7b899c",
100100
"metadata": {},
101101
"outputs": [
@@ -114,12 +114,13 @@
114114
" \"supportsDifferencesWithLayers\": true,\n",
115115
" \"supportsAsyncReconcile\": true,\n",
116116
" \"supportsAsyncPost\": true,\n",
117-
" \"supportsAsyncDifferences\": true\n",
117+
" \"supportsAsyncDifferences\": true,\n",
118+
" \"supportsOutSR\": true\n",
118119
" }\n",
119120
"}"
120121
]
121122
},
122-
"execution_count": 12,
123+
"execution_count": 3,
123124
"metadata": {},
124125
"output_type": "execute_result"
125126
}
@@ -142,19 +143,18 @@
142143
},
143144
{
144145
"cell_type": "code",
145-
"execution_count": 13,
146+
"execution_count": 6,
146147
"id": "31fcaff3",
147148
"metadata": {},
148149
"outputs": [
149150
{
150151
"data": {
151152
"text/plain": [
152153
"[<Version sde.DEFAULT @ {BD3F4817-9A00-41AC-B0CC-58F78DBAE0A1}>,\n",
153-
" <Version ADMIN.subdivision_a155544 @ {E3A066CE-F4BA-4BE1-8C6E-83C0707EAEDD}>,\n",
154-
" <Version ADMIN.combine_plat_1555467 @ {0CCEE2A6-7AD0-4D2B-AC57-62C1CAFD53D0}>]"
154+
" <Version creator2.fabric_editor_1 @ {FA997604-DBC5-4EF1-A23D-DCD25E7D2537}>]"
155155
]
156156
},
157-
"execution_count": 13,
157+
"execution_count": 6,
158158
"metadata": {},
159159
"output_type": "execute_result"
160160
}
@@ -174,28 +174,28 @@
174174
},
175175
{
176176
"cell_type": "code",
177-
"execution_count": 14,
177+
"execution_count": 5,
178178
"id": "c0933203",
179179
"metadata": {},
180180
"outputs": [
181181
{
182182
"data": {
183183
"text/plain": [
184-
"{'versionInfo': {'versionName': 'ADMIN.fabric_editor_1',\n",
185-
" 'versionGuid': '{1277D15C-1957-4F0C-A73F-E4F4A3D46363}',\n",
186-
" 'versionId': 12506,\n",
184+
"{'versionInfo': {'versionName': 'creator2.fabric_editor_1',\n",
185+
" 'versionGuid': '{FA997604-DBC5-4EF1-A23D-DCD25E7D2537}',\n",
186+
" 'versionId': 1,\n",
187187
" 'description': '',\n",
188-
" 'creationDate': 1665678713463,\n",
189-
" 'modifiedDate': 1665678713463,\n",
188+
" 'creationDate': 1685556072802,\n",
189+
" 'modifiedDate': 1685556072802,\n",
190190
" 'reconcileDate': None,\n",
191191
" 'evaluationDate': None,\n",
192192
" 'previousAncestorDate': None,\n",
193-
" 'commonAncestorDate': 1665678713463,\n",
193+
" 'commonAncestorDate': 1685556072802,\n",
194194
" 'access': 'public'},\n",
195195
" 'success': True}"
196196
]
197197
},
198-
"execution_count": 14,
198+
"execution_count": 5,
199199
"metadata": {},
200200
"output_type": "execute_result"
201201
}
@@ -219,20 +219,17 @@
219219
},
220220
{
221221
"cell_type": "code",
222-
"execution_count": 15,
222+
"execution_count": 7,
223223
"id": "e77b0221",
224224
"metadata": {},
225225
"outputs": [
226226
{
227227
"data": {
228228
"text/plain": [
229-
"['sde.DEFAULT',\n",
230-
" 'ADMIN.subdivision_a155544',\n",
231-
" 'ADMIN.combine_plat_1555467',\n",
232-
" 'ADMIN.fabric_editor_1']"
229+
"['sde.DEFAULT', 'creator2.fabric_editor_1']"
233230
]
234231
},
235-
"execution_count": 15,
232+
"execution_count": 7,
236233
"metadata": {},
237234
"output_type": "execute_result"
238235
}
@@ -262,7 +259,7 @@
262259
},
263260
{
264261
"cell_type": "code",
265-
"execution_count": 16,
262+
"execution_count": 9,
266263
"id": "1996f509",
267264
"metadata": {},
268265
"outputs": [
@@ -276,7 +273,7 @@
276273
"}"
277274
]
278275
},
279-
"execution_count": 16,
276+
"execution_count": 9,
280277
"metadata": {},
281278
"output_type": "execute_result"
282279
}
@@ -288,7 +285,7 @@
288285
"\n",
289286
"# start a 'read' session to acquire a shared lock and\n",
290287
"# get a branch version by its name\n",
291-
"with vms.get(\"ADMIN.fabric_editor_1\", \"read\") as version:\n",
288+
"with vms.get(\"creator2.fabric_editor_1\", \"read\") as version:\n",
292289
" parcel_fabric_manager = _parcel.ParcelFabricManager(\n",
293290
" parcel_fabric_manager_url, gis, version, parcel_fabric_flc\n",
294291
" )\n",
@@ -311,23 +308,24 @@
311308
},
312309
{
313310
"cell_type": "code",
314-
"execution_count": 17,
311+
"execution_count": 13,
315312
"id": "d72d539a",
316313
"metadata": {},
317314
"outputs": [
318315
{
319-
"data": {
320-
"text/plain": [
321-
"True"
322-
]
323-
},
324-
"execution_count": 17,
325-
"metadata": {},
326-
"output_type": "execute_result"
316+
"ename": "AttributeError",
317+
"evalue": "'NoneType' object has no attribute 'delete'",
318+
"output_type": "error",
319+
"traceback": [
320+
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
321+
"\u001b[1;31mAttributeError\u001b[0m Traceback (most recent call last)",
322+
"\u001b[1;32m~\\AppData\\Local\\Temp\\1\\ipykernel_23396\\1638366743.py\u001b[0m in \u001b[0;36m<cell line: 6>\u001b[1;34m()\u001b[0m\n\u001b[0;32m 4\u001b[0m \u001b[1;31m# version.post\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 5\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m----> 6\u001b[1;33m \u001b[0mversion\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mdelete\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
323+
"\u001b[1;31mAttributeError\u001b[0m: 'NoneType' object has no attribute 'delete'"
324+
]
327325
}
328326
],
329327
"source": [
330-
"version = vms.get(f\"admin.{new_version_name}\")\n",
328+
"version = vms.get(f\"creator2.{new_version_name}\")\n",
331329
"\n",
332330
"# version.reconcile()\n",
333331
"# version.post\n",

0 commit comments

Comments
 (0)