Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Using AddToSubscriptionFolderCmd
System
I am trying to use the AddToSubscriptionFolderCmd and everything seems to work as expected, except I cannot prefile the Name field when the dialog appears. The API documentation doesn't seem to reference a context item for this value. I would like to default it to the name of the workspace selected.
Sample Code:
Set iCmd = New IMANEXT2Lib.AddToSubscriptionFolderCmd
Set iContextItems = New IMANEXTLib.ContextItems
iContextItems.Add "SeletedFolderObject", iWS
iContextItems.Add "SelectedIManSession", iSession
iContextItems.Add "SelectedPageFolderObject", iWS
iContextItems.Add "IManExt.ShowReadWriteFoldersOnly", True
iCmd.Initialize iContextItems
iCmd.Update
iCmd.Execute
Where iWS is a valid iManage.ImanWorkspace object
Find more posts tagged with
Comments
There are no comments yet