on 01-28-2009 4:43 PM
Hello,
I want to put graphic on Adobe form. I am using SFP transaction. But the graphic is not going to be static. Its going to be dynamic. Its actually going to be a URL link and the image file will be changed based on certain logic. Is this possible ?
//XXX/YYY/1.bmp
//XXX/YYY/2.bmp
//XXX/YYY/3.bmp
Where do I write the code so that URL will actually pointing to a datastream that will be created based on predefined logic ?
Thanks.
Regards,
Rajesh.
Hey Rajesh,
How are you using the form? HCM P&F, WD Java, etc?
Is there a trigger when the form loads that you can identify, and based on that, call the image that you want? I would put some kind of check in the initialization of whatever method you are using, and when you find the value that you are looking for, then assign the appropriate image to your context attribute, or class parameter...
Cheers,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Rajesh,
Here is something that you can try...
- you could upload all three images to the form
- place them all in the same location and set their presence all to hidden
- pass a value to a field that is hidden on the form
- check the value of the field
- then set the presence of the image from hidden to visible, $.presence = "visible"
Just remember when loading the image into the form, select the "Embed Image Data" check box.
This way, you don't have to worry about an image being removed from a specific location.
Hope this helps...
Cheers,
Kevin
Build the URL with scripting from the values of your context or insert the URL directly via the interface and use it in the ImageField object.
Frank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.