youngmon/atlassian-qna huggingface dataset:
recently updated macro, restricted to a page and it's descendants
Asked by Alex Perez:

Hi all,

How can we get somewhat like "recently updated" macro, but restricted to a page and descendants?

"recently updated" allows only filtering by user, label ...

A possible workaround may be label the page and force that all content under the page gets labelled ... ?

Thanks

Edit: using confluence 5.1.3


Answers:
author: Davin Studer
body: You could use the search results maco.

![](../../upfiles/Capture_238.PNG)


Tags: macro

recently-updated
Is it possible to disable the HTML export on Confluence?
Asked by Maria Kougioumoutzi:

It is possible to disable for instance the PDF export feature by disabling the Confluence PDF export add-on but not the HTML export. Is it possible to disable it in some way?

Another solution could be probably not displaying the CSS element.


Answers:
author: Maria Kougioumoutzi
body: Hello,

I would like to disable the HTML export instead.


author: Chung Park Chan
body: You can disable the Confluence PDF Export under System Add-ons. Are you looking for this?
How to get rid of Scaffolding Plugin safely? Want to make existing pages using Live Templates static
Asked by Konstantin Steblovtsev:

Hello,

we want to deinstall the Scaffolding Plugin for Confluence, but there is number of pages made with the plugin, containing valuable data. It would be perfect solution to have all the pages on its place as normal Confluence pages without Scaffolding Plugin.

Konstantin.


Answers:
author: CharlesH
body: Hi,

Do you also use the Reporting plugin, and are you planning on keeping this?

If so, this would allow you to remove the Scaffolding plugin but still show the data that has been captured in Scaffolding fields.

