View Single Post
  #2  
Old February 27th, 2012, 12:45 PM
esmith's Avatar
esmith esmith is offline
Senior Contributor
 
Join Date: Oct 2008
Location: Charlotte, NC
Posts: 870
Default Re: Assigning color in OnRecordStart

I don't know that that can be done with JavaScript within a FP rule. I would think you would need to define all your colors in the Color palette and then offer a drop down box on MarcomCentral for the user to choose the colors they want from your existing palette.

Having said that, I just recently learned that it is possible to write a custom XML .dif file during the call from the portal to FPServer. Since the .dif file contains the color definitions, it stands to reason that colors could be defined via custom-generated .difs for each "order". Since I am just now "stepping in the shallow end" of this concept, you will need Dan's assistance (as will I).
__________________
Eric Smith
Content Developer
Classic
FP 9.3.6, MAC OSX 10.9.4, Acrobat 11.0.09
Reply With Quote