usage of URL MApping

if add urlmapping in provision tab,following variable will be available in your scripts. BASE_URL_SCHEME – URL scheme. Allowed values: http , https BASE_URL_HOST – URL host. BASE_URL_PORT – URL port (may be omitted if default port for protocol is used: 80 for http, 443 for https). BASE_URL_PATH – URL path including trailing slash. note:this variables… Read More »

How to get a mainservice fields value into the subservice?

Direct method its not possible. but you can use value-of-settings. For Example: Mainservice contains a field with id ‘firstname’. using the below statement you can get the value into the configuration script of mainservice but you cannot get into the subservice configuration script. $firstname=trim(getenv(“SETTINGS_firstname”)); use the value of settings in subservice field as below </setting>… Read More »

Domain list or a dropdown box for a domain in Subservice of APS package

we can do this using value of settings. # create domain list box in subservice using the following <setting type=”list” id=”domain” element-type=”domain-name”> <name>domain name</name> </setting> # in subservice again create a hidden field with type “list” as below. here use the value of settings <setting type=”list” id=”subdomain” element-type=”string” value-of-setting=”domain” protected=”true” visibility=”hidden”> <name>Subdomain list</name> </setting> #… Read More »