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

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

Recommended Posts

Posted

Hi,

There are several cases when FM script must be triggered from separate button on page layout or to put in action field script trigger.

'<?php echo ("window.location="script.php"") ?>' name="another page" value="Script">

(code isn't show correctly due to coding symbols in it)

Separate file "script.php" are involved to keep php code for script:

/*** <?php

$rec = $record->getField('Npk');

$script =& $fm->newPerformScriptCommand($layoutName,'List',$rec);

$result = $script->execute(); ?> ***/

Separate file count rise if number of scripts rise.

Probably somebody can give better solution -one file for all scripts or something.

  • 3 months later...

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