Is there a way to add predifined labels to a create page action link in Confluence, such as:
http://foo.com/confluence/pages/createpage.action?spaceKey=ds&title=foo22&labelsString=foolabel
in Confluence 3.* labelsString as parameter is recognized in 4.* the parameter is ignored. Is there a reason for this?
There is a new labels dialog instead of an input field, but I guess it could be not *that* hard to consider the URL parameter inside the dialog. There is even a hidden field with "createPageLabelsString" set to the right value. Do I miss something?
Being able to create Links with predefined values is really an important feature!!!
It's still possible with the parameter labelsString, they just won't show up in the dialog before saving. See my answer here: https://answers.atlassian.com/questions/23087/should-passing-the-url-parameters-for-createblogpost-action-work-with-confluence-4-0-as-well/23112
Hope this helps
Thanks for your answer. I was aware that the provided labels are actually saved with the page. The thing is IMHO this behavior confuses the end user when she edits the labels and these provided labels don't show up.
I had this problem some time ago in a project and I solved it with a JavaScript workaround -- I guess the one that someone mentioned in your link.
Thanks anyway. I should have marked the answer as closed...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It might have to do with: https://answers.atlassian.com/questions/69914/add-label-in-content-editor-bug-labels-are-not-visible and therefore: https://jira.atlassian.com/browse/CONF-18018
(the size of this image is actually much bigger to see the original do something like right click and open image in new tab)
I could not reproduce the described issue from the related answers question, but mine might have todo with it.
A plain vanilla Confluence 4.3.1 installation (through the SDK):
http://localhost:1990/confluence/pages/createpage.action?spaceKey=ds&labelsString=foo%20bar
The labels are stored in the hidden form field "createPageLabelsString" and taken into account when the page is saved. Unfortunately a user does not get to see them in the Labels dialog.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.