Question

How to force an update in api configuration when fields are added to input designer

  • 28 February 2021
  • 1 reply
  • 127 views

Userlevel 1

I am using the Integration online tool to create a Action

I need to add additional fields to the Input designer , but when i do the api configurator does not add the fields either in form mode or code mode.

 

Is there a way to force the update without starting from scratch again?


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +9

That is odd - I’m not sure why the new field is not getting added to the request configuration if your request is using “form mode”.  I just tested by adding a new field and confirming the field was added to the request configuration.  

If your request is a POST we’ll add it to the body. If it’s a GET we’ll add the new field to the URL params. I point that out in case the tool is adding the fields - just not where you need them or where you’re noticing them.  

If your request is in “code mode” we won’t try and add the field - the tool doesn’t attempt to do that level of introspection on JavaScript code.   In code mode you’ll need to add the mappings to your code.  Or use a spread operator to just map everything that’s passed in.  

In any case, you don’t need to start from scratch. If you add an input field and for whatever reason it’s not automatically getting added to the configuration, or it’s added in a place other than where you need it, you’ll be able to add that mapping directly - either to the code, in code mode; or to the request configuration in form mode.  In form mode we provide tab completion to make that even easier.  

For form mode, be sure to expand the options in the request, and select param/header/body to manage the appropriate section of the request configuration.

https://cdn.zappy.app/9624f69813f7175feadad91aaa2b7fd6.png

 

Hopefully that gets you up and running!