Get file by name

262 views
Skip to first unread message

andre.fc....@gmail.com

unread,
Jun 12, 2015, 6:38:02 AM6/12/15
to suppor...@runmyprocess.com
Good morning all,

Does anyone know if it is possible to get a file Id by file name?

I need to apply dynamic pdf transformations, but the stylesheets can be changed often and I don't want to have to update process whenever something is changed.

Thanks.

Murali

unread,
Jun 12, 2015, 11:24:30 PM6/12/15
to suppor...@runmyprocess.com, andre.fc....@gmail.com, suppor...@runmyprocess.com, andre.fc....@gmail.com
Hi Andre,

This is not possible directly, whereas reverse is possible using file_desc(fileId) because file name is not unique only file id is unique.

Ref for usage of file_desc(fileId): https://groups.google.com/a/runmyprocess.com/forum/#!topicsearchin/supportforum/file_desc/supportforum/LqWIfDbWhyU

however, you can maintain a collection to map file id,name, url and use them to get url from collection and then pass its variable in process.

Regads,
Murali
Reply all
Reply to author
Forward
0 new messages