Contentful logo

Contentful Community

Idiomatic way to open an asset / entry from within an extension

#1

Hi there!

I’m currently creating a custom gallery extension that supports a sortable mix of assets and custom text.

I’d like editors to be able to click an ‘edit’ link next to an image and have the asset in question open ‘on top’ of the current entry, similar to what happens when you edit an asset field from within Contentful. E.g,

The UI extensions SDK exposes dialog methods to select individual / multiple assets and entries in a modal, but is there an idiomatic way to edit assets or entries in an overlay-like fashion pictured above?

This custom extension is hosted externally.

Any advice appreciated, thanks!

0 Likes

#2

Hi !

did you have any answer about this ?

0 Likes

#3

I haven’t tested this just yet, but it looks like it’s now possible :star_struck:

https://www.contentful.com/developers/docs/extensibility/ui-extensions/sdk-reference/#navigator

0 Likes