Any page created with a reference to a "live" template will be using the {live-template} macro. This comes from the Scaffolding plugin (<http://docs.servicerocket.com/display/SCAF/live-template>) so when you withdraw this, you'll see a message about "unknown macro" in the wiki pages which are using it.

A quick workaround to avoid this behaviour would be to create a user macro with the same name and parameter list. The macro doesn't need to actually do anything, but if you have Reporting available, this would be a great place to include some report macros to output the values in the scaffold fields.

Alternatively, you could try to retrieve the scaffold data by querying the database. Check out this topic: <http://docs.servicerocket.com/pages/viewpage.action?pageId=9044107>

Charles


Tags: addon-net.customware.confluence.plugin.scaffolding

confluence-administration

live-template

scaffolding
Database table Need's exclude while moving to another database.
Asked by tousifs:

Hi all,

we are moving our Database and Infrastructure for confluence application.  
we are moving Database from Oracle to PostgreSQL Database.  
please let me know your suggestion's what are the Table which we should not include when importing database dump's. for e.g indexQueEntries or   
AO table's which are Generated by confluence application.

regard's

tousif shaikh.


Answers:
author: Nic Brough -Adaptavist-
body: For what it's worth, I'm with Rahul and Andy on this - dropping any tables out is asking for failure. You need to understand what they all are before you try anything like this, and even then it's likely that the simple rule is that you should take everything, exactly as it is now.


author: Andy Brook [Plugin People]
body: I agree with Rahul, migration of selected tables is just asking for brain damage in your confluence data. AO data storage is per-plugin so unless you know intimately every plugins schema usages, not migrating them is effectively going to result in the relateed plugin failing, so don't do that.

If you are migrating databases and per-space export/import is not an option... then, you must do a full schema migration, it is non trivial. I have done this once from DB2/win32 to Postgresql/linux, the tool for the job was [Talend](http://www.talend.com/).

comments: author: tousifs
body: thank you andy.


author: Rahul Aich [Nagra]
body: Hi Tousif

I would not recommend being selective in migrating the database tables.

If i were you i would migrate the entire database schema (all tables). if at all any table is generated by confluence itself then it will be overwritten anyway.

Rahul

comments: author: tousifs
body: hey thank's rahul.

last time we had whole table data migration we found lot of issues while restarting confluence application from index table.

please refer below link.

[https://answers.atlassian.com/questions/234134/confluence-indexing-throw-error-at-restart](/questions/234134/confluence-indexing-throw-error-at-restart)
Variables in 'from-field' at the Mailserver configuration are not replaced by real data
Asked by Alexander Hildebrandt:

Hello,

what should I configure to get the variables replaced with real data?

Confluence 5.3

<https://confluence.atlassian.com/display/DOC/Configuring+a+Server+for+Outgoing+Mail>


Answers:
author: Alexander Hildebrandt
body: Thread is closed.

comments: author: Nic Brough -Adaptavist-
body: So how did you fix it?


author: Nic Brough -Adaptavist-
body: Could you explain what context you are working in? Which screen? What Atlassian software? What are you trying to configure?

comments: author: Nic Brough -Adaptavist-
body: To close a thread, mark an answer as correct.

Either mine was correct, or, to be polite, you should answer the question with what you did to fix it and accept that answer.


Tags: email

error
Confluence: Expiring of Support means I cannot use license key for latest versions?
Asked by katasonov:

Now I have installed Confluence 3.1. My Confluence support license expired on 2011. Is that mean I could not install and use my license key for all confluence versions developed in 2013? Or I can use license key that bought in 2011 for the latest Confluence versions?


Answers:
author: Nic Brough -Adaptavist-
body: No. Your licence lets you upgrade to any version released before the end date.

You can check your expiry date against <https://www.atlassian.com/software/confluence/download-archives>


Tags: licence
The same colour schema for all spaces
Asked by J?rgen M?ller:

We want to prevent that space administrators permanently change the color scheme of their space.

Is it enough in the bandana table to set the values ??for the fields to the global value, eg

```
UPDATE bandana set bandanavalue = (select bandanavalue from?bandana where bandanakey = 'atlassian.confluence.colour.scheme' and bandanacontext like '%GLOBAL%') WHERE bandanakey = 'atlassian.confluence.colour.scheme' and bandanacontext &lt;&gt; '%GLOBAL% ';
```

Thanks


Answers:
author: Ryan Goodwin
body: It might work. I've done some manual manipulation of the color schemes but there are instances where it takes, and seems like others where it doesn't. I've also logged a feature request for this here for others who might come seeking the same information:

<https://jira.atlassian.com/browse/CONF-29879>


Tags: confluence-administration
restrict limited space templates for group in on demand Confluence?
Asked by srinivasan radhakrishnan:

Hi,

I am new for on demand confluence, today i need to achieve the below goal

- Display limited space templates for particular confluence user groups.

When i click the create space in confluence it display the below space templates

a. Blank Space

b. Documentation Space

c. Knowledge Space

d. Team Space

e. Personal Space"

But i need to display the below space templates

- only for "Managers" group in confluence

a. Personal Space

b. Team Space

- Only below templates display for "Users" group in confluenc

a. Personal Space

It is possible in on demand confluence? Please share your knowledge for achieve my goal.

Thanks i advance.


Answers:
author: AgentSmith
body: Its not possible to delegate/restrict templates to certain groups at this time. However, we do have a feature request being tracked here:

<https://jira.atlassian.com/browse/CONF-30812>

Please feel free to add your comments and vote.

In the meantime, here is the existing documentation we have for your reference:

<https://confluence.atlassian.com/display/CONF53/Global+Groups+Overview>

Note: you can access the permission guide in your Confluence OnDemand instance by going here:

https://\<yourinstance\>/wiki/admin/permissions/globalpermissions.action and click the permission guide link at the top of the page.

Hope this helps!


Tags: cloud

confluence-cloud
How to add a page as favorite for all users in Confluence
Asked by Kapil Bolli:

Hi ,

I am using Confleunce 5.1.3

I need to add a page as favorite for group of users/all users in confluence through DB/UI.

-Kapil


Answers:
author: Davin Studer
body: How many people are you talking about? If it is only a few, then you could use the sudo plugin to sudo as the user and then favorite it for them. If it is for lots of people them your best bet would be to use the API's to do it.

comments: author: Kapil Bolli
body: Hi Davin,

Thanks for poinitng out API option, i am looking for all users (confluence-users grp)

I am a newbie to confleunce, can you please guide me to the API for add page as favourite.

-Kapil


author: Kapil Bolli
body: Hi Davin,

Thanks i was able to do it with API.

I have created JOB , which reads pageid \& group from properties file \& makes that page as favorite for all users in that group

-Kapil


author: Alejandro Conde Carrillo
body: Just for the record, be aware that there is a limmitation in Confluence and only 500 users can favourite the same page. There is a feature request to improve this in [CONF-29910](https://jira.atlassian.com/browse/CONF-29910).


Tags: confluence-administration
User log of viewing or downloading documents
Asked by Dan Colborne:

Hi,

My aviation organisation has controlled documents. We need to know that each person has actually seen or downloaded the latest document revision.

How as an admin can I run a report to see this? I'd like to be able to click on a page and generate a list of who has viewed it. The existing user stats don't seem to be able to generate these reports.

Thanks.

Dan


Answers:
author: AgentSmith
body: Presently this isn't a supported feature, but an excellent suggestion IMO. With that, we have a feature request open here:

<https://jira.atlassian.com/browse/CONF-27060>

Feel free to vote and present your business needs in the comments section...the more traction the better :)

Hope this helps!


author: Martin Cleaver
body: Check out Bitvoodoo's Viewtracker plugin. <https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.viewtracker>

Also, you tagged your question with 'confluence-questions' and 'confluence-questions-on-demand '- those tags are intended to be used with Atlassian's Confluence Questions product yet you make no reference to that product. Perhaps you'd like to remove those tags.


Tags: cloud
Troubleshooting Barcode Font
Asked by Bob Walters:

I'm trying to display a barcode from within a Run Macro on a Page. I've downloaded the Confluence Fonts plug-in and placed it within the Run block. I've placed the TTF font in the \<confluence install\> directory and use the URL $base_url/FREE3OF9.TTF for the Font plug-in.

It doesn't find it, nor does it flow out any errors.

Any ideas of what to look for?


Answers:
author: calo
body: Refer to this [bar code](http://www.businessrefinery.com/products/barcode_net/main.html) font resource:

<http://www.dafont.com/barcode-font.font>


Tags: confluence-administration
Is there a way to get all permissions for a given space through the XML-RPC API?
Asked by Larry Archer:

In the XML-RPC API, there's a "getPermissions" method

From <https://developer.atlassian.com/display/CONFDEV/Remote+Confluence+Methods>
> Vector\<String\> getPermissions(String token, String spaceKey) - Returns a Vector of Strings representing the permissions the current user has for this space (a list of "view", "modify", "comment" and / or "admin").

But those four don't map 1-to-1 with the permissions you can set for groups or users on the Space Permissions page. Is there a way to get ALL the permissions a given user has on a given space?

For example, is there a way to check if anonymous users on a certain space have the "**EDITBLOG**" permission set?

With other API methods (**removeAnonymousPermissionFromSpace** and **addAnonymousPermissionsToSpace** ) I'm able to add or remove anonymous permissions, but I don't see a way to check what the current anonymous permissions are at the same level of detail. If "comment" is returned by getPermissions, I know the user can post comments ... but if anonymous users can post blog entried ("EDITBLOG") nothing extra is returned in getPermissions (only "view").  


Answers:
author: Bob Swift (personal)
body: [How to get all space permissions](https://bobswift.atlassian.net/wiki/display/CCLI/How+to+get+all+space+permissions) shows a way to use the Confluence CLI to get this type of information.


Tags: confluence-administration
Confluence: Anonymous Access setting vs Anonymous Group setting?
Asked by HungD:

![](../../upfiles/group.png)

I think the question is clear in the attachment. Is there any difference if I choose to setup the Anonymous Access using the Group permission over the setting of Anonymous Access at the bottom?


Answers:
author: David Maye
body: The permissions under Anonymous Access is the real permission set that anonymous users will be affected by. The group 'anonymous' is a group created by an admin on your instance and doesn't reflect the real permission set for Anonymous users to the site. I don't see why a group was created for anonymous users in the first place (since they have to register to be part of a group and at that point are no longer anonymous).

<https://confluence.atlassian.com/display/DOC/Setting+Up+Public+Access>

comments: author: HungD
body: I thought Anonymous Group is one of the default group created by system like confluence-users


author: David Maye
body: No, the 'anonymous group' is not a default group in Confluence. You can't assign anonymous users to a group, since only registered users can be assigned a group.


Tags: confluence-administration
Non-Printing Text in Confluence?
Asked by Beverly Flegel:

Is there a way to have non-printing text on a page in Confluence?


Answers:
author: Evgeny Victorov
body: Try this user macro: <https://confluence.atlassian.com/conf53/noprint-example-of-a-user-macro-411108920.html>


author: Nils Bier _K15t_
body: Hi Beverly,

you could try to use one of our [Scroll Exporters](https://marketplace.atlassian.com/search?q=scroll+exporters).

Our exporters come with a macro ("scroll-ignore"), to wrap text which should not be exported.

Cheers,  
Nils
where is confluence recent history stored?
Asked by Nostromo:

I'm using Confluence 5.3.1. In the top title bar, "Spaces" shows a duplicate space under Recent Spaces.

![](../../upfiles/spaces.png)

The space "Decoder" shows up twice. I was curious about where this data is stored?

I don't need any history at all actually right now. Maybe I could just purge or delete all history.

Or if there is some other way to fix this I would appreciate any details or ideas. Thank you.

Mark


Answers:
author: Davin Studer
body: It is probably souring from the AO_92296B_AORECENTLY_VIEWED table in the SQL database.

comments: author: Nostromo
body: Excellent! I completely missed that table when I looked earlier.

I was able to delete the offending records and now everything is fine.

Thank you.
How can I put the date of creation, latest update date and name of the user that created/updated the page as visible text on the page?
Asked by Karl Falk:

How can I put the date of creation, latest update date and name of the user that created/updated the page as visible text on the page?

Something like this:

**Created by:**xxxx

**Created at :** YYYYMMDD

**Last Modfied by**: NNN

**Last Modified at:** YYYYMMDD hh:mm


Answers:
author: Karl Falk
body: I had hoped, there was need to do "programming", just to place some "known" meta-data in a document.

-

We are using AdHoc workflows which has a macro called metadat from that I have used, but I have problems fining out what metadat is available to report om.

![](https://dms.onbmc.com:443/plugins/servlet/confluence/placeholder/macro?definition=e21ldGFkYXRhLWZyb206TGFzdCBDaGFuZ2VkIEJ5fQ&locale=en_GB&version=2)

![](https://dms.onbmc.com:443/plugins/servlet/confluence/placeholder/macro?definition=e21ldGFkYXRhLWZyb206TGFzdCBUaW1lIENoYW5nZWR9&locale=en_GB&version=2)

A list of meta-data and how to reference the metadat would be nice.


author: Karl Falk
body: I had hoped, there was need to do "programming", just to place some "known" meta-data in a document.

-

We are using AdHoc workflows which has a macro called metadat from that I have used, but I have problems fining out what metadat is available to report om.

![](https://dms.onbmc.com:443/plugins/servlet/confluence/placeholder/macro?definition=e21ldGFkYXRhLWZyb206TGFzdCBDaGFuZ2VkIEJ5fQ&locale=en_GB&version=2)

![](https://dms.onbmc.com:443/plugins/servlet/confluence/placeholder/macro?definition=e21ldGFkYXRhLWZyb206TGFzdCBUaW1lIENoYW5nZWR9&locale=en_GB&version=2)

A list of meta-data and how to reference the metadat would be nice.


author: Matthew J. Horn
body: There are some built in macros such as Contributors and Contributors Summary that show some of the info you want. If you have access to the Page Layout decorator, there are other ways to do this without writing a User Macro. Let me know and I can give you an example.

As far as documentation on the user macro language, it's pretty sparse, but you can start here:

<https://confluence.atlassian.com/display/DOC/Writing+User+Macros>

hth,

matt


author: Matthew J. Horn
body: You will most likely want to do this as a User Macro like this:

```
## Macro title: Page Data## Macro has a body: N## Body processing: n/a## Output: HTML#### Developed by: Matthew J. Horn## Date created: 11/19/2013## @noparamsCreated: $action.dateFormatter.formatGivenString("dd-MMM-yyyy", $content.getCreationDate())&lt;br/&gt;Created by: $content.getCreatorName()&lt;br/&gt;Last modified: $action.dateFormatter.formatGivenString("dd-MMM-yyyy", $content.getLastModificationDate())&lt;br/&gt;Last modified by: $content.getLastModifierName()&lt;br/&gt;
```

comments: author: Karl Falk
body: Hi, thanks for your answer. Is there a way for me as a normal user/not administrator to include this directly into the document, rather than ask an admin to create a user macro?

-

**Also** where can I find documentation on the syntax of the language you have used and list of available variables I can reference in the macro's
Where save pictures when using zen foundation
Asked by peter cahusac:

I am trying to add pictures to the intranet banner. Where or how do I save the pictures I plan to use?

Thank you.


Answers:
author: Kelli Hoyt
body: Hey Peter,

Just jumping in here -- are you referring to the rotating images in the Zen Intranet demo brand? If so, then this should help: <http://www.brikit.com/display/zenlightning/Making+the+Banner+Content+Your+Own>

We're using the Random Content macro there, which animates content from a set of child pages. (the images go in the child pages.)

Let us know if you need more information! Hope this helps.

cheers,

Kelli

![](../../upfiles/rotate-images.png)

comments: author: Kelli Hoyt
body: Hi Peter,

Any luck with the suggestions above?

thanks!

- Kelli


author: Robbie Lee
body: Hi Peter,

I assume you mean the site-wide announcement/banner. You could try the syntax on this page listed under the **Displaying an image from a remote location** heading. You would need to attach the image to a page, view the image and copy the URL. You may be able to refer to the attachment ID (found in the URL), but my Confluence skills are not that advanced. Hope this helps.

Kind regards,

Robbie


author: Robbie Lee
body: Hi Peter,

What version of Zen Foundation and Confluence are you using?

Kind regards,

Robbie


author: Robbie Lee
body: Hi Peter,

What version of Zen Foundation and Confluence are you using?

Kind regards,

Robbie


Tags: addon-com.zenfoundation

zen
Sharing a page
Asked by Ludo Nauws:

Hi

I am new to Confleunce and we making our first steps at out Company/

We made several spaces, one for each departement. Space restrictions are set that only people of a departement can view/edit the content of the space of their departement.

Is it possible to share one page of a departement space to a member of another departement?

cheers

Ludo


Answers:
author: Gorka Puente _Appfire_
body: Hi @Ludo Nauws,

You can try [Comala Share It](https://marketplace.atlassian.com/plugins/com.keinoby.confluence.plugins.share-attachments). With this add-on you can share your pages and attachments with users without permission to access them, for example, with members of other departments. You generate a public link that can be shared (like in Dropbox), so you don't need to grant additional permissions.

Disclaimer: I work for Comalatech, the company behind Comala Share It.

Let us know what do you think!

Regards,

Gorka


author: Mick Davidson
body: Patrick,

I'm not sure about temporary URLs, that's new to me. You could also export the page to PDF or Word file and send it to them.

Cheers.


author: Patrick_Vanhoof
body: So to share a page to someone, that person has to be a member of that space?

There's no way to share a page to someone who is not a member of the space, e.g. with a temporary URL?


author: RambanamP
body: following link also will help you

<https://confluence.atlassian.com/display/DOC/Sharing+Content>


author: Mick Davidson
body: Ludo,

Yes, you can do that via the permissions section of the Admin pages.

Add them as an individual user to the space, and then add them to the page itself.

That way they have access to the whole space, but are restricted to seeing only the pages they have been specifically added to.

Cheers.


Tags: share
Can I export my recent activity in Confluence?
Asked by krussell101:

Using Confluence 5.3.1

For my status report, I would like to be able to export my most recent Confluence activity.

(In case I have my terminology wrong, by "activity" I am referring to the list under the heading "Activity" that appears when I click on my own name. It's in my Profile.)

Any help will be much appreciated. Thanks.

Karla


Answers:
author: Davin Studer
body: You can use the "recently updated" macro and fill in your user name in the parameters.

comments: author: krussell101
body: Perfect. Works like a charm. Thank you Davin.


author: Dixit
body: There is no direct support but you can order by updatedDate in query


author: Anand Unadkat
body: Hi Karla,

This i'm afraid is not supported with confluence. Don't know if there are any plugins around as I personally haven't seen them.

Regards

Anand


Tags: activity

export
Add table highlight colors
Asked by Trevor Hunt:

Is there a way to manually add highlight color options to text editor in Confluence?

Answer: NO.

<https://jira.atlassian.com/browse/CONF-27618>

<https://jira.atlassian.com/browse/CONF-27496>

This really is something Admins should be able to define... better yet, implement a global default defined by Confluence admins and allow space admins to define it at the space level.


Answers:
author: AndreasS
body: Doesn't look like Atlassian is willing to fix this soon ...

Using this JavaScript snippet, it's possible to add a new button.

```
AJS.$('.table-highlight-picker').append('&lt;li&gt;&lt;a href="#" class="hightlight-orange" data-highlight-colour="orange"&gt;&lt;/a&gt;&lt;/li&gt;');
```

Now you just need some css, like

```
#table-highlight-group .table-highlight-picker a.highlight-orange {  background-color: #FFB829;}
```

Finally, copy the onclick event of any of the other colour picker options by:

```
var select = AJS.$('#table-highlight-group .table-highlight-picker a.highlight-orange');select.onclick  = function () {    var clickHandler = AJS.$('#table-highlight-group .table-highlight-picker a.highlight-yellow').onclick;    clickHandler.apply(this);};
```

Just create a plugin out of this using your custom colours and have fun!


Tags: colour

editor

table