Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

  • Newbies
Posted

I'm looking for a plug-in that would allow an IWP-user to print a "real" report.

Here's the workflow I'm looking for...

1. User finds desired record (e.g., an invoice)

2. User clicks a "Generate PDF" button that triggers a script.

3. The script generates a PDF of a report layout (not an IWP screen layout) and stores it in a container field.

4. Voilà:B the user can now view, open and print a "real" report even though they're using IWP.

Can anyone out there help turn my fantasy into reality?

  • 3 years later...
Posted

Hi Demnos, This can be done, it is not elegant but it does work.  You need a robot machine.

 

1/ User clicks create pdf on IWP page, field is set to attract robot

2/ Web script is thrown into LONG loop with a loop field that is set to 'running' (This stalls the loading of the page while pdf is created)

3/ Robot creates pdf and loads to container then sets loop field to 'done'

4/ Web script detects loop field ='done' and completes execution

 

This is of course a bit simplified, but it does work quite well.  You can then see the pdf in the container and load it in a web page or download it etc.  Load on server does not seem to be a problem with the long loop.  (No more than normal load of script execution.)

 

The main issues I found was that IWP hangs at odd times which can be a problem.  It may be better now with later version.  (I was using FMSA 8)

 

Hope that helps.

 

Regards,

Lance

This topic is 4385 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.