Skip To Content

esri_portal_names (AutoLISP)

The esri_portal_names function gets a list of portal names as strings from managed portals.

Note:

The portal name is first accessed by the default portal name "ArcGIS Online" or "ArcGIS Enterprise". Once you're signed in, the portal name may be the organizational name set by the your administrator. You can review the names using (esri_portal_names) after signing in.

Syntax

(esri_portal_names)

Arguments

  • <none>

Example usage

Request a list portal names from the managed portals.

(esri_portal_names)

Result example usage

Returns a list of portals names as strings.

("CAD Team Enterprise 11.3" "ArcGIS Enterprise - Sample Server 7 - 11.2" "ArcGIS Online")

Return values

The following are the possible return values:

  • If successful, the function returns a list of portal names as strings.
  • If failed, it returns a list with the first value of nil and an associated list containing the key value "Error" and an associated error message as a string: (nil ("Error" . "<message>")).

See also

(esri_portal_add)—An AutoLISP function that adds a specified portal to the list of managed portals.