Skip to main content

Question regarding Run Operation and its parameters

Comments

3 comments

  • Ryan Kelley

    Have you tried using this for your Operation parameter?

    ={graphics: $searchQuery.features}

     

    0
  • Chris Wright

    Thanks Ryan I will give that a try

    0
  • Daan Molleman

    Hi Ryan, Chris,

    I am having a similar issue.

    I am using the results.convert-to-xlsx operation in Workflow 5.

    I have queried a mapserver from which I have collected point features that I want to export to an .xlsx file.
    The parameters I used were: 

    ={ title: "title.xlsx", features: $query2.results }

    But each thime the operation is run, I get an error:

    "TypeError: Cannot read properties of undefined (reading 'title')"

    However, when I only provide ={ title: "title.xlsx" } as an input, I receive this error:

    "ArgumentError: Parameter 'features' cannot be empty."

    I was hoping any of you could provide me some feedback on my parameters and hopefully resolve this issue I'm having.

    Thanks in advance,

    Cheers, Daan

    0

Please sign in to leave a comment.