MarcomCentral (PTI) and FusionPro User Communities

MarcomCentral (PTI) and FusionPro User Communities (
-   Dates (
-   -   Grab input file modified date (

merski007 June 19th, 2019 06:21 AM

Grab input file modified date
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.

Dan Korn June 19th, 2019 09:20 AM

Re: Grab input file modified date
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.

All times are GMT -7. The time now is 10:40 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.