getDataForSiteItem

Function

Get the data for a site item. Used by the UI to back-fill a site model's .data, usually after we already have the item as a result of a search. Schema upgrades are applied.

Parameters

Parameter Type Default Notes
item Required IItem

Site Item object

hubRequestOptions Required IHubRequestOptions

Returns

Promise<IModel>
Property Type Notes
item IItem
data Optional [key: string]: any

Function defined in packages/sites/src/get-data-for-site-item.ts:13