Viewing All Images in the Image Catalog

You might want to see the images that exist in the image catalog. PeopleSoft Application Designer enables you to see some of the image definitions. However, you have to open each image definition. You can view all images online by creating a custom component. The elements of the component should include:

  1. A record definition that contains one long character field.

  2. A page definition that contains an HTML area you associate to the record field.

  3. A SQL definition that retrieves the names of all image definitions in the image catalog.

  4. A PeopleCode program that generates text in HTML format.

    The program should generate the HTML by looping through and enclosing each image definition name in the appropriate HTML and meta-HTML tags. The program can also add the image name and a line break so that the page is crisper. The program must concatenate the lines together to form the HTML as a string. Each line of HTML should look similar to this line:

    |"<img src='%Image("|&ImageDefinitionName|")'/>"|&ImageDefinitionName|"<BR />"

    Finally, the program must assign the string output to the HTML record field that you associated to the HTML area.

After you create the component, you must register it and grant the appropriate permissions. Then you can access the page and view the images.