This repository has been archived by the owner on Mar 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 154
Having trouble updating a vector tile package and associated tile layer in AGOL #300
Comments
Is there anyone out there that can point me in the right direction? |
When troubleshooting a process, I use fiddler to watch the traffic and do the task manually, then compare that to what ArcRest is doing and find the difference. Could you provide us what is different so we can isolate the issue? |
@MikeMillerGIS: Sure, I can do that. So are you inferring that my approach in my code is correct and that it should be working? |
It appears to be, what is the res message from update item? |
{
"item": {
"itemType": "file",
"culture": "en-us",
"owner": "u0281276",
"guid": "E54D5F2F-F199-4FFD-B182-41D8EB3DD6A7",
"screenshots": [],
"id": "cde49aec1411473e9bb8b9af07e0dd21",
"size": 3343703,
"appCategories": [],
"access": "private",
"avgRating": 0,
"title": "Parcels Test",
"numRatings": 0,
"numComments": 0,
"snippet": "Layers",
"listed": false,
"largeThumbnail": null,
"itemControl": "admin",
"type": "Vector Tile Package",
"thumbnail": "thumbnail/thumbnail.png",
"uploaded": 1475253247000,
"industries": [],
"numViews": 0,
"description": "<DIV STYLE=\"text-align:Left;font-size:12pt\"><P><SPAN>Concatenation of parcels data from all 29 counties within the state of Utah.</SPAN></P></DIV>",
"tags": ["keyword", "Data", "Vector Tile Package", "vtpk"],
"typeKeywords": ["ArcGIS Pro", "Data", "Vector Tile Package", "vtpk"],
"extent": [
[-116.699604119079, 36.6922467095846],
[-106.476088094695, 42.2818695075224]
],
"banner": null,
"properties": null,
"name": "ParcelsTest",
"licenseInfo": null,
"languages": [],
"url": null,
"lastModified": -1,
"documentation": null,
"modified": 1476811229000,
"spatialReference": "WGS_1984_Web_Mercator_Auxiliary_Sphere",
"item": "ParcelsTest.vtpk",
"protected": false,
"ownerFolder": null,
"accessInformation": null
},
"sharing": {
"access": "private",
"groups": []
}
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ArcRest or ArcRestHelper
arcrest
Version or date of download
3.5.6
Bug (likely in my code)
When trying to publish an update to an existing service I get the following error message:
Details
My goal is to write a script that can update a vector tile package item and its associated tile layer in AGOL.
I think that I've got the updating of the tile package item working using
item.updateItem
but I'm having trouble updating the tile layer. I'm currently attempting to useuser.publishItem
. Here's my simple script:Can anyone help me know what I'm doing wrong?
Thanks in advance.
The text was updated successfully, but these errors were encountered: