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 stringisParentMode
: Whether to modify the parent levelworkspaceId
: 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 });