AnsweredAssumed Answered

External container fields exporting error

Question asked by BorisKamp on Jun 9, 2015
Latest reply on Jul 14, 2015 by BorisKamp

Title

External container fields exporting error

Post

Hi guys!

Here's my table layout https://www.dropbox.com/s/jsen6gxxzgmyzy5/Screenshot%202015-06-09%2010.03.00.png?dl=0

 

The three AWF tables each have two container fields inside with room for a pdf document.

I have a button with this specified script step to view the document:

Set variable step with name: '$Path' and value: `Let`:

Let ([filename=GetAsText(AWF1::Deelnameformulier)];
Get (TemporaryPath) & Right(filename; Length(filename)-
Position (filename;"/";Length(filename);-1)))

In the same script I have set Export Field Contents:

[AWF1::Deelnameformulier; "$path"; Automatically open]

I have this script three times, each fund has it's own with AWF1, AWF2 and AWF1.

The scripts work for in each table except the AWF3 table, the AWF table gives me a error:

the file "FILENAME" could not be opened, it may be damaged or use a file format that Preview doesn't recognize.

Wierd thing is, when I insert a pdf in the AWF3 table container, it creates three files in my external set storage: .pdf, .jpeg and .png.

when I insert a pdf in the AWF1 or AWF 2 table container, it creates two files in my external set storage: .pdf, .jpeg (no png!?)

what wrong here? I recently updated from FM12 to FM13

 

Thanks!

 

Outcomes