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.

URL to open a layout or run a script on opening

Featured Replies

I was hoping to have my iwp file (Hosted on FMSA) open to a different layout or run a particular script by the url link I supply

 

I have tried

 

<TheIPaddress>/fmi/iwp/cgi?-db=<TheDatabaseName>&-loadframes?script=<TheScriptName>

 

and

 

<TheIPaddress>/fmi/iwp/cgi?-db=<TheDatabaseName>&-loadframes?layout=<TheLayoutName>

 

But all I get is either an error message saying "Bad request - The server could not process your request due to an illegal parameter:"-loadframes?script"".

Sometimes I just get a blank page but no error message.

 

Is it because I already have an opening script and an opening layout defined for the file?

 

Or is it my url?

I'm no expert with IWP but I didn't think you could do that.

 

You can use a URL to run a script within FileMaker CLIENT...

 

But then again maybe this link will help, which seems to discuss creating records directly from a URL...

 

http://forums.filemaker.com/posts/ff40578a67

  • 3 weeks later...

If I understand your question right, you can determine if the user is connecting via the FM Pro client or the web and take action appropriately with that information.

 

For example

  If [Position( Get ( ApplicationVersion ); "Web" ; 1 ; 1 ) > 0]

  Go to Layout ["Web Layout"]

  Else

  Go to Layout ["Client Layout"]

  End If

should do the trick.  

The Get ( ApplicationVersion ) function returns information on which vehicle is being used to access the database.

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.