Skip to main content
Version: 1.0.0

LocationIdentifier

LocationIdentifier is a more limited subset of ItemIdentifier that represents items that can be used as root locations in components such as ContentTreeElement.

Attributes

type: 'persistentLocation' | 'searchLocation'

Specify what type of location this is. persistentLocation refers to a set of pre-defined SAS Viya locations. searchLocation refers to a virtual location that contains the results of a search.

value: string | object

For type: 'persistentLocation', one of the following:

  • myFolder: the My Folder folder in SAS Viya
  • favorites: the My Favorites folder in SAS Viya
  • root: the SAS Content folder in SAS Viya
  • history: the Recents folder in SAS Viya
  • trash: the Recycle Bin folder in SAS Viya
  • quickAccess: the Quick Access list in SAS Viya
  • sharedWithMe: the Shared with Me folder in SAS Viya
  • sharedByMe: the Shared by Me folder in SAS Viya
  • recommendations: the Recommended list in SAS Viya
  • quarantined: the Quarantined items in SAS Viya
  • sasData: the SAS Data folder in SAS Viya
  • sasDataTables: the SAS data tables in SAS Viya

For type: 'searchLocation', an object with a name string used as the display name, and a searchQuery string containing the query to run.

preventExpansion: boolean

Specify whether to disable expansion for this location in the ContentTreeElement.