Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Logout leads to IWP default page - how to change?

Featured Replies

I have a home page that contains links to FM databases published through IWP in FM Server 7 Adv. When users click "Logout" or "Cancel" on the logon window they are automatically redirected to the default iwp page. Is there a way to change that? Right now to return to that home page they have to start all over again and it is really a pain.

Thank you very much!

I believe you can edit the IWP homepage, you would just have to locate it in your FM folder, turn it into a redirection page. So yes, they see it, but then in 1 sec it sends them straight back to your home page.

  • Author

I am new to FMSA 7. Could you tell me where I should look for that page? So far I found only the default error page in on of the Library/FileMaker Server 7/... folders.

Thank you very much!

I am also looking for similar information. Can someone help? Thank you

The FileMaker IWP home page is located at:

filemakerpro7/extensions/websupport/resource/iwpres/iwp_home.html

You can rename the iwp_home.html to iwp_home_old.html and build a new page

named iwp_home.html that redirects you back to wherever you want.

  • 6 years later...

With IWP, whenever you click the Cancel button on the login page or execute an 'Exit Application' script command, FM loads the 'iwp_home.html' page. By default this displays a directory of all available FM databases. If you want the browser to go somewhere else when the user clicks Cancel/Exit App, you can simply replace the default 'iwp_home.html page with a page that does a redirect. So.. make an html:


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

"http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">

<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8">

<title>My Web Site</title>

</head>

<body>

	<p>Redirecting please wait...</p>

	<script type="text/javascript">window.location="http://www.mywebsite.com/"</script>

</body>

</html>

Just replace the URL above with the location you want the user to go. Then save in a text file named 'iwp_home.html' and replace the existing file located at:

C:\Program Files (x86)\FileMaker\FileMaker Server\Web Publishing\publishing-engine\wpc\Resources\iwpres\iwp_home.html

You may want to rename the existing file 'OLD' so that you can revert.

Not sure what prompted you to respond to a 6-year old thread, but thanks for posting some useful info. :exactly:

One more thing on this issue...

There is an error in the Javascript code of the sample HTML page above. The <script> tag should read as follows:


<script type="text/javascript">top.location="http://www.mywebsite.com/"</script>

Because FM IWP uses frames, to properly redirect to your custom URL you must reference the 'top' object for the redirect (not the 'window' object). Whenever a frameset is loaded into the main window a frame tree is created which sort of takes the place of the normal 'window' object. This new object is called 'top' in the DOM.

And yes.. I did realize that this was a pretty old post. I had to solve this problem the other day and could not find a solution. So thought I'd write it down for future reference. Cheers!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.