Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Include CSS in a web form workflow

Created: 04 Sep 2013 • Updated: 05 Sep 2013 | 4 comments
This issue has been solved. See solution.

I have a CSS file that I would like to use in my workflow. I'm trying to get my workflow to use it. I'm using the includeHTML component, but I don't know what to put in the "Text to Include" section. Do I put the file path to the CSS file in there?

I guess what I'm asking is how to use this component if I already have a working CSS file.

Operating Systems:

Comments 4 CommentsJump to latest comment

reecardo's picture

Add the CSS file as a resource to your project so it can be published with the project on deploy.

As far as IncludeHTML comp, to try and use it with this scenario, you probably just need to put a LINK tag in there. LINK tags look like this:

<LINK rel="stylesheet" type="text/css" href="<NAME OF CSS FILE>"></LINK>

You'd want to add this as text vs. a URL.

I'm testing this out now to see if it works. But the more elegant solution would be to use a theme (Workflow's application of stylesheets). You can use one of several themes that come with the product or create your own in the Theme Editor (which will also convert a CSS to an xTheme, if you need it). Then you can just flip the theme on the form.

oshgosh's picture

How do I get the theme editor to convert a CSS file into an xTheme?

reecardo's picture

Just select File - Open, and select your .css. Then it can be saved as an xTheme. (note this will not modify the css at all, it basically just creates an xtheme based on the CSS)