cancel
Showing results for 
Search instead for 
Did you mean: 

how create url iview for html file and capture messsage from html file????

Former Member
0 Kudos

Hi,

I have created a html file locally on my machine. I have created url iview and placed the url of html file in the url box. when i click on go, it is displaying that "unable to fetch site http://c:\abc.html file" message is displaying.

my requirement is i have created some text messages in html file and i want to capture the message from html file.

how can i do this to capture the message from html file.

awaiting for reply

regards

vv

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I think you have to put the HTML file somewhere on your filesystem where a Webserver (like the WebAS) can access them (so that your HTML file is available via a brower).

So you could either put this html file (or create a new one with the [HTML Editor|http://help.sap.com/saphelp_nw70/helpdata/en/e6/62f8cb7afd764e9600360257202bc1/frameset.htm]) somewhere in your KM repository (by this you would also be able to easily edit the file via the KM interface) and use a [KM Documents iView|http://help.sap.com/saphelp_nw70/helpdata/en/fc/cf14bcd42911d5994400508b6b8b11/frameset.htm] to display the file,

or you could create a folder on the server of the J2EE Engine (D:\myHTMLFiles) and define an [HTTP Alias|http://help.sap.com/saphelp_nw70/helpdata/en/4e/2030c831334946a40ebb979a2ef59d/frameset.htm], e.g. htmlfiles. Then you will be able to open your HTML files via http://servername:port/htmlfiles/xxx where xxx are your files located in the d:\myHTMLFiles folder on the J2EE Engine. Then you would have to create your URL iView which points to the URL http://servername:port/htmlfiles/xxx

Hope this helps,

Holger.

Former Member
0 Kudos

Hi Holger,

Thank you for your quick reply.

one ".cfm" file is created and placed in the server. the following url is used in the url iview to capture the message and display on the portal masthead area.

"http://folder1/example.cfm?articleid=1234"

now after logging into the portal, "could not locate the captured content area defined for the iveiw on the source webpage" message is displaying instead of message. when i tried to capture the data, the screen itself is not displaying properly.

client's requirement is they need an html file must be used in the url iview sothat whenever they want to change the message of their own, they can simply change in the html instead of calling us evertime to change the message.

and the html link provided is : "http://folder1/html_files\xyz SAP message.htm" . i tried to place this link in the url. but it is not fetching.

is there any solution for this problem to solve?

regards,

vv

Former Member
0 Kudos

Hi,

so what you want to achieve is to display the file http://folder1/html_files\xyz SAP message.htm in your masthead, right?

Can you call this URL http://folder1/html_files\xyz SAP message.htm from different clients via a web browser (I just want to make sure that we are not talking about a file that is on your local computer, but it actually already is on a webserver).

If this is possible than you should be able to create a simple URL iView (without having to capture anything). Do that and you should be fine.

Regards,

Holger.

Former Member
0 Kudos

Hi,

you are correct. i want to display the mesage which is in html file on the masthead.

xyz sap message.htm file is already created in the webserver.

I have created URL iview and placed "http://folder1/html_files\xyz sap message.htm" in url. when i click on "GO" button, an error message "unable to fetch the site http://folder1/html_files\xyz sap message.htm error #400" is displaying.

can you pls tell me the next step to do

regards,

vv

Former Member
0 Kudos

Hi,

first of all I don't know if this is just a typo or not, but the URL http://folder1/html_files\xyz sap message.htm cannot work. (there is a "\" in your path).

Please do the following: open this URL in your browser. Then just copy and paste this URL to the URL iView. Then do not click on go to caputure anything, just click on Next/Finish.

Regards,

Holger.

Former Member
0 Kudos

HI,

when i'm trying to open the link which was provided by the client, page is not opening.

the two links which were provided by them are not opening in my machine.

do i require any access rights for these links to open in my machine?

vv

Former Member
0 Kudos

Hi,

where exactly is the file located? Is it on your disk?

You have to make these files available via a web server (see the first post). Then you should be able to access these files via a browser and the URL http://servername:port/folder/filename

Hope his helps,

Holger.