Making business card fields expand and collapse
We configure the Person card to display the business card fields for a selected name. Users can click a small control to expand the rest of the profile or hide it from view. You enable or disable this control by modifying the showExpandableSection custom property in the WAS console.
- Select the appropriate console, depending on the environment:
- In a stand-alone environment, use the local WAS console.
- If running in a cluster, use the console of the dmgr.
- Start the WAS console by entering the URL in the location field of a web browser:
http://example.com:admin_port/ibm/console
Where example.com is the name of the server and admin_port is the port assigned to the WAS console.
- In the navigation, click Resources > Resource Environment > Resource Environment Providers.
- Locate and click the resource WP PeopleService.
- Under Additional Properties, click Custom Properties.
- Locate the custom property showExpandableSection and set the value as needed:
true enables the control, allowing users to click either Show More to expand the business card, or Show Less to collapse the business card.
false hides the control.
- Click Apply and then save the settings.
- Restart the portal server.