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)
How to get return object from IMANEXT2Lib.AddShortcutsCmd
Bowman
Hi all, i have written a custom command that uses the IMANEXT2Lib.AddShortcutsCmd command to display the Add Shortcuts window when the user right clicks on the My Matters folder. I am doing some post processing on the shortcuts added after the user clicks OK.
In my code i am trying to get the NewIManObjects context item but i keep getting a type mismatch error when i try to assign ofldr (which is a variant) to any other data type. ie
dim ofldr as variant
Dim ofldrs() As IManFolderShortcut
ofldr = mContext("IManExt.NewIManObjects")
set ofldrs=ofldr <-- error occurs here
What should i be using to get the shortcuts returned from the command?
Thanks.
Find more posts tagged with
Comments
There are no comments yet