Hi all,

I've got a new requirement to implement a Third Party Cordova Plugin which is asking for variables to be sent in the command:

cordova plugin add <git repo> --variable SOME_VAR="some_value"

Is there any way to do this in the Outsystems Platform's extensibility config?

Thanks in advance


Solution

Hi Carlos, that's easily done through Extensibility Configuration property! 

On the plugin module, open Extensibility Configuration property and use the following JSON structure:

{
    "plugin": {
        "url": "https://example.com/sampleplugin/sampleplugin.git",
        "variables":
            [
                {
                    "name": "SOME_VAR",
                    "value": "some_value"
                }
            ]
    }
}


You can find more information on the official documentation!


Cheers,

João Gonçalves


Solution

Thanks, working perfectly.