CWP Scripting

1 message Options
Embed this post
Permalink
Aaron Woitkovich

CWP Scripting

Reply Threaded More More options
Print post
Permalink
Hi Experts,
 
I am working on creating a CWP compatible script within Filemaker.  It
seems to function properly when fired directly from Filemaker Pro and
from IWP but not from CWP.   I assume this is because I am switching
layouts and/or creating finds from the original found set.  Could
someone please tell me if the actions that I want to implement below are
compatible with CWP?
 
Thanks,
Aaron
 
Script:
 
Part I:
Set Field AttendeesPassed = Substitute
(Site_Coordinator::AttendeesPassed ; "," ; "Pilcrow")
Set Variable $CourseAttend
Set Variable $ID
Set Variable $N
Set Variable $Current ID
 
Part II:
Go to Layout (Attendees) - This is a related record by Site Coordinator
ID.   The original script is fired from the PHP solution on a page that
has successfully isolated the Site Coordinator record.
Enter Find Mode
Loops through and inserts the values in the Attendees Passed field.
Performs the find
 
Part III:
Loops through the found set and duplicates records, omits the previous
record, and modifies the CourseAttend field on the new records by
replacing the existing value with the $CourseAttend variable.
 
I believe the script is failing as soon as the "Go To Layout" step is
selected.  Is it possible to write a script that Filemaker can execute
from CWP where it knows the layouts and related references?  I
originally thought if my script was compatible with IWP that it would be
compatible with CWP, but that doesn't appear to be the case.  I can
provide the entire script if needed, but the functionality is there, I
just don't think its firing.
 
Thanks for the assistance.
 
Aaron
 
 
_______________________________________________
FMPexperts mailing list
[hidden email]
http://lists.ironclad.net.au/listinfo.cgi/fmpexperts-ironclad.net.au