Comments
-
Since you are on the Cloud version I think the best way would be to use the REST API to get them. You would use something like this url. https://{server}/rest/api/content?limit=500&start=0 The REST API will only return at the max 500 results. So, if your site has more that 500 pages you will have to do multiple requests.…
-
And really if your system admins set up your confluence instance to use https they should make it such that you cannot access it with just http ... but that is another issue entirely.
-
Ahhh! Your Confluence instance is setup such that the base URL is https://confluence-stage.303net.pvt/confluence but you accessed the page using normal http not https. You need to use https otherwise the user macro will fail to run because of the same-origin-polcy when it comes to AJAX requests.
-
First of all make sure you have copied it all correctly. If that still is not working then put this line ... console.log('Macro report: ' + searchURL); ... in between these two lines and save the macro. searchURL = AJS.params.baseUrl + '/rest/searchv3/1.0/search?where=${searchSpace}&spaceSearch=true&queryString=macroName:'…
-
Also, if you use 5.10 there is now a native report in Confluence Admin that can tell you your macro usage.
-
Not sre about ondemand, but in the standard version under space admin there is an option for PDF Sytlesheet. I think that is where you would want to make changes.
-
The table of contents macro will create a table of contents based on the h1, h2, h3, h4, h5, and h6 sections in the page. It doesn't do anything with table headers.
-
If it is automatically putting it back in you might be able to craft some css to set the display on them to none and include it in your user macro. A hack I know, but it might get the job done. Such as ... th p:first-child, th p:last-child { display: none;} Or you could remove them with javascript on page load. Again, you…
-
Sweet! Good to know. Much easier.
-
You could do this inside an HTML macro. <script type="text/javascript">var url = 'http://www.google.com'; //<-- the url to visitvar panel = AJS.$('.panel .panelHeader')[0]; //<--- [0] is the first panel, [1] is the second, and so onAJS.$(panel).html('<b><a href="' + url + '">' + AJS.$(panel).text() + '</a></b>');</script>
-
Just put it in the top right search box. Keep in mind the "NOT" and "labelText" are case sensitive. So "not" or "labeltext" will not work.
-
You could do a search like below. You could also use the search results macro to put it on a page. Just replace "{yourlabelhere}" with you label. The "/.*.*/" will return all pages and the "NOT labelText:{yourlabelhere}" will filter out any that have that label. /.*.*/ NOT labelText:{yourlabelhere}
-
Check out the Attachment Tools Plugin.
-
The table of contents macro doesn't show links to pages. It shows links to headings within a page. So, I'm not sure what you mean by having it show the icon in front of important pages. Please expand on your explanation.
-
Possibly ... what are you trying to do. Maybe mockup a screenshot and include it.
-
I wouldn't say it sucks, but there are some definite sore points such as not being able to put the wildcard at the front of the search string.
-
Did this meet your needs?
-
In confluence administration there is a section for custom css.
-
I think you are running into this issue that David Simpson mentions on his blog. https://davidsimpson.me/2014/10/09/atlassian-confluence-hides-create-button-top-navigation-license-expiry/
-
The upside of this approach is that the javascript is not even served if it is not the correct space as the velocity code is rendered server side.
-
You could add the code in the page decorator to check the space key using velocity. If it is the space you want then insert the javascript.
-
Great! Glad that fixed it. It is odd that the last field was ok with it. Probably just a good idea to not have the leading spaces at all. Feel free to mark this thread as the answer.
-
Hmm. Have you tried removing the space before Last Time Changed? I think that is your issue and I can recreate it on my end.
-
Hmmm. I tried it on my my box and it worked. I know that is no help, but Last Time Changed is what you want. Only thought I have would maybe be a content re-index.
-
"Last Time Changed" without the quotes should be what you want ... according to th documentation. https://comalatech.jira.com/wiki/display/META/Metadata-report+Macro
-
No, but you could watch the space and set up an email rule to delete page modification/deletion emails.
-
Typically if you delete one and then save and reopen the template the variable will disappear from the menu.
-
Nope. Not possible with OnDemand.
-
This is what we used to do NTLM SSO. Is this what you are looking for? https://confluence.atlassian.com/display/SPCON/Configuring+Confluence+to+use+Jespa+for+NTLM+Authentication
-
+1 for the WebDAV plugin. It works pretty well. One caveat is it doesn't play so nicely with pages that have non-standard characters for file names. But, if your page doesn't have that issue then it should work nicely.