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

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

Recommended Posts

Posted

So you can change to a layout based on a calculation, but I can't find anyway to call a script by a calculation.

I'd like to store a script name in a record, and when a button is pressed on that record call that script.

Anyway to do this?

I'm about to try using the MacExample plugin with XMpl_StartScript

Posted

There's no equivelant built-in way to do this with scripts.

You might use a series of If-Else statements in a main calling script that checks the values of a field and branches accordingly:

If [ gScriptToCall = "Go to Main" ]

Perform Script [ Go to Main ]

Else If [ gScriptToCall = "Go to Personnel" ]

Perform Script [ Go to Personnel ]

...

End If

Posted

Yeah, I figured that might be the answer, but I don't think an if is gonna work for what I want to do.

I'm gonna try the XMpl_StartScript, but I wonder what the best way to trigger it is. With a Set Field?

Thanks.

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