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)
adding menu item or icon in teamsite
vinylrecord
i wish to add a menu item or an icon in teamsite GUI for executing my own shell script( test.sh)
is it possible n if yes how can i go about it
thanks
Find more posts tagged with
Comments
Adam Stoller
Custom menus are documented in the TeamSite Administrator's Guide
--fish
(Interwoven Senior Technical Consultant)
Srinivas
Its pretty straight forward.
1) Create a .ipl file say command.ipl and call your test.sh from it using either system() or exec() subroutines.
for example print system( "sh ./test.sh" );
2) copy command.ipl into $IW-HOME/httpd/iw-bin
3) insert following line into your iw.cfg
custom_menu_item_deployment="View", "Run Command", "command.ipl", "admin, mast
er", "scrollbars=yes,resizable=yes,width=640,height=545"
4) run iwreset -i
Thats it....
Cheers!