Zum Hauptinhalt gehen

Layer Action Context - Layer Ref

Kommentare

2 Kommentare

  • Permanently deleted user

    Hi David,

     

    What format are you using for your command parameter? We have two documented formats:

    { "url": "http://...", "inputs": { "input1": "foo", "input2": "bar" } }

    and

    { "url": "http://...", "input1": "foo", "input2": "bar" }

    I've been told that the first format doesn't work correctly with context token inputs, so if you are using that one, try switching to the other. We do have this issue raised in our bug tracker as #22428.

    0
  • Permanently deleted user

    Hi Amanda, thank you very much for the reply.

     

    I am using the second style of command parameter, like this:

    {

     "url": "https://...",

     "context": "{{context}}"

    }

     

    However when I log $getWorkflowInputs1.inputs.context

    I just get [info]: 10:36:27.448: undefined

     

    The same parameter format has worked on other context menus, such as 'Results List Collection Actions', but doesn't seem to want to play with 'Layer Actions' - at least i seem to be unable to get it to work and can't spot any booboo...

     

    Thanks.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.