Skip to main content

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 string
  • notClearItemPreorderList: Whether it is necessary to clear the item preamble, type as boolean
  • readonly: Whether the behavior of field is readonly, type as boolean
  • staticItemData: 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 });