MarcomCentral (PTI) and FusionPro User Communities

MarcomCentral (PTI) and FusionPro User Communities (http://forums.pti.com/index.php)
-   Graphic Rules (http://forums.pti.com/forumdisplay.php?f=33)
-   -   Return text based on a graphic selected (http://forums.pti.com/showthread.php?t=5169)

sandig199 July 13th, 2018 01:53 PM

Return text based on a graphic selected
 
I have tried several attempts, and cannot figure this out.


I have text fields that I want to populate based on the image selected from the graphic gallery in DSF.
_____
if (Field("image") == "thisimagename.pdf") //image is a graphic field in DSF

return Resource("this text resource"); //return content in text frame



___
I cannot get this to work in DSF




What image name is DSF looking for?
Is DSF changing the image name?

For example, in this text rule: GetFileName(Field("image"));
DSF returns: 7c673657-c905-483e-857d-d79788325812.pdf in the store generated PDF.


All times are GMT -7. The time now is 07:21 AM.

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