Ui Extensions app with settings

tejooo
Member

Hi developers,

 

I'm new into the hubspot development and worked my way through the new UI extension the last days. Created an app getting deal information from a 3rd party API and presenting it in a card. 

Now I have some constants (base url, token, checkbox autoload) that I want to save in settings. I got the fields in the setting page, but there seems to be no way to save these settings in Hubspot. 

tejooo_0-1761909160163.png

Documentation says this: 

  • Use hubspot.fetch to leverage your backend to save and retrieve settings. Learn more about using this approach in the legacy documentation.

But legacy is not working in the new UI extensions right? I want hubspot to save these settings. Any idea somebody?

0 Upvotes
3 Replies 3
Jaycee_Lewis
Thought Leader

Hey, @tejooo 👋 Just checking in. Did you make any progress on this front? — Jaycee





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes
felixmacaspac
Contributor

Hi @tejooo have you included the API URLs in your permittedUrls inside the app configuration?

 

0 Upvotes
tejooo
Member

Yes I did, the fetching of the 3rd party data is working, it's only for the setting feature that I can't find a working solution

0 Upvotes