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<any>

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