I'm attempting to programmatically add content to a page in Confluence via the SOAP api. Essentially, I want to say something like this:
h1. {color:#000000}v3.1 (built Sun Nov 13 15:57:44 EST 2011; deployed %%PROD_DATE%%){color} || Time || Server || | %%BETA_DATE%% | %%BETA_MACHINES%% | | %%PROD_DATE%% | %%PROD_MACHINES%% | {jiraissues:url=http://jiraserver:8080/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+PROJ+AND+fixVersion+%3D+%223.1%22+ORDER+BY+priority+DESC}
In v3.1, I could just paste that into the non-WYSIWYG editor and everything would be fine; however, in v4.x, if I paste that into the editor, it doesn't render- it just shows up as raw text. Since there's no more distinction between wiki markup and wysiwyg, the rendering happens realtime, and adding large chunks of wiki markup kills it. Is there a way to do what I want in v4?
In the new editor of Confluence 4 you should be able to paste your wiki markup in the dialog window when you go to Insert => Wiki Markup.
If you want to add content programmatically, there is a helper method convertWikiToStorageFormat in version 2 of the remote API.
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.