Best practices for Portal Page Developers
Do Portal Pages inherit CSS from the rest of the application?
If setting "Catalog Layout" is set to "yes", a Portal page inherits all styles from the application, including its theme (if applicable).
To use custom CSS classes, we recommend adding a prefix cp_ (custom page) in front of new class names. iframes can be used to prevent CSS overlaps from happening.
If I use a custom theme, how do I apply those colors/styling to my portal page?
- If "Catalog Layout" is set to "yes", the theme will be applied automatically.
- If "Catalog Layout" is set to "no", the developer should explicitly include theme CSS in their layout.
- jQuery must be used in no-conflict mode
- Highcharts v5.0.4 and Underscore.js version 1.8.3 are available globally
- Ext.js is not allowed
How should I manage my assets?
Note: You are not able to reference externally hosted libraries. They must be hosted within the MI system itself. We enforce this to meet common security requirements in the enterprise.