In my datacapture.cfg, I used formAPI to look for the path of the DCR:
var pathName = IWDatacapture.getItem("GeneralInfo/path").getValue();
and then passed this value to an UpdateDatabase.ipl as the following:
params.path = pathName;
IWDatacapture.callServer("
http://pwcm02.dpw.co.la.ca.us/iw-bin/updateDatabase.ipl",params);When I did an alert on pathName from the datacapture.cfg, it came out to be this:
Y:/default/main/Intranet/WORKAREA/shared/templatedata/Site/SiteHomePage/data/HRD_mywcm1\Index,
but when I output it in updateDatabase.ipl it came out like this:
Y:/default/main/Intranet/WORKAREA/shared/templatedata/Site/SiteHomePage/data/HRD_mywcm1Index, which missed the slahes (\).
Does anyone know why? This code worked before we installed TS5.52 SP6
We are running on Window. Thanks.