Is it possible to attach a file on a confluence contentId on a Button click using the Forge UI kit

Hi,

I am trying to create a Confluence app using the Forge UI kit. I’d like to know if it is possible to attach a file on a confluence contentId on a Button click using the UI kit. Yes, No? If yes, how? I could not find any component for file upload in the Forge UI kit documentation.

From what I’ve read in the discussion forum, even storage space limits the amount and size of the files we can upload to our application.

Lastly, if it’s not possible, and I am supposed to make an app using Custom UI, Can I use Forge UI components inside the Custom UI? Can someone please provide a link to an example/documentation?

Thank you in advance for taking the time and replying to my question.

Hi @KaranJagota, attaching files is not possible in UI Kit.

It is also not possible to use UI Kit components inside Custom UI. You should use Atlaskit components instead https://atlassian.design/components.

1 Like