I’ve been looking all over the documentation, and I’m not sure if what I’m looking for is possible with the currently available tools.
I am trying to make a custom asset module that integrates with our DAM. This module just needs to display the asset from a public link/embed code. It’s a simple enough problem to solve, but making a smooth integration is my goal. I want to create a UI Extention(?) for a custom field for the module. I want a button you can click where the normal text input would go for the module, which opens up either a modal window or iframe which then has a selector for our DAM, which is also simple to do. I’m getting hung up on the custom field part, as far as I can tell this is impossible. It would then also need to return information from the selector into another hidden field for the embed information.
I’ve seen this done on apps on the marketplace, but I’m not sure if this is publicly available for developers. Any insight on how to accomplish this is appreciated.
Hey @nschmal - thanks for posting in the Community!
I’d like to tag in some developers to the conversation to see if we can achieve what you’re looking for here! @IFarafonov, @jeremymandle, and @PBaxter - any context here?
Shane, Senior Community Moderator
Thanks for the insight on that. I’m trying to something similar to this extension: HubSpot Marketplace, only with our own DAM. To me it looks like they used an existing CRM UI Extension component for the overlay. Is this something where I could apply to do some deeper integration with HubSpot and create my own marketplace application? From what I can tell, it looks like they have developer resources I do on my account, but I could be mistaken.
Hey @nschmal - thanks for posting this follow-up context!
I’d like to retag @kosalaindrasiri to see if they may have any update for us!
Shane, Senior Community Moderator
You’re not missing anything. This isn’t possible right now in HubSpot. Custom module fields don’t allow custom UI like buttons, modals, or iframes, so a DAM selector can’t be added there. Some marketplace apps do something similar, but they usually use private or undocumented APIs. For now, the only option is to use a normal field and paste the asset link or embed code manually. This would be a good feature to request from HubSpot.
I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
For everyone who comes across this post in the future, the solution is to use the Media Bridge API. This doesn’t work as smoothly as I was looking for, but that is the currently accepted way to create this type of integration directly in the CMS. It allows users to use the embed field and select the custom source type, all within the CMS editor, similar to how the extension I linked does it.