Questions and discussion about using ProcessMaker: user interface, running cases & functionality

Moderator: amosbatto

By rohitambre
#825045
Hi everyone,
I have two environments one running on http and other on https. Whenever I have to transfer a process from one instance to other I have to change links for external libs from all the tasks to different domain and different protocol.

Can we create any Global variable in Process to use inside external libs field.

Thank You.
User avatar
By amosbatto
#825087
Create a trigger like this:
Code: Select all
$g = new G();
@@myLibraryUrl = ($g->is_https() ? "https" : "http") . "://www.mydomain.com/mydir/mycode.js";   
Set this trigger to fire before the Dynaform.

Then in your "external libs" property, set: @@myLibaryUrl

When an array is declared, only a reference of arr[…]

After the first Web Entry form is submitted, a new[…]

No, I'm using manual installation in CentOS. PM ve[…]

Labels and form layout

Are you talking about this article ? It works if […]