TS732, Linux
-----------------
location for callout script is as follows
/opt/RBC_CMS/autonomy/ApplicationContainer/server/default/deploy/iw-cc.war/livesite/DataCapture/Callout
following is code to make callout
<item name="CreationDate" rowcontinue="t">
<description>The date the asset was created, in the YYYY-MM-DD HH:MM
S format.</description>
<label>Creation Date</label>
<text required="t" maxlength="19" size="25" validation-regex="^[0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9] [0-2][0-9]:[0-5][0-9]:[0-5][0-9]$">
<cgi-callout url="/iw-cc/DataCapture/Callout/Calendar.do" label="Select Date..." window-features="dependent=yes, width=255, height=290,centered,titlebar=yes,resizable"/>
</text>
</item>
When I check cgi-callout line, url path is provided as url="/iw-cc/DataCapture/Callout/Calendar.do". Actual path to the calender.do is /opt/RBC_CMS/autonomy/ApplicationContainer/server/default/deploy/iw-cc.war/livesite/DataCapture/Callout/calender.do.
So how is path before iw-cc.war is decided by TeamSite ? How is that path assumed by default ? Can I create a folder named deployment at the same level where deploy is, and keep "/iw-cc/DataCapture/Callout/Calendar.do" under deployment, will that be allowed OR "/opt/RBC_CMS/autonomy/ApplicationContainer/server/default/deploy/" is the predefined path specified by teamSite and that can not be changed ? Do all the scripts go in this path only OR can we keep scripts in a diffreent path ? If yes, how to specify path for scripts ? Can I still provide relative path as shown in this code ?
Secondly, actual path on server is "/opt/RBC_CMS/autonomy/ApplicationContainer/server/default/deploy/iw-cc.war/" , but in url we have provided "/iw-cc/" and taken out .war. How does server understand this , when a request comes for this path ? Will it automatically truncate iw-cc.war to iw-cc ?
Thanks