Skip to main content

openUpdateAncestorScreen

The openUpdateAncestorScreen api to open the modal of update ancestor 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 move, type as string
  • isParentMode: Whether to modify the parent level
  • workspaceId: The objectId of the workspace, type as string

Example

import createProximaSdk from '@giteeteam/proxima-sdk-js';

const proxima = createProximaSdk();
proxima.execute('openUpdateAncestorScreen', { itemId: 'tAbgAjZxsO', workspaceId: 'AjZxsOAbgAO', isParentMode: false });