Not sure i'm asking this question correctly. I want to be able to set the "metadata" to a number that will be supplied by the user when they import a word document into Conflucen. I will use that "metadata" in a REST API call.
Some backgroud - We currently write our documents in SharePoint and then Import them into Confluence. In SharePoint they have a Document ID # 123. Once imported into Confluence the users uses a usermacro to enter this number so that is displays in the parent page. Since the user is arealdy supplying this number, I would like to use it the metadata, but can't seem to figure out how to set it.
I would take a look at the user macro - could that be adjusted to make the data appear as metadata as well as what it shows now?
(p.s. there's a few things "metadata" might mean in Confluence, and I'm not sure which one you're talking about - is it from one of the metadata add-ons? Or something you see on the page properties, or something else?)
Ok, that makes sense, but it does not tell me what you mean by "metadata".
You've got a user macro that encourages your users to enter a document ID, and displays it for them in a nice way (I'm making assumptions here, hopefully good ones).
But what do you want from it? What is the "metadata" for?
Really Good Asuumptions! That's extactly what we are doing!
That doucment ID doesn't go anywhere right now. So the idea to use it as "metadata". I saw metadata in the expandable api. I thought we could store it there.
Shawn's comment (see next reply) gave me an idea I entered the document Id as a label and I was able to see in the expand api.
Interesting! I was entered a "label" into a parent page and I was able to see it when I expanded the api results
Now I need to figure out a way to have the enter a label as part of my usermacro and then pass that label to the children.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG