Jump to content

Can a rule control fill or line color for a container?

Recommended Posts



Is there any way to use a javascript rule to control the color for the fill or border of a container in a data-driven fashion? By "data-driven" I mean being able to use a color specified in the data rather than picking from an already-existing color that was defined in the template.


Context -- we have clients who are doing mailings on behalf of partner companies. They would like to be able to specify, in data, a corporate color that would be used for some text and for some graphic backgrounds.


I can see how to use a rule to define a text color on the fly, but it appears that a rule can only set the fill and border color to a pre-defined color (i.e. referencing it by name) and cannot set a fill or border color to a CMYK value.


Any ideas?




Andy Shaw

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.

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...