ItemIdentifier
ItemIdentifier is a data type for specifying content items for use with the Content SDK
components.
Attributes
type: 'persistentLocation' | 'folderUri' | 'driveItemId' | 'searchLocation'
Specify what type of content item this is.
persistentLocation
One of a set of pre-defined SAS Viya locations. Use one of the following value strings:
myFolder: the My Folder folder in SAS Viyafavorites: the My Favorites folder in SAS Viyaroot: the SAS Content folder in SAS Viyahistory: the Recents folder in SAS Viyatrash: the Recycle Bin folder in SAS ViyaquickAccess: the Quick Access list in SAS ViyasharedWithMe: the Shared with Me folder in SAS ViyasharedByMe: the Shared by Me folder in SAS Viyarecommendations: the Recommended list in SAS Viyaquarantined: the Quarantined items in SAS ViyasasData: the SAS Data folder in SAS ViyasasDataTables: the SAS data tables in SAS Viya
folderUri
Any SAS Viya folder uri. The value is of the form
'/folder/folders/789d13d3-789d-4fa3-9fea-123e321f1ea1'.
driveItemId
Any content item, identified by its unique id in the drive service. The value is the item id.
searchLocation
A virtual location representing the results of a search. The value is an object with a name and
a searchQuery string. This is the identifier that a
ContentSearchFieldElement navigates to.
value: string | object
The value that identifies the item, as described for each type above.
You can find the URI for a Folder in SAS Drive in the Information Pane. Select the Folder, scroll down in the Information Pane to the More -> URI section and copy the URI.
