on 02-25-2009 4:08 AM
Hi
I am facing issue while trying to display image in adobe form. The image source is comming from backend R/3 in the form of URL something like the below shown URL which is again a dynamic one http:
<hostname>:<port>\....\...\asu09939e7664352s293952e052772365e425345324f29349234324323200
I have tried with the following code with Forcalc as scripting language for an image field
$.value.#image.href = $record.photourl
Can someone put some light on the above issue.
Regards
Srikanth Anthargam
Hi
The above soutions did not worked ...
Ok let me explain indetails I have a contextVariable photoUrl where this url will be filled with value which is a image url http:
<hostname>:<port>\....\...\asu09939e7664352s293952e052772365e425345324f29349234324323200 So now we have the above url in context variable, now i want to display the above URL image in interactive form.
Thanks a lot for the replies
regards,
Srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi:
This blog maybe help you!
But the image only display if the picture exist in WAS path , perhaps it can not display if use R3 path.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Srikant,
Do the following :
1 . Drag a ImageField onto the form
2. Goto Layout of the imagefield and change "Caption" to none.
3. Goto Object Tab and in the "URL" property enter $record.photourl (You will have to type this manually)
4.In the Initilase method og the ImageField write the following code
this.value.image.href = xfa.resolveNode(this.value.image.href).value;
Edited by: Virag Shinde on Feb 25, 2009 3:38 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Srikanth,
Try this
this.image.value.href = xfa.record.url
If you have URL value inside any node then u have to use xfa.record.nodename.url .
Thanks and Regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.