Hi,We have the FormAPI validation to a common file called 'validation.js'. We are calling this 'validation.js' in the DCT code.using datacapture.cfg code which includes 'validation.js' below:----------------------------------- script language="javascript" location="template-type" src="/iw-mount/default/main/Code/WORKAREA/workarea/common/validation.js"------------------------------------We have development TeamSite Server on which this code is working fine . Also the validations are working.But same code on our Test TeamSite Server is not working.Then I changes the location="webserver" to location="template-type"and move the 'validtion.js' file under 'templatedata/category/type' . Its working fine on Test Server also. But i donot want to use 'template-type' in 'location'Is there some server setting that needs to be made ? Is the 'src' not recognizing 'iw-mount' ?Can anyone suggest whats the problem with using "webserver" on Test TeamSite Server?Thanks in advance Rohit Pathak
First, when you are using location="webserver", a better idea is to use iw-home/local/bin or iw-home/httpd/iw for your js but it depends on your view.
Try using src="/default/main/Code/WORKAREA/workarea/common/validation.js". Probably that will work since you are referencing from within teamsite
Hi Boris,Thanks for ur reply.But the path src='/iw-mount/default.....' works on my development teamsite server.Same path is not working on Test TeamSite server , though the file exists at that path.Is there is any server wide configuration that has to be made so that 'scr' recognizes '/iw-mount' ?Moon, I cannot keep it in /iw-home/local/bin beacuse i want to maintain the version of file.RegardsRohit
...Moon, I cannot keep it in /iw-home/local/bin beacuse i want to maintain the version of file.