Find a class behind a command

Posted: 20 May 2009 in Content Center Professional interface, Content Center Standard interface, CSSDK, Java, Teamsite, UI toolkits

In order to find the class behind a command, get the command id (e.g. iw.teamsite.create_group), initialise a variable named command with this value:

command="iw.teamsite.create_group"

And run the following code on it:

 for file in `find /apps/interwoven/teamsite/httpd/webapps/content_center/WEB-INF/conf -name commands.xml 2>/dev/null`
 do
  echo ${file}
  cat ${file} | grep ${command}
 done

Totally undocumented anywhere, you can also navigate to the following url and search for the text of the command: http://teamsite.acme.com/iw-cc/base/support/show_command_desc.jsp

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s