Skip to main content

RefreshObject

Description

Refreshes the specified object in the listing.

Syntax

// shellListing points to instance of IShellListing
const result = await shellListing.RefreshObject(
objID,
refreshFromServer,
updateRelatedObjects,
);

Parameters

NameTypeDescription
objIDobjectThe object to refresh.
refreshFromServerbooleanIf true, refreshes the data of the object from the server.
updateRelatedObjectsbooleanIf true, the related objects of the specified object are also updated.

Return type

TypeDescription
Promise < void >It returns promise<boolean> if action succeeds true otherwise false will be returned.