Using file resources with pass-thru HTML

The documentation explains how to insert a file resource to a form, but how can I manually build a URL that points to a file resource? An example would be enough.

Thanks

Subject: Using file resources with pass-thru HTML

Don’t know if this helps at all… Computed text on the form →

@If(Rnd = 1 ; “<img src = /” + URLPart + “/1.jpg?OpenImageResource width=512 height=384 >” ;

Rnd = 2 ; “<img src = /” + URLPart + “/1.jpg?OpenImageResource width=512 height=384 >” ;

Rnd = 3 ;“<img src = /” + URLPart + “/2.jpg?OpenImageResource width=512 height=384 >” ;

Rnd = 4 ; “<img src = /” + URLPart + “/2.jpg?OpenImageResource width=512 height=384 >” ;

Rnd = 5 ; “<img src = /” + URLPart + “/3.jpg?OpenImageResource width=512 height=384 >” ;

“<img src = /” + URLPart + “/3.jpg?OpenImageResource width=512 height=384 >”)

Subject: Using file resources with pass-thru HTML

One of my sub-home pages has an I-Frame scroller in it. The content of the scroller is controled by an html file which is stored as a file resources in the database. The page is just passthru html and the that contains the file resource reference is as follows:

The src=“/external.htm” refers to the file resources. So, a full url would be something like: http://server.name/database.nsf/fileresource.htm

Subject: Using file resources with pass-thru HTML

Hello

I am trying to load a JPG image which is hosted on a normal http server into a form. I have tried simply pasting HTML into the form and setting the passthru HTML protpereties ie

This did not work

If anyone can give me any tips or even better working code example I would be very greatful.

Thanks in Advance

Ollie

Subject: Using file resources with pass-thru HTML

Try this:

http://server/database.nsf/fileresource.htm

I have a page of passthru html that has an I-Frame scroller. The content of the scroller is controlled by as separate html file which I have stored in the database as a file resource. the scroller refers to the file with: “src=”/filename.htm" where filename.htm is the name of the file resource. I tried the url above and it worked for me. Hope this helps.