i'm a little stuck with adding a field to the the grid where in the render coding i added an href so that when the users clicks, the file gets opened.
i've tried several combinations already but none were successful till now..
as i test i want to open an xml that is stored on the ifs : '\\MYAS400\FILEXFER\OPTIMAT\PALLETBON\BACKUP\PB.XM L'
in the renderer i've added
but no luck..
ps. i also tried file:\\//MYAS400/filexfer/optimat/palletbon/backup.pb.xml and other combiniations.. they all didn't work, or the console returned me the error that the url was not allowed.
in the apache config i've added
i've tried several combinations already but none were successful till now..
strange thing is that when i type in the url-directly in the browser, the file gets displayed correctly... i want to try the same from an NAB-app
can you help me in clarifying what the best practice is for this..
thx
thierry
i've tried several combinations already but none were successful till now..
as i test i want to open an xml that is stored on the ifs : '\\MYAS400\FILEXFER\OPTIMAT\PALLETBON\BACKUP\PB.XM L'
in the renderer i've added
Code:
return '<a href="file:/OptimaTPB/pb.xml">XML<a>'
ps. i also tried file:\\//MYAS400/filexfer/optimat/palletbon/backup.pb.xml and other combiniations.. they all didn't work, or the console returned me the error that the url was not allowed.
in the apache config i've added
Code:
Alias /OptimaTPB /filexfer/optimaT/Palletbon/Backup <Directory /filexfer/optimaT/Palletbon/Backup> Order Allow,Deny allow from all </Directory>
strange thing is that when i type in the url-directly in the browser, the file gets displayed correctly... i want to try the same from an NAB-app
can you help me in clarifying what the best practice is for this..
thx
thierry
Comment