rsager Posted August 16, 2012 Share Posted August 16, 2012 We are creating a personalized calendar for our customers and we would like the end user to be able to select the Expression Image they want for each of the months. Can I create a rule that will do this? Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted August 16, 2012 Share Posted August 16, 2012 Sure, just add all the Expression templates as resources, and call out the one you want in a rule with the Resource function. The Frodo Travel tutorial has an example of this. Quote Link to comment Share on other sites More sharing options...
biggestbossfan Posted August 20, 2012 Share Posted August 20, 2012 Hello Dan Looking for the Frodo Travel tutorial Cheers Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted August 20, 2012 Share Posted August 20, 2012 Looking for the Frodo Travel tutorial You can find the Tutorials from the menu in Acrobat: FusionPro -> Documentation -> Tutorials. Quote Link to comment Share on other sites More sharing options...
rsager Posted September 19, 2012 Author Share Posted September 19, 2012 Dan the Frodo Travel tutorial's example has the user picking the expression from a drop down list. I would like my users to choose a jpg file so they can see a preview of the expression first. Can I reference a jpg file in my rule that when picked will select the correct FPX expression file? My images are; Kenya.jpg, Ireland.jpg and Kenya.jpg PI Rule: var FPA=Field("City"); var FPB=ReplaceSubstring(FPA, " ",""); var FPX=(FPB+"FPX"); var myPI = Resource(FPX); var Var1="Name"; var Var2=ReplaceSubstring(Field(Var1)," ","#"); if (FPA=="Kenya") { myPI.AddData(Var2 + "#Was#Here!"); } if (FPA=="Ireland") { myPI.AddData(Var2); } if (FPA=="Italy") { myPI.AddData(Var2); } else { myPI.AddData(Field(Var1)); } return myPI; Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted September 19, 2012 Share Posted September 19, 2012 How exactly do your users "choose a jpg file?" Is this in MarcomCentral? And does the selection go into the "City" field as the first line in your example suggests? If so, you can probably just change the first line to this: var FPA=GetFileName(Field("City")).replace(".jpg", ""); Quote Link to comment Share on other sites More sharing options...
rsager Posted September 20, 2012 Author Share Posted September 20, 2012 Thanks Dan. This is exactly what we are looking for. We are creating an Expression Calendar. All the jpg and fpx files are uploaded into MarcomCentral. We want the users to choose the expression for each month but wanted a way for the user to see a preview of the expression first. Bob Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.