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)
Showing Worksite Dialogs - Implementing Desksite's "Search Workspaces" Command
Balaji_Proteans
Hi,
In a windows application(c#) am trying to show the WorkSite's "Search Workspaces" Dialog and when the user has given the search parameters and presses "Search" Button in that, i have to show the results in a "Search Result Dialog".
In Desksite
-------------------
Search --> Search Workspaces (Ctrl + W)
Opens "Search Workspaces" Dialog and the user gives search params and presses "Search" button.(Until this is Done(See Code below))
Result is shown in the "Search for WorkSpaces - [\Search Results]" Dialog(This is where i got struck !!!! How to show this dialog???)
//Code to show the "Search Workspaces" Dialog
IManage.IManDMS ManDMS = new IManage.ManDMS();//Create DMS
IManage.IManSession ManSession = ManDMS.Sessions.Add("PRODSK0216");//Create ImanSession
IMANEXT2Lib.WorkspaceSearchCmd WorkSpaceSearchCmd = new IMANEXT2Lib.WorkspaceSearchCmd();//Create WorkSpaceSearch Cmd
IMANEXTLib.ContextItems _ContextItems = new IMANEXTLib.ContextItems();
_ContextItems.Add("IManDMS", ManDMS);//add IManDMS ContextItem
_ContextItems.Add("ParentWindow", this.Handle.ToInt64());//add ParentWindow ContextItem
_ContextItems.Add("SelectedIManSession", ManSession);//add SelectedIManSession ContextItem
ManSession.TrustedLogin();//Login
WorkSpaceSearchCmd.Initialize(_ContextItems);//Initialize
WorkSpaceSearchCmd.Update();//Update
WorkSpaceSearchCmd.Execute();//Execute
---Returned Context Items----
1.) FolderSearchParameters
2.) IManDMS
3.) IManExt.Refresh
4.) IManSearchParameters
5.) ParentWindow
6.) SearchedDatabases
7.) SearchedFolders
8.) SelectedIManSession
Where should i have to pass these items 1 and 4 and get the result???
Thank you
Balaji G
Find more posts tagged with
Comments
There are no comments yet