Jump to content

Grab input file modified date


merski007

Recommended Posts

Does anyone know how to grab the OS timestamp for an input file? We have a library of input files that are regularly updated and need to add the file timestamp to the output pdf.

 

All the research I've done shows how to do this on a browser. I also didn't find any built-in Resource functions that could help with this.

Link to comment
Share on other sites

I don't think there's a way to do this, at least not with Creator. Generally, the underlying OS and its file system are not query-able in a JavaScript rule, except for searching for the existence of a particular file. This is largely by design, mainly for security reasons, as FusionPro jobs can obviously be run on third-party systems, such as the servers on MarcomCentral, and we don't want client scripts to be able to "poke around" on those machines. However, if you have your own FP Server-based solution, with your own custom application invoking FusionPro compositions via the Server API, then your application can do any file system or database operations it needs to do and feed any information it wants to FusionPro.
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...