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)
IManExt Command
rennschaf
Hi,
I have found several samples for a VB-Project which makes a new iCOmmand for the FileSite. But I need a C#-class with the ICommand_Update() and ICommand_Execute and so on Methods. Do you have any experiences with that or a sample class in C#.
Thank you,
Michael
Find more posts tagged with
Comments
jny
If you own the SDK, specifically versions in 8.x, and you have installed it on your machine, you should see the C# Sample ICommand Proejcts under "[installed_path]\iToolKit\iCommands".
rennschaf
After I installed the SDK I found that example!
Thank you!
Michael
rennschaf
I now built my new dll and registered it via RegAsm.exe and gacutil.exe. The registering-process was successfull and the tools said, that all is registered properly. But I can't use my new ICommand in the Desksite.
In the registry I tried out to add my new command but it won't apear after restarting the Desksite. After some tries I compiled the example ICommand project of the SDK (MyCSLookupExt), but after registering the dll I wasn't able to use this command, too.
I added in the registry in the regkey "HKEY_LOKAL_MACHINE\SOFTWARE\Interwoven\Desksite\Commands\Menus\Tools\" the string ",-,MyCSIManExt.MyCSLookupCmd,-" to the value "Commands". But the Desksite showed me - after starting it new - at the bottom of the Tools-Menu only the two separator lines without the Example-New-Icommand.
Thank you,
Michael
jny
I tested this successfully: I built the MyCSLookupExt.sln. I then added the CLSI, MyCSLookupExt.MyCSLookupCmd, under:
[HKEY_LOCAL_MACHINE\SOFTWARE\Interwoven\WorkSite\8.0\DeskSite\Commands\Menus\Tools]
"Commands"="MyCSLookupExt.MyCSLookupCmd,IManExt.PasswordChangeCmd,IManExt.SecTemplateCmd,iManExt.LocalAppCmd,iManExt.DefaultProfileCmd,-,OffSite,iManSyncCheckin.SynchCheckinCmd,-,
@1124
,
@32780@278
,-,
@33615@306
,
@304"
"MenuText"="317"
Launched DeskSite, and it showed up as the first item under the Tool menu.
Would you show me your registry key entry?
rennschaf
After a overnight session I found the mistake. I wrote the command in the registry with dllname.comandname (like in the reference) but it is namespace.comandname.
So now it works all fine. But thank you for your help.
Michael