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

running script from [FMP-linkrecid] before going to format page


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

Recommended Posts

Posted

I have the following CDML, and I want to be able to run ascript when someone clicks on the [FMP-linkrecid] link.

I need the script to "pre-run" as it populates a field in the link record, as I need the field value to show up in the output file - unique_detail.htm.

So, when I click on the following link, the script runs and then in unique_detail.htm I can display the value of a record that was populated by the script.

Any ideas?

Thanks,

Tony

-------

Here is my CDML.....

[FMP-record]

<TR>

<TD ALIGN=LEFT VALIGN=TOP>

<A HREF="[FMP-linkrecid: layout=detail, Format=unique_detail.htm]">[FMP-field: Name_Last]</A>

 </td>

</TR>

[/FMP-record]

Posted

Well, at least it appeared to work.

Do you know what will occur if two clients make a near-simultaneous request on your script? Can you afford to not know? Do you realize that ScriptMaker is single-threaded whereas the web is multi-threaded?

Perhaps you would be advised to test the possibility.

The script tag is fraught with problems. The scriptprefind and scriptpresort tags are even more laden with problems.

This problem has been widely discussed on this forum. Research may be useful.

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