Not so much dev but working on a UI extension card where I need to create a button to create a new quote for the deal that the card is on.
When I click create quote in the Quotes manager it automatically generates a new one and then asks me what deal. Is there a way to prepopulate this field with a query param?
Hi, @cyberwombat
Thanks for your question. I have a few questions to help our community better understand how they can help you or suggest a workaround if available.
To clarify, is your use case using your UI extension card to trigger the creation of a new quote? And then to populate the associated deal via a query string? If not, can you provide additional details, please?
Thank you! — Jaycee
Yes I am adding a button on the card. I know I can use the API to generate etc but am looking for a single URL. I have this to create a new one
https://app.hubspot.com/quotes/${context.portal.id}/edit/new/
But would like to preset the deal in the initial selection if possible by passing the deal ID but haven’t found info on query params if any that would work