MCPcopy Create free account

hub / github.com/Esri/ago-tools / functions

Functions99 in github.com/Esri/ago-tools

↓ 21 callersFunctiongetResultValue
(s)
samples/AGOLCat.py:48
↓ 21 callersFunctiongetResultValue
(s)
samples/findItemsContainingUrl.py:45
↓ 11 callersMethod__portalId__
Gets the ID for the organization/portal.
agoTools/__init__.py:33
↓ 5 callersMethodAGOLCatalog
Return all items from all users in a portal, optionally matching a specified query. optionally make the additional requests f
agoTools/admin.py:1107
↓ 5 callersFunction_raw_input
(prompt=None, stream=None, input=None)
samples/populateBookmarks.py:46
↓ 5 callersFunction_raw_input
(prompt=None, stream=None, input=None)
samples/findItemsContainingUrl.py:12
↓ 5 callersMethodgetRoles
Returns a list of roles defined in the organization. This is helpful for custom roles because the User's role property simply returns
agoTools/admin.py:47
↓ 4 callersFunction_raw_input
(prompt=None, stream=None, input=None)
samples/flagAttachments.py:12
↓ 4 callersFunction_raw_input
(prompt=None, stream=None, input=None)
samples/shareItems.py:9
↓ 4 callersFunction_raw_input
(prompt=None, stream=None, input=None)
samples/registerItems.py:19
↓ 4 callersMethodgetFolderID
Return the ID of the folder with the given name.
agoTools/admin.py:672
↓ 4 callersFunctiongetResultValueWithQuotes
(s)
samples/AGOLCat.py:35
↓ 4 callersFunctiongetResultValueWithQuotes
(s)
samples/findItemsContainingUrl.py:32
↓ 3 callersMethodAGOLUserCatalog
Return the catalog of CURRENT USER's items from portal, optionally from only a folder.
agoTools/admin.py:1100
↓ 3 callersMethod__safeValue__
(self, inVal)
agoTools/utilities.py:272
↓ 3 callersMethod__safeValue__
(self, inVal)
agoTools/admin.py:814
↓ 3 callersFunction_raw_input
(prompt=None, stream=None, input=None)
samples/clearGroup.py:11
↓ 3 callersFunction_raw_input
(prompt=None, stream=None, input=None)
samples/clearFolder.py:10
↓ 3 callersFunction_raw_input
(prompt=None, stream=None, input=None)
samples/AGOLCat.py:15
↓ 3 callersFunction_raw_input
(prompt=None, stream=None, input=None)
samples/updateUserRoles.py:13
↓ 3 callersFunction_raw_input
(prompt=None, stream=None, input=None)
samples/deleteItems.py:14
↓ 3 callersFunction_raw_input
(prompt=None, stream=None, input=None)
samples/updateServiceItemsThumbnail.py:13
↓ 3 callersMethodaddUser2ToAllUser1Groups
REQUIRES ADMIN ACCESS Adds userTo/User2 to all groups that userFrom/User1 is a member
agoTools/admin.py:333
↓ 3 callersMethodaddUsersToGroups
REQUIRES ADMIN ACCESS Add organization users to multiple groups and return a list of the status
agoTools/admin.py:188
↓ 3 callersMethodgetLayerURL
(self, layerId)
agoTools/admin.py:992
↓ 3 callersMethodgetUsers
Returns a list of all users in the organization (requires admin access). Optionally provide a list of roles to filter the results (e.
agoTools/admin.py:99
↓ 3 callersMethodreassignAllGroupOwnership
REQUIRES ADMIN ACCESS Reassigns ownership of all groups between a pair of accounts.
agoTools/admin.py:298
↓ 3 callersMethodreassignAllUser1ItemsToUser2
REQUIRES ADMIN ACCESS Transfers ownership of all items in userFrom/User1's account to userTo/User2's account, keeping same folder nam
agoTools/admin.py:232
↓ 2 callersMethod__groups__
(self,start=0)
agoTools/admin.py:37
↓ 2 callersMethod__roles__
(self,start=0)
agoTools/admin.py:28
↓ 2 callersFunction__search__
Retrieve a single page of search results.
agoTools/utilities.py:36
↓ 2 callersMethod__users__
Retrieve a single page of users.
agoTools/admin.py:18
↓ 2 callersMethod_getCatalogQuery
Format a content query from specified start and number of records.
agoTools/admin.py:1221
↓ 2 callersMethod_getOrgID
Return the organization's ID.
agoTools/admin.py:1211
↓ 2 callersMethod_getSize
Issue query for item size.
agoTools/admin.py:1190
↓ 2 callersMethodcreateBookmarksFromLayer
(self, url,labelfield)
agoTools/admin.py:925
↓ 2 callersMethodcreateGroup
Creates a new group
agoTools/admin.py:139
↓ 2 callersMethodcreateUser
Creates a new user WITHOUT sending an invitation
agoTools/admin.py:161
↓ 2 callersMethodreassignGroupOwnership
(self,groupId,userTo)
agoTools/admin.py:284
↓ 2 callersMethodto_JSON2
(self)
agoTools/admin.py:1319
↓ 2 callersMethodupdateItemUrl
Use this to update the URL for items such as Map Services. The oldUrl parameter is required as a check to ensure you are not
agoTools/utilities.py:107
↓ 2 callersMethodupdateWebmapService
(self, webmapId, oldUrl, newUrl, folderID=None)
agoTools/utilities.py:58
↓ 1 callersMethodAGOLGroupCatalog
Return the catalog of items in desiginated group.
agoTools/admin.py:755
↓ 1 callersMethod__decode_list__
(self, lst)
agoTools/utilities.py:280
↓ 1 callersMethod__decode_list__
(self, lst)
agoTools/admin.py:822
↓ 1 callersMethod__getToken__
Retrieves a token to be used with future requests.
agoTools/__init__.py:21
↓ 1 callersMethod_getUserFolders
Return all folder objects.
agoTools/admin.py:684
↓ 1 callersMethodaddBookmarksToWebMap
update the designated webmap with the list of bookmark objects
agoTools/admin.py:839
↓ 1 callersMethodcalculateAttachmentCount
(self,layerURL, flagField)
agoTools/admin.py:442
↓ 1 callersMethodclearFolder
Delete all content from the specified folder. CAUTION
agoTools/admin.py:730
↓ 1 callersMethodclearGroup
Unshare all content from the specified group. CAUTION
agoTools/admin.py:707
↓ 1 callersMethoddeleteItems
(self, items)
agoTools/admin.py:553
↓ 1 callersMethodfindGroup
Gets a group object by its title.
agoTools/admin.py:75
↓ 1 callersMethodfindItemUrl
Use this to find the URL for items such as Map Services. This can also find part of a URL. The text of oldUrl is replaced with the te
agoTools/admin.py:785
↓ 1 callersMethodfindItemsWithURLs
(self, oldUrl,folder)
agoTools/admin.py:1060
↓ 1 callersMethodfindWebmapService
(self, webmapId, oldUrl, folderID=None)
agoTools/admin.py:763
↓ 1 callersMethodgetUserFolders
Returns all folders (list of dictionaries) for an AGOL user. userName -- The user who owns the folder. If not specified, the user ini
agoTools/utilities.py:214
↓ 1 callersMethodgetUserGroups
Returns all groups for the specified user.
agoTools/utilities.py:226
↓ 1 callersMethodgetUsersInGroup
Returns a list of users in a group
agoTools/admin.py:89
↓ 1 callersMethodmigrateAccount
REQUIRES ADMIN ACCESS Reassigns ownership of all content items and groups from userFrom to userTo. Also adds userTo to all gr
agoTools/admin.py:368
↓ 1 callersMethodreadBookmarksFromFeatureClass
(self,path,labelfield)
agoTools/admin.py:903
↓ 1 callersMethodreadBookmarksFromFeatureCollection
(self,fcId,labelfield)
agoTools/admin.py:1014
↓ 1 callersMethodreadBookmarksFromFile
(self,inputfile)
agoTools/admin.py:987
↓ 1 callersMethodregisterItems
Given a set of AGOL items, register them to the portal, optionally to a specific folder.
agoTools/admin.py:603
↓ 1 callersMethodshareItems
http://www.arcgis.com/sharing/rest/content/users/jsmith/shareItems everyone: false items=93b54c8930ae46d9a00a7820cb3ebbd1,bb8
agoTools/admin.py:494
↓ 1 callersMethodto_JSON3
(self,wkid)
agoTools/admin.py:1333
↓ 1 callersMethodupdateServiceItemsThumbnail
Fetches catalog of items in portal. If there is no thumbnail, assigns the default.
agoTools/admin.py:416
↓ 1 callersMethodupdateUserRoles
(self, users)
agoTools/admin.py:1249
↓ 1 callersMethodupdatewebmapversionAGX
Update the web map version from 1.9x to 1.7x so that the new web maps can be opened in ArcGIS Explorer Online.
agoTools/utilities.py:154
Method__decode_dict__
(self, dct)
agoTools/utilities.py:264
Method__decode_dict__
(self, dct)
agoTools/admin.py:806
Method__getFolderContent__
Lists all of the items in a folder.
agoTools/utilities.py:295
Method__getItemFolder__
Finds the folder id for a particular item.
agoTools/utilities.py:287
Method__init__
(self, username, portal=None, password=None)
agoTools/utilities.py:54
Method__init__
(self, webmap, msg)
agoTools/utilities.py:303
Method__init__
(self, username, portal=None, password=None)
agoTools/__init__.py:9
Method__init__
(self, username, portal=None, password=None)
agoTools/admin.py:14
Method__init__
(self, item_list)
agoTools/admin.py:1272
Method__init__
(self, item_attributes)
agoTools/admin.py:1279
Method__init__
(self, import_list)
agoTools/admin.py:1285
Method__init__
(self, service_attributes)
agoTools/admin.py:1292
Method__init__
(self, import_list)
agoTools/admin.py:1298
Method__init__
(self, user_attributes)
agoTools/admin.py:1304
Method__init__
(self)
agoTools/admin.py:1312
Method__init__
(self)
agoTools/admin.py:1350
Method__init__
(self)
agoTools/admin.py:1358
MethoddeleteGroup
Deletes group
agoTools/admin.py:693
MethodgetFolderID
Returns the folder ID given a case insensitive folder title. folderTitle -- The title (name) of a folder. userName -- The use
agoTools/utilities.py:236
MethodgetFolderItems
Returns all items (list of dictionaries) for an AGOL folder using the folder ID. folderID -- The unique id for the folder. Use getFol
agoTools/utilities.py:201
MethodgetGroups
Returns a list of groups defined in the organization.
agoTools/admin.py:62
FunctiongetResultValue
(s)
samples/populateBookmarks.py:79
FunctiongetResultValueWithQuotes
(s)
samples/populateBookmarks.py:66
Methodh2o
(x)
agoTools/admin.py:830
Methodjson_to_obj
(self,s)
agoTools/admin.py:829
MethodmigrateAccounts
REQUIRES ADMIN ACCESS Reassigns ownership of all content items and groups between pairs of accounts specified in a CSV file.
agoTools/admin.py:387
MethodremoveUsersFromGroups
REQUIRES ADMIN ACCESS Remove organization users from multiple groups and return a list of the status
agoTools/admin.py:210
FunctionsearchPortal
Search the portal using the specified query and search parameters. Optionally provide a token to return results visible to that user. Mor
agoTools/utilities.py:6
Methodto_JSON
(self)
agoTools/admin.py:1316
MethodupdateURLs
Updates the URL or URL part for all URLs in a list of AGOL items. This works for all item types that store a URL. (e.g. web maps, map
agoTools/utilities.py:250