Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Esri/ago-tools
/ functions
Functions
99 in github.com/Esri/ago-tools
⨍
Functions
99
◇
Types & classes
13
↓ 21 callers
Function
getResultValue
(s)
samples/AGOLCat.py:48
↓ 21 callers
Function
getResultValue
(s)
samples/findItemsContainingUrl.py:45
↓ 11 callers
Method
__portalId__
Gets the ID for the organization/portal.
agoTools/__init__.py:33
↓ 5 callers
Method
AGOLCatalog
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 callers
Function
_raw_input
(prompt=None, stream=None, input=None)
samples/populateBookmarks.py:46
↓ 5 callers
Function
_raw_input
(prompt=None, stream=None, input=None)
samples/findItemsContainingUrl.py:12
↓ 5 callers
Method
getRoles
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 callers
Function
_raw_input
(prompt=None, stream=None, input=None)
samples/flagAttachments.py:12
↓ 4 callers
Function
_raw_input
(prompt=None, stream=None, input=None)
samples/shareItems.py:9
↓ 4 callers
Function
_raw_input
(prompt=None, stream=None, input=None)
samples/registerItems.py:19
↓ 4 callers
Method
getFolderID
Return the ID of the folder with the given name.
agoTools/admin.py:672
↓ 4 callers
Function
getResultValueWithQuotes
(s)
samples/AGOLCat.py:35
↓ 4 callers
Function
getResultValueWithQuotes
(s)
samples/findItemsContainingUrl.py:32
↓ 3 callers
Method
AGOLUserCatalog
Return the catalog of CURRENT USER's items from portal, optionally from only a folder.
agoTools/admin.py:1100
↓ 3 callers
Method
__safeValue__
(self, inVal)
agoTools/utilities.py:272
↓ 3 callers
Method
__safeValue__
(self, inVal)
agoTools/admin.py:814
↓ 3 callers
Function
_raw_input
(prompt=None, stream=None, input=None)
samples/clearGroup.py:11
↓ 3 callers
Function
_raw_input
(prompt=None, stream=None, input=None)
samples/clearFolder.py:10
↓ 3 callers
Function
_raw_input
(prompt=None, stream=None, input=None)
samples/AGOLCat.py:15
↓ 3 callers
Function
_raw_input
(prompt=None, stream=None, input=None)
samples/updateUserRoles.py:13
↓ 3 callers
Function
_raw_input
(prompt=None, stream=None, input=None)
samples/deleteItems.py:14
↓ 3 callers
Function
_raw_input
(prompt=None, stream=None, input=None)
samples/updateServiceItemsThumbnail.py:13
↓ 3 callers
Method
addUser2ToAllUser1Groups
REQUIRES ADMIN ACCESS Adds userTo/User2 to all groups that userFrom/User1 is a member
agoTools/admin.py:333
↓ 3 callers
Method
addUsersToGroups
REQUIRES ADMIN ACCESS Add organization users to multiple groups and return a list of the status
agoTools/admin.py:188
↓ 3 callers
Method
getLayerURL
(self, layerId)
agoTools/admin.py:992
↓ 3 callers
Method
getUsers
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 callers
Method
reassignAllGroupOwnership
REQUIRES ADMIN ACCESS Reassigns ownership of all groups between a pair of accounts.
agoTools/admin.py:298
↓ 3 callers
Method
reassignAllUser1ItemsToUser2
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 callers
Method
__groups__
(self,start=0)
agoTools/admin.py:37
↓ 2 callers
Method
__roles__
(self,start=0)
agoTools/admin.py:28
↓ 2 callers
Function
__search__
Retrieve a single page of search results.
agoTools/utilities.py:36
↓ 2 callers
Method
__users__
Retrieve a single page of users.
agoTools/admin.py:18
↓ 2 callers
Method
_getCatalogQuery
Format a content query from specified start and number of records.
agoTools/admin.py:1221
↓ 2 callers
Method
_getOrgID
Return the organization's ID.
agoTools/admin.py:1211
↓ 2 callers
Method
_getSize
Issue query for item size.
agoTools/admin.py:1190
↓ 2 callers
Method
createBookmarksFromLayer
(self, url,labelfield)
agoTools/admin.py:925
↓ 2 callers
Method
createGroup
Creates a new group
agoTools/admin.py:139
↓ 2 callers
Method
createUser
Creates a new user WITHOUT sending an invitation
agoTools/admin.py:161
↓ 2 callers
Method
reassignGroupOwnership
(self,groupId,userTo)
agoTools/admin.py:284
↓ 2 callers
Method
to_JSON2
(self)
agoTools/admin.py:1319
↓ 2 callers
Method
updateItemUrl
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 callers
Method
updateWebmapService
(self, webmapId, oldUrl, newUrl, folderID=None)
agoTools/utilities.py:58
↓ 1 callers
Method
AGOLGroupCatalog
Return the catalog of items in desiginated group.
agoTools/admin.py:755
↓ 1 callers
Method
__decode_list__
(self, lst)
agoTools/utilities.py:280
↓ 1 callers
Method
__decode_list__
(self, lst)
agoTools/admin.py:822
↓ 1 callers
Method
__getToken__
Retrieves a token to be used with future requests.
agoTools/__init__.py:21
↓ 1 callers
Method
_getUserFolders
Return all folder objects.
agoTools/admin.py:684
↓ 1 callers
Method
addBookmarksToWebMap
update the designated webmap with the list of bookmark objects
agoTools/admin.py:839
↓ 1 callers
Method
calculateAttachmentCount
(self,layerURL, flagField)
agoTools/admin.py:442
↓ 1 callers
Method
clearFolder
Delete all content from the specified folder. CAUTION
agoTools/admin.py:730
↓ 1 callers
Method
clearGroup
Unshare all content from the specified group. CAUTION
agoTools/admin.py:707
↓ 1 callers
Method
deleteItems
(self, items)
agoTools/admin.py:553
↓ 1 callers
Method
findGroup
Gets a group object by its title.
agoTools/admin.py:75
↓ 1 callers
Method
findItemUrl
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 callers
Method
findItemsWithURLs
(self, oldUrl,folder)
agoTools/admin.py:1060
↓ 1 callers
Method
findWebmapService
(self, webmapId, oldUrl, folderID=None)
agoTools/admin.py:763
↓ 1 callers
Method
getUserFolders
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 callers
Method
getUserGroups
Returns all groups for the specified user.
agoTools/utilities.py:226
↓ 1 callers
Method
getUsersInGroup
Returns a list of users in a group
agoTools/admin.py:89
↓ 1 callers
Method
migrateAccount
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 callers
Method
readBookmarksFromFeatureClass
(self,path,labelfield)
agoTools/admin.py:903
↓ 1 callers
Method
readBookmarksFromFeatureCollection
(self,fcId,labelfield)
agoTools/admin.py:1014
↓ 1 callers
Method
readBookmarksFromFile
(self,inputfile)
agoTools/admin.py:987
↓ 1 callers
Method
registerItems
Given a set of AGOL items, register them to the portal, optionally to a specific folder.
agoTools/admin.py:603
↓ 1 callers
Method
shareItems
http://www.arcgis.com/sharing/rest/content/users/jsmith/shareItems everyone: false items=93b54c8930ae46d9a00a7820cb3ebbd1,bb8
agoTools/admin.py:494
↓ 1 callers
Method
to_JSON3
(self,wkid)
agoTools/admin.py:1333
↓ 1 callers
Method
updateServiceItemsThumbnail
Fetches catalog of items in portal. If there is no thumbnail, assigns the default.
agoTools/admin.py:416
↓ 1 callers
Method
updateUserRoles
(self, users)
agoTools/admin.py:1249
↓ 1 callers
Method
updatewebmapversionAGX
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
Method
deleteGroup
Deletes group
agoTools/admin.py:693
Method
getFolderID
Returns the folder ID given a case insensitive folder title. folderTitle -- The title (name) of a folder. userName -- The use
agoTools/utilities.py:236
Method
getFolderItems
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
Method
getGroups
Returns a list of groups defined in the organization.
agoTools/admin.py:62
Function
getResultValue
(s)
samples/populateBookmarks.py:79
Function
getResultValueWithQuotes
(s)
samples/populateBookmarks.py:66
Method
h2o
(x)
agoTools/admin.py:830
Method
json_to_obj
(self,s)
agoTools/admin.py:829
Method
migrateAccounts
REQUIRES ADMIN ACCESS Reassigns ownership of all content items and groups between pairs of accounts specified in a CSV file.
agoTools/admin.py:387
Method
removeUsersFromGroups
REQUIRES ADMIN ACCESS Remove organization users from multiple groups and return a list of the status
agoTools/admin.py:210
Function
searchPortal
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
Method
to_JSON
(self)
agoTools/admin.py:1316
Method
updateURLs
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