Start a new topic

Vault DataStandard: Get Selected Vault FolderId in The Folder Window

Hi,


I want to limit the Folder Categories based on the current selected folder in the vault.


In the CreateFolder.Ps1 the Selected Folder Id is set as follows: $folderId=$vaultContext.CurrentSelectionSet[0].Id


How can I get this $folderId in the window itself


Code Snippet:

 if ($dsWindow.DataContext.IsNewEntryDialog) 

    { 

      $currentFolderId = ?

             

    }

1 Comment

Hello Ruud,

For questions about DataStandard please visit the Vault customization forum.


Kind regards,

Manuel Cassan

Login or Signup to post a comment