Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Referring to local html page with HTML control

Hi,

I have added a folder called invoices to files as below. I have added the files as in screenshot, How do I show the index.html file in an HTML control?

Image

Thanks,
Aeneas

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Referring to local html page with HTML control

Hello Aeneas,

You can simply set a source for html component, it's not an image.
This code should be inserted manually, use only inside body tags, do not use code<html> /code, code<head> /code or code<body> /code tags.

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Referring to local html page with HTML control

How do I refer to the page using a relative reference without using http://www. stabletrack.net/ first? Something like /files/invoices.... Can you please provide html source code?

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Referring to local html page with HTML control

ie this works


but this does not


Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Referring to local html page with HTML control

Hello Aeneas,

Sorry, could you please clarify your last reply - there should be some code or images?

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Referring to local html page with HTML control

If I refer to html page as

http://www. stabletrack.net/files/invoices/ type1/index.html it works but I want a relative reference to work without http://www. stabletrack.net

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Referring to local html page with HTML control

Hi Aeneas,

Try to use "files/invoices/ type1/index.html" -- and see if that helps.

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Referring to local html page with HTML control

Hi, I get this error in the server code when I try your above suggestion.

Script CreateInvoice: Error ( @ 38 : 18 ) - throw e;

The code I am using is

var document=XHR2.send("GET", "files/invoices/type1/index.html");

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Referring to local html page with HTML control

Aeneas,

If you make call from your server-code script then it's impossible, it can be done somehow from the app, because the page is inside it.

Aeneas McBurney
Posts: 0
Joined: Mon Jun 16, 2014 7:49 am

Referring to local html page with HTML control

How can this be referenced via the app?

Return to “Issues”