Is this for confluence cloud or server?
You can find some relevant information here. Specifically, where the ajax part and multipart part of the request.
Thank you for your help!
But in the link you share, how can I get a content Id to upload file ?
For more clearly, I’m develop a plugin with have an xwork page. I have a form for user to upload file.
But I don’t know how to upload file and display the file to user.
Could you please give me an example ?
To know more variables available to your page, what you can do is just try opening up you page, open up chrome DevTools and read through the META tags.
Or can use
Hi, anyone has an idea?
You are not just uploading a file in confluence (although you can). Use a CustomContentEntityObject as an upload holder if you wish.
Hi Panos, is there any document about custom entity that I can use ?
Thank a lot!