Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7131 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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!

Posted

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

Posted

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

Posted

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.

Posted

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
Posted

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?

This topic is 7131 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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