A portlet is a visual container that presents a set of related information about an object.
- Ensure that the portlet data is self contained and has no dependencies on other portlets. If a dependency exists, consolidate the data into one portlet or use a different data layout pattern.
- Ensure that all content in a portlet is visible by default without scrolling.
- Do not provide inline editing in a portlet—link to editing actions instead. For example, if a portlet shows errors, link to where users can remediate the problem. If the portlet shows version information, link to where users can upgrade the version.
- Use the Related Objects portlet for objects that have a 1:1 relationship with other objects. Link the portlet to the Related Objects tab, which shows 1:many relationships.
- Include a portlet even if it has no content or all content is disabled for the object. An empty portlet lets users know that the category of data exists and is being queried from the server, but currently no data is available.
The recommended minimum width of a portlet is 155 pixels. The maximum width is determined by the content.