Customize edit display fields
Edit the profileEdit.ftl file to customize edit display fields.
To edit configuration files, use wsadmin.sh.
Use the profileEdit.ftl template to customize the profile field display on the profile edit 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/profileEdit.ftl file.
- Modify the file contents to include any custom HTML or fields.
Section Description contactInformation
Content in this section is rendered in the Contact Information tab on the Edit Profile page.
Required; do not remove.
associatedInformation
Content in this section is rendered in the About Me tab on the Edit Profile page.
Required; do not remove.
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