Using Images with Plug-Ins

To use images with plug-ins:

  1. Add the images to the database by creating new image definitions in PeopleSoft Application Designer.

  2. Create an iScript method to download the images you need for the plug-in, for example:

    Function IScript_ GetImages
       &ImageURL = %Response.GetImageURL(Image.XYZ);
       %Response.Write(&ImageURL);
    End-Function;
    
  3. Send an AJAX request from the plug-in to the iScript method.

    The response is the image URL.

  4. Use the image URL to display the image for the plug-in.