Jump to content

Wildcards or regex in graphic resources?


Recommended Posts

Is it possible to use a wildcard or regex to match a filename from a database field?

 

In my database I have a callout for an image of "1", the actual filename is "1_logoname.pdf". All images have the underscore separator between the database callout and the additional description in the file name.

Link to comment
Share on other sites

Not really. If the number were the "wildcard" part, you could write your own algorithm to iterate and try 1_logoname.pdf, 2_logoname.pdf, etc. If the text part is "wild," that's harder: if there's a list of known possible values, you can put them into an array and try them one at a time. Otherwise, this is something that would need to be done with a custom application using FusionPro Server.
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...