Sun Java System Portal Server 7.1 Deployment Planning Guide

Working with the Display Profile

If you need to troubleshoot the XML contents of your portal’s display profile, extract the contents to a file for examination. At some point in the troubleshooting process, it might be useful to reload the display profile.

ProcedureTo Extract the Display Profile

  1. Login as administrator.

  2. Use the psadmin command to extract the display profile. For example:

    psadmin list-display-profile -u uid=amadmin,ou=People,dc=pstest,dc=com -f /tmp/passwd -p portal1 -o /tmp/global_dp.xml -g

    This example puts the contents of the display profile into the /tmp/global_dp.xml file.

ProcedureTo Reload the Display Profile

  1. Login as administrator.

  2. Use the psadmin command to reload the display profile. For example:

    psadmin modify-display-profile -u uid=amadmin,ou=People, dc=pstest,dc=com -f /tmp/passwd -d uid=user001,ou=People,o=DeveloperSample,dc=pstest,dc=com -p portal1 /tmp/updated_display.xml

    This example reloads the contents of the display profile from the /tmp/updated_displayxml file.