Hello,
I have been able to update a Confluence page via the API using the wiki storage type ("representation":"wiki") however everything goes in as a single line unless I explicitly add "\n" at the end of each line. Is there a way to push this data without having to do that?
Thanks.
Hi Dennis,
Are you using some other character as a newline terminator when constructing your content?
Wiki markup is line-sensitive so I'm not sure how you could get away without line terminators - but am curious what you are trying if you can share a snip of the wiki markup you are hoping to save.
The issue seemed to be with the ConfluencePS module I was using. I switched to a different one updated to use PAT (https://github.com/jamiekowalczik/ConfluencePS) and the problem was resolved. I had to add my PAT to the powershell module; I'll probably update the code to get that from an encrypted file.
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.