PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Can you use macro values in styles sheets added to a component via AddStyleSheet function?

edited Aug 30, 2022 3:21PM in PeopleTools and Lifecycle Management - PSFT (MOSC) 1 commentQuestion

I have a style sheet I would like to add to a fluid component via the AddStyleSheet peoplecode function. Inside that style sheet I make use of macro values set through the Branding Theme Macro Sets component in the PIA.

I have noticed in some environments this is working as intended and the appropriate macro value gets resolved and loaded through the CSS, and in others the macro name remains (which is not an appropriate CSS property value).

For example:

color: %OUR_MACRO_NAME_HERE

The browser then discards this property since it is using the literal macro name and not the value it represents.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center