The $dsCommands variable provides methods to create Data Standard dialogs. This variable is used in all of the menu PowerShell functions.
Type:MyViewCommands.
Methods:
Name |
Description |
---|---|
GetCreateDialog(long) |
Returns a FileDialog object to create a new file in Vault. Requires a Vault folder ID to specify the location of the new file. Use the FileDialog.XamlFile property to set the XAML file (default "File.xaml). |
GetEditDialog(long) |
Returns a EditFileDialog object to edit a Vault file. Requires a Vault file master ID to specify the file. Use the EditFileDialog.XamlFile property to set the XAML file (default "File.xaml). |
GetCreateCustomObjectDialog(long |
Returns a CreateCustomObjectDialog object to create a new custom object in Vault. Requires a custom object ID to specify the type of the new custom object. The XAML file has to be set with CreateCustomObjectDialog.XamlFile property. |
GetEditCustomObjectDialog(long) |
Returns a EditCustomObjectDialog object to edit a Vault custom object. Requires a custom object ID to specify the custom object. The XAML file has to be set with CreateCustomObjectDialog.XamlFile property. |
GetCreateFolderDialog(long) |
Returns a CreateFolderDialog object to create a new folder in Vault. Requires a Vault folder ID to specify the location of the new file. The XAML file has to be set with the CreateFolderDialog.XamlFile property. |
GetEditFolderDialog(long) |
Returns a EditFolderDialog object to edit a Vault folder. Requires a Vault folder ID to specify the folder. The XAML file has to be set with the EditFolderDialog.XamlFile property. |