In the OTN forums, someone recently asked how to use Component Branding in PeopleTools 8.54.
Component Branding introduced in 8.54 seems to be a great way to target specific components and override certain style sheets without affecting the rest of the components in the application. It also provides a way to inject custom javascript into a component. All these activities can be done by a Portal Administrator without having the need to use App Designer.
Here is a short example of how Component Branding can be used.
In this example, I will be overriding the delivered style class PSEDITBOXLABEL specific to my test component. This style override will not take effect on any other component.
- Create Custom Style Sheet:
- Apply Custom Style Sheet to Component Branding:
- Test Component:
Notice how the Edit Box Label appears Red for my test component!
Component Branding introduced in 8.54 seems to be a great way to target specific components and override certain style sheets without affecting the rest of the components in the application. It also provides a way to inject custom javascript into a component. All these activities can be done by a Portal Administrator without having the need to use App Designer.
Here is a short example of how Component Branding can be used.
In this example, I will be overriding the delivered style class PSEDITBOXLABEL specific to my test component. This style override will not take effect on any other component.
- Create Custom Style Sheet:
- Apply Custom Style Sheet to Component Branding:
- Test Component:
Notice how the Edit Box Label appears Red for my test component!