[progress Communities] [progress Openedge Abl] Forum Post: Re: [4.2] - Including A Function...

Status
Not open for further replies.
T

Thierry Ciot

Guest
Here is the Progress answer :). Yes it is possible to use hosted file with trigger. I just tried it and it works: I have a trigger (type: Update Field Value) that update a field with the square value entered in another field. Here is my example: 1) in Hosted file: function computeSquare (a) { return a * a; } 2) in my trigger: {!#HOSTED_FILE.KBbXdmuBRZuSyens6NAZDQ#text} var x = {!Number_Field}; computeSquare(x); ------ That's it. Thierry. PS: Notice there is no need for a return statement in the trigger.

Continue reading...
 
Status
Not open for further replies.
Top