


Views
Replies
Total Likes
Views
Replies
Sign in to like this content
Total Likes
This would be extremely useful to know. Or at the very least, I would like to know how to find the path of the Image Field object. The problem is I do not want to embed the files on the PDF. It would be much more efficient for me to store hyperlinks to our shared directory. So I really don't even want to do anything with file uploading or downloading. I just want to know the absolute path of a specified file. (Which the Image Feild object looks like it might be able to do).
Help!!!!
Views
Replies
Sign in to like this content
Total Likes
There is no direct call to it but you can figure it out. You can query the object to get the href to where the image is loaded from.
This path will be relative to where the designer loaded the image from (you can put an absolute path in there if you wish in fact in your case I recommend it). Now you can parse the string that is returned to get the path that you want.
Paul
Views
Replies
Total Likes
hmmmm... Image1.value.image.href, does not seem to be returning a string or at the very least it is not returning a value that i can store in a text field.
ie.
ACR.Extra.TextField1::click - (JavaScript, client)
this.rawValue
= ImageField1.value.image.href;
is there something else I need to do?
Views
Replies
Sign in to like this content
Total Likes
I took a bit of a deeper look here
and it appears like I had a bit of the syntax wrong. But even with the example code that they provided I was unable to store the string in a text field.
Views
Replies
Sign in to like this content
Total Likes
Post your form and I will have a look.
Paul
Views
Replies
Total Likes
Here it is. The event I have here just prints the href in a messageBox.
Views
Replies
Sign in to like this content
Total Likes
The command I gace you earlier works if you do not embed the image. Note ....do not add a reolveNode node ...use it as I gave it to you. When you embed the image the location of the file name changes to this expression:
xfa.host.messageBox(ImageField1.desc.embeddedHref.value);
Paul
Views
Replies
Total Likes
If you change the image though, it no longer stores the value?
Views
Replies
Sign in to like this content
Total Likes