Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Add a folder shortcut to a another folder
taibooz
Hi All,
Have anyone used SDK to add a folder shortcut to a nother folder in WorkSite ?
Is there any other ways ?
Is this command IManExt2.AddShortcutsCmd the right one to use ?
Tai
Find more posts tagged with
Comments
jny
That's the command to use if you intend to bring up the browse dialog to select the folders.
If you already have both the source and destination folders, then you should be able to just add a shortcut using the AddNewFolderShortcut(DocumentFolder), like so:
[C#]
using IManage;
//Add srcfldr (as shortcut) to destfldr.
IManFolderShortcuts fldrshortcuts = (IManFolderShortcuts)destfldr.SubFolders;
fldrshortcuts.AddNewFolderShortcut(srcfldr);
taibooz
Thanks. It worked