Make Custom Apps - How to hide a field from the response

Hi there everyone,

I’ve been working my way through creating a custom app with a handful of modules. All going well so far but I’ve hit something I can’t solve.

Is there a way to exclude a field from the response?
The request I am making returns lots of fields I don’t want the user to see. I am using the interface to label them, but can’t see how to exclude them from being returned.

I’ve tried “disabled”:true, in the interface, but it’s not allowed.

Is there a way to do this that I’ve missed?

Thanks for reading!

Hello Rob,

simply use the omit() function in the response.

Example:

…
“response”: {
      “output”: “{{omit(body, 'myUnwantedParameter', 'myUnwantedParameter2')}}”
   }
…
        
2 Likes