Show TOC

 Photo Maintenance for the User Details iViewLocate this document in the navigation structure

Use

The following functions are available for maintaining the user photographs that appear in the user details for portal users:

  • Individual photo maintenance(com.sap.netweaver.coll.PhotoMaintenance)

    This iView allows you to upload individual photographs for other users.

  • Mass upload of photographs(com.sap.netweaver.coll.demo.UserPhotoAdministrationMassUpload)

    This iView allows you to upload a larger number of user photographs. To do this, you create a job and run it as required.

Integration

With the separate iView for User Photo Maintenance (Self-Service), users can upload their own photographs to the system. For example, you can integrate this iView in the portal personalization menu.

Prerequisites
Prerequisites Description

General

In the system configuration (System Administration portal role required), you have configured the following objects (path: System Administration → System Configuration → Knowledge Management → Content Management → Global Services → User Photo):

  • Photo Types You can differentiate the specifications and checks for photographs by photo type. Default values: NORMAL and PREVIEW
  • File Size Check Checks the maximum size of the graphics file; default value 10 Kilobyte for the photo types NORMAL and PREVIEW
  • Format Check Checks the size (H x W) and resolution (bits per pixel) for graphics files of type JPEG. Default values for the photo types NORMAL and PREVIEW:
    • Depth: 24 bits per pixel
    • Height: 130 pixels
    • Width: 100 pixels

Special (for mass upload of photographs)

  • The Content Administration portal role is assigned to your user.
  • When saving the graphics files, you have heeded the following basic principles:
    • User ID = name of the graphics file
    • No umlauts in the file name
    • File type: JPEG (JPG)
    • Photograph size, resolution, and maximum file size conform to the configuration of the format check (see above)
    • Storage location: Network directory in your company (if necessary, with subdirectories)
  • If the graphics files already have names that differ to the specifications above, you have created a mapping file that corresponds to the following specification:
    • Name of the mapping file: mapping.properties
    • Storage location: same directory are the graphics files
    • Format: Text file
    • Character format: ANSI (ISO 8859-1)
      Note

      The system translates ANSI into Unicode automatically. For special character sets (for example, Japanese), you must encode each character as an escape sequence.

    • In the mapping file, you have stored an entry with the following syntax for each file name that does not match the specifications: <User ID>=<Name of the graphics file without the file extension>
Features
Function Description

Individual Photograph Maintenance

To upload photographs to the system, proceed as follows:

  • Use the search function to identify the user.
  • In the respective directory, find the corresponding graphics file.
  • Optional: As soon as you have selected the graphics file, launch the preview. You can upload and display more than one photograph one after another.
  • Save the photograph.
    Note

    In addition, you can delete photographs that are no longer needed.

Mass Upload of Photographs

  • Create a job with the following information:
    • Task Name (job name)
    • Upload Folder (path and name of the network directory)
    • Option Include Subfolders (upload takes into account the graphics files in subordinate directories)
    • Photo Type (photo type, for which the specifications are checked; possible default entries: NORMAL or PREVIEW)
    • Apply Checks (upload with the defined checks. Optional, because the checks affect performance)
    • Use Mapping (upload takes into account the entries in the mapping file)
  • Save the job.
  • To start the job, click the corresponding button (Run Task).
    Note

    You can delete the job and enter it again.