Customize profile page display
Edit the profileDetails.ftl file to customize the display of profile properties on the main profile page.
Use the profileDetails.ftl template to render multiple sections of the main profile page.
- Check out the Profiles configuration files:
app_server_root/profiles/Dmgr01/bin
./wsadmin.sh -lang jython
execfile("profilesAdmin.py")
ProfilesConfigService.checkOutConfig("/tmp", "cell_name")To determine cell name:
print AdminControl.getCell()
- Open the LotusConnections-config/profiles/templates/profileDetails.ftl file.
- Modify the file contents to include any custom HTML or fields.
Section Description jobInformation
Content in this section is rendered on the main profile page data section and appears after the user name.
Required; do not remove.
contactInformation
Content in this section is rendered in the Contact Information widget.
Required if the Contact Information widget is deployed in widgets-config.xml.
associatedInformation
Content in this section is rendered in the Background Information widget.
Required if the Background Information widget is deployed in widgets-config.xml.
customSection
We can define new sections to render in alternate widgets or in HTML format available to a REST API request.
For more information about using these settings, see Create a simple profile data model and template customization.
- Save the changes.
- After making changes, check the configuration files back in, and we must do so during the same wsadmin session in which you checked them out for the changes to take effect. See Applying property changes in Profiles for information about how to save and apply the changes.
- If we have enabled template reloading, the changes are reflected immediately in the user interface. If not, restart the application to recompile the template and display the customization changes.
Parent topic:
Customize display using templates
Related:
Create a simple profile data model and template customization