Using Images with Plug-Ins
To use images with plug-ins:
Add the images to the database by creating new image definitions in PeopleSoft Application Designer.
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;
Send an AJAX request from the plug-in to the iScript method.
The response is the image URL.
Use the image URL to display the image for the plug-in.