Jump to content

store data source name


kristina3909

Recommended Posts

Is there a way to store my original data source name? I would like to use the name of my flat file as a way to find the matching background image. For instance my data source name would be 12345.csv and I would like to use that in a rule to pull the associated background image 12345.pdf.

What do you mean by "original?"

 

Do you mean the data file specified in the Data Definition (.def) file, as opposed to the actual data file used for composition in FP Server or Producer? (They're the same in Creator/Desktop compositions, although not in Creator Preview compositions.) If so, you can use the FusionPro.inputFileName property to get the input data file name from the Data Definition, and FusionPro.Composition.inputFileName to get the file actually used for composition in a Server or Producer composition. There's also a helper PrimaryInputFile() function which gets the current data file in composition case, and at rule validation time.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...