Get the fully qualified URL for an item's thumbnail


Parameter Type Default Notes
item Required IItem

w/ id, thumbnail, and access

portalUrlOrObject Optional string | IPortal | IHubRequestOptions | IRequestOptions

a portal base or API URL, a portal object, or request options containing either of those

optionsOrToken Optional IThumbnailOptions | string

options including width and/or token for the current user's session; will only be appended as a query parameter if the item's access is not public


URL to the item's thumbnail, defaults to{}/info/{item.thumbnail}. Returns null if the item does not have a thumbnail assigned.

string | null

Function defined in common/src/resources/get-item-thumbnail-url.ts:19