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.

Need help for an article on IWP and plug-ins

Featured Replies

I realize that this is the not the IWP list but I need help for an article that is going to be published soon.

I have been trying to figure out a way to print from IWP using a plug-in to call a script. I have tried waves in motions events plugin as well as troi's activator plug-in to try and run a script when a new record is created, or when a field is activated. So far no luck.

With IWP you have to create a new record and then use the commit record script step for the info to be saved in FM. However even though a new record is created the plug-in does not fire off. Any ideas on how this could be accomplished would be GREATLY appreciated! The other problem is print is not supported nor exporting. If a way to trick FileMaker could be found, it could run a native script...Please let me know your thoughts!

Thank you

Joe

Can you trigger the Script via a "Auto-Enter" calculated vaule?

Good Luck.

Garry

  • Author

I tried to get this work with Troi's plug-in..For some reason FileMaker doesn't seem to relate this to an internal filemaker function.

I tested this using a plug-in that when a new record was created it would fire off a script (waves in motion events plugin) I wanted it to fire off a script routine but that didnt work.

I then set up a validation field and tested it with troi's plug-in...no luck. I may have set the validation up incorrectly. I'm willing to donate free plug-ins from my site to anyone that can help with this.

I appreciate any help I can get with this!!!

Thanks so much!

You need to think about the context of printing using IWP. Which machine do you expect the printing to happen on? The FileMaker server or client hosting the files? The machine viewing the web page using a browser?

IWP does not support plug-in operation. Plug-ins function on the machine running FM. This could be a FM client to FM Server or FM Client hosting a file directly. There is no context for a plug-in to run on the machine viewing FM data via a browser, the plug-in is not installed this machine. On the machine running the browser you can only print browser screens directly.

-bd

Using the "Waves In Motion" Events 4.0 plugin I have it working smoothly ???-) (This is before the IWP test, I will now test with IWP!)

Here is the Validation test for the field named "event":

WavEv_RunScript( "combotest.fp7"; "test" ; "0" ) = event

If I enter 0 into the field the Script is run without any pop-ups etc :-)

I am using FM 7 with OS X 10.3.5

All the best.

Garry

  • Author

The print example is just an example of a script step that cannot be performed using IWP. What we would actually like to do is to be able to have the plug-in fire off, export a document to the web folder and have the user click on an active link that links to the new file created and print that from the web.

I know this sounds crazy, but we are trying to develop some work arounds for the limitations of IWP.

For some reason a call to a Plugin in a Validation or a Calculated field does not happen when the User has access via IWP. Some actions in the Calculation field will occur, it is just the Plugin action that does not occur.

This is as if the IWP user does not have access rights to the Plug-in. Hence, the Calculation field will not perform any actions related to a Plugin frown.gif

-bd

This is an attempt to access the Plugin back on the Server, so that the Actions occur on the Server. The aim is to "trigger" this via an IWP Form submission.

All the best.

Garry

  • 7 months later...
  • Newbies

Its been nearly 9 months since you posted this, but have you had any luck making a work-around or plug-in for exporting, printing or sorting from a browser accessed machine using IWP?

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.