|
|
exportAsFDF does not work in Adobe 7.0
Dear All,
We are using Adobe Forms for some of our reports. We had added a
custom menu item that used to work well in Adobe 5.0. This has stopped
working in 7.0 app.addMenuItem({ cName: 'OLD_EXPORT', cParent: 'File',
cExec:
"this.exportAsFDF({bAllFields: true, bNoPassword: false, cPath:
'c:\export.fdf'});" , nPos: 0});
When executed in 7.0 gives "Security settings prevent access to this
property or method"
I changed the syntax of exportAsFDF to Adobe 7.0 app.addMenuItem({
cName: 'NEW_EXPORT', cParent: 'File', cExec:
"this.exportAsFDF('c:\export.fdf', '', false);" , nPos: 0});
but on executing this...it opens the Export Form Data As dialog...
How do I overcome this problem? Please help...my customers are a bit
frustrated about this...
TALIA
Many regards,
Jack
|
|
0
|
|
|
|
Reply
|
sunil
|
4/29/2005 7:27:25 AM |
|
Dear All,
I tried to set the path as a device independant path but it did not
work...
app.addMenuItem({ cName: "SubForm", cParent: "File", cExec: "var
g='/c/temp/bilder/' + this.getField('month_save').value +
this.getField('days_save').value + this.getField('year_save').value +
'.fdf';this.exportAsFDF({bAllFields: true, cPath: g});"});
Please help...am I doing something wrong here..
How do I define a safe path?
TALIA
Many regards,
Jack
sunil@volcanomail.com (Jack Wright) wrote in message news:<8f556eeb.0504282327.1b77e17f@posting.google.com>...
> Dear All,
> We are using Adobe Forms for some of our reports. We had added a
> custom menu item that used to work well in Adobe 5.0. This has stopped
> working in 7.0 app.addMenuItem({ cName: 'OLD_EXPORT', cParent: 'File',
> cExec:
> "this.exportAsFDF({bAllFields: true, bNoPassword: false, cPath:
> 'c:\export.fdf'});" , nPos: 0});
>
> When executed in 7.0 gives "Security settings prevent access to this
> property or method"
>
> I changed the syntax of exportAsFDF to Adobe 7.0 app.addMenuItem({
> cName: 'NEW_EXPORT', cParent: 'File', cExec:
> "this.exportAsFDF('c:\export.fdf', '', false);" , nPos: 0});
>
> but on executing this...it opens the Export Form Data As dialog...
>
> How do I overcome this problem? Please help...my customers are a bit
> frustrated about this...
>
> TALIA
> Many regards,
> Jack
|
|
0
|
|
|
|
Reply
|
sunil
|
5/3/2005 5:47:27 AM
|
|
|
1 Replies
367 Views
(page loaded in 0.012 seconds)
|
|
|
|
|
|
|
|
|