This is a migrated thread and some comments may be shown as answers.

Could not find command Xxxx. Please update your command list

1 Answer 120 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
RickardLofberg
Top achievements
Rank 2
RickardLofberg asked on 27 Feb 2008, 05:08 PM

Hi,

I have upgraded my MOSS RadEditor to latest version.
I downloaded the "RadEditor_MOSS_4_5_0_dev.zip" from the Client.net area.

I retracted the old solution and deployed the new WSP package.
Now that I try to run my custom command I get this error message:
Could not find command CSWIKITOC. Please update your command list.

My listtoolsfile.xml has this tool configured in the <Tools> section:

<tool name="CSWIKITOC" ShowIcon="false" ShowText="true"/>


My javascript, which is loaded on the page, has the following function:

RadEditorCommandList["CSWIKITOC"] = function(commandName, editor, oTool)
{
   editor.PasteHtml('<div id="CS_WIKITOC">TOC will go here</div>');
}

This was all working before the upgrade.
Any idea what might cause this?

Also, I know I'm running the full featured editor because the Ajax spell checking is working in the editor.

Best Regards,
Rickard Lofberg

1 Answer, 1 is accepted

Sort by
0
RickardLofberg
Top achievements
Rank 2
answered on 29 Feb 2008, 10:27 AM
This issue has now been resolved.
It started working again.
Unfortunately I do not know why it started working.

Cheers,
Rickard
Tags
WebParts for SharePoint
Asked by
RickardLofberg
Top achievements
Rank 2
Answers by
RickardLofberg
Top achievements
Rank 2
Share this question
or