Here's what I did. I copied the Demo table, scripts, and even the layout items and pasted it all into my solution, which is called "Intakeform". I related the Demo table to my main table by creating a field called personal_ID in the Demo table, and relating that to my Personal Info table via agreement_ID.
What I'm trying to do is create PDFs on webdirect. The only difference between what I'm trying to do, and the Demo database from 360Works is that I want to navigate to multiple layouts, save them all as PDFs and then append them to one PDF, and have it show up in the container field.
I have that working in Filemaker Pro Adv, hosted remotely, and local to my machine.
For testing purposes, I Filemaker Server running on my local machine. I am planning to move it to my hosting environment at Foxtail tomorrow.
When I click the button on webdirect, nothing happens. When I click the button on Filemaker, it collects the layouts, saves them to PDF, and it shows up in the container field, without fail.
I'm wondering if the problem is the port. I am going to try to hard code that, instead of getting it from the port field in the Demo table.
So this is what I am attempting: hardcoding the port.
Changed above IWP_Generate PDF script to hardcode port.
RemoteScripterTrigger( Get(HostIPAddress) ; //We assume that FileMaker Pro client is running on the same computer as IWP, but this could also be the address of a separate processing computer
7244 ; //Selected port number. Needs to match the port number that the plugin was started on in FileMaker Pro Client "param" //It is possible to put anything here, which will be sent to the script as a script parameter )
And then I'm restart the plug-in on localhost.
timothy$ fmsadmin restart wpe -y
timothy$ fmsadmin restart fmse -y
timothy$ netstat -a | grep 7244
tcp4 0 0 *.7244 *.* LISTEN
Marthas-MacBook-Pro-2:~ timothy$
Still no luck.
Webdirect first click, nothing shows up.
In filemaker pro, everything works as expected:
Then in webdirect, we see the attachment in the container:
I need to make this work in webdirect alone.