cancel
Showing results for 
Search instead for 
Did you mean: 

Login screen error when ran in outlook

former_member498918
Participant
0 Kudos

When you try and run the ITS in Outlook a script error occurs. The error says window.location.hostname.match(...).8 is null or not an object. If you setup a global user, i.e. skipping the login page the error does not occur.

It asks if you want to debug. If you click no and skip past the error you can then login and use the ITS screen from within outlook.

Is this something that I can fix?

Thanks for your help

Karen

Accepted Solutions (1)

Accepted Solutions (1)

former_member185704
Contributor
0 Kudos

Hi Karen,

Please specify what you mean exactly with "run the ITS in Outlook". Do you get an URL to an ITS by email and click on the link?

Why is it necessary for you to "run the ITS in Outlook"?

Best regards,

Henning.

former_member498918
Participant
0 Kudos

You can create a folder in Outlook, i.e. within outlook today. You can then assign a home page to this folder in the properties of the folder. When you click on the folder it runs the web page within Outlook.

This works for the ITS if I set a global login. The error only appears if the login page is required.

People run web pages through outlook when working from home. I'm not sure of the exact reasons, but they want to be able to logon to the ITS from the folder in Outlook.

former_member185704
Contributor
0 Kudos

Hi Karen,

It seems that Outlook uses a cached local copy of the login page that doesn't belong to any domain any longer. That's why the error occurs. The Javascript expects that the page belongs to a valid domain.

One solution would be to create a webpage on a webserver (local pages won't work because Outlook only accepts http://-strings) that redirects to the login page of SAP GUI for HTML. Let the users type the url to this new webpage into the property dialog of the outlook folder.

The sourcecode of the HTML-file can look like this and should work (I've tested it):

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta content="text/html; charset=ISO-8859-1"

http-equiv="content-type">

<meta http-equiv="refresh" content="0;url=http://yourITS/scripts/wgate/webgui/!">

<title>testpage</title>

</head>

<body><p>Please wait!</p></body>

</html>

This is only one way to get rid of the error messages. There are others, but this seems to be the simplest solution.

Best regards,

Henning.

P.S.: Please grant reward points to all authors of helpful answers. If you are satisfied with the solution provided for your question, please mark the topic as answered.

former_member498918
Participant
0 Kudos

I can see what the problem is now. Your suggestion works.

Thank-you for your help

Karen

Answers (0)