openItemViewScreen
The openItemViewScreen
api to open the item view drawer for an item.
It can be used by these modules:
- Admin page
- App page
- Workspace page
- Item action
- Item panel
- Item activity
- View action
Arguments
itemId
: The objectId of the item to view, type as stringnotClearItemPreorderList
: Whether it is necessary to clear the item preamble, type as booleanreadonly
: Whether the behavior of field is readonly, type as booleanstaticItemData
: The Data that could be user-defined like item , type as Item
Example
import createProximaSdk from '@giteeteam/proxima-sdk-js';
const proxima = createProximaSdk();
proxima.execute('openItemViewScreen', {itemId: 'tAbgAjZxsO', notClearItemPreorderList: true, readonly: true });