CSS Loader

Trying to use the CSS Loader to change the Background Image based on the user profile. What text string do I need to return from the microflow to enable this to work? I've tried this text: background-image: url("BG-Child.jpg") !important; but that has not worked, the jpg is in the theme directory of the project.
1 answers

You will need the absolute URL of the application in order to load it. Just like how you would do that if you render the css inline from a form.

Since you probably use different environments (T, A, P) you can't rely on a static link. So you could check your environment in a microflow and build up the URL.

Usually the URL looks like this: {App URL}/img/{Image name}.jpg