The custombutton.exe
utility is designed to create custom buttons,
and to manage their properties (interface location, button names,
context help messages, and other parameters).
Custom buttons of the following types can be created and managed by
using this utility:
- custom button pointing to a URL
- custom button linked to Web applications
Location
%plesk_cli%
Usage
custombutton.exe <command> [<param>][
<option 1> <param> [<option 2> <param>] ... [<option N> <param>]
]
Example 1
The following command creates custom button Statistics that opens URL
http://example.com/site-statistics, places the custom button on the
domain administration pages, includes domain ID#, domain name, and
client ID# in browser requests generated by clicking on the button, sets
the context help message for the button as Click to go to
site-statistics, and makes the button available in control panels of
all domain users.
plesk bin custombutton.exe --create -text Statistics -url http://example.com/site-statistics -url_comp dom_id,dom_name,cl_id -conhelp "Click to go to site-statistics" -place domain -public true
Example 2
The following command creates custom button named osCom linked to Web
application osCommerce installed on the domain example.com, and sets
the context help message for the button as Click to open osCommerce.
plesk bin custombutton.exe --create -siteapp-link -siteapp-domain example.com -siteapp-name osCommerce -text osCom -conhelp "Click to open osCommerce"