Hi All,
I got a script output that needs to be uploaded on a page in my confluence space, once in a day. But every time it deletes the previous data. Is it possible to add insted of update.
Best regards.
@Cihat KARAPINAR could you please give a bit more information and/or show what you are coding right now to get this unwanted result? It is hard to say why it is not working without knowing what / how you are doing it.
tnx
Hi Andrea,
I have a powershell script. It returns a list of users and details from a specifig group. The script is running once in a day and the result can be zero or multiple lines. When script result is not null it calls a function. This function invoke a API call. In this API I can update my page but every update I lost my old data. I need to add lines and keep existing data.
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
example BODY for API
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you ARE using the AtlassianAPI, aren't you? you would have to call append_page() or prepend_page() to insert new content after/before the existing one.
If you are directly using post() you'll have to first extract the existing body, then concatenate old body and your new addition before you can post the complete content.
AltlassianConfluenceAPI really makes it much easier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.