Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > The JavaScript Library > Graphic Rules


Thread Tools Search this Thread Display Modes
Old July 13th, 2018, 02:53 PM
sandig199 sandig199 is offline
Junior Community Member
Join Date: Jul 2018
Location: Grand Rapids MI EST
Posts: 15
Default 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.
Reply With Quote

dsf, graphic

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 02:30 PM.

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