Hello Everyone,
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.
Thanks
Hi @Melissa C
Not sure my answer will help you but it worth giving it a try, recently we have launched a new app: Metadata for Confluence Cloud
using this app you can easily define custom metadata, assign it to your Confluence pages, and search accordingly.
We also support bulk metadata updating and searching.
I hope it could help and I'm here if you have any questions or requests.
Not quite the answer your looking for but we use labels on pages in the space, this works like meta for keyword searches and what not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting! I was entered a "label" into a parent page and I was able to see it when I expanded the api results
"https://Cofluence.com:8444/rest/api/content/6354677?expand=children.page,metadata.labels"
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic!
I created the User Macro on my own with very limited skills. It's it just stores the number. I'm not sure how to connect it to the "metadata" field that appears in the API.
I'm not using a Metadata add-on and won't be able to purchase one.
Melissa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.