youngmon/atlassian-qna huggingface dataset:
Cannot find a license certificate for CustomWare Linking Plugin for Confluence
Asked by Sanet Minnie:

I get this error:  

The license could not be verified: There is no license certificate installed for CustomWare Linking Plugin for Confluence. (Confluence 4.2.4 upgrade)


Answers:
author: Fabrizio Galletti
body: Found on another site

Remove all RB packages, reinstall them one by one or through another customware plugin. disable and reinstall the plugin linking.. all worked fine for me. if he didn't renabled try to disable and reenable it

hope it could help

comments: author: John Lawlor
body: What are RB packages? Re-installing all the plugins?


author: Fabrizio Galletti
body: are other library(addon) installed by service rocket suite.


author: Yurii Shutkin
body: Good day to you,  
Confluence 5.6.6

1) follow [this](http://marketplace.servicerocket.com/product/visibility-plugin) link to buy license (cost $0) <http://marketplace.servicerocket.com/product/visibility-plugin>  
2) download license (link will be in your mailbox)  
3) go to "Confluence Admin" in left menu should be new item Visibility at SERVICEROCKET PLUGINS block.  
4) use downloaded file (step 2)  
5) be happy  

hope this instruction will be helpfull

comments: author: Robert Nadon
body: OK it was Customware, but after I downloaded a license I get: Invalid licensing subject!


author: Robert Nadon
body: tried again and the third time it worked... :-)


author: Thomas Schlegel
body: Hi Sanet,

you have to install a license for this plugin. It's free but you have to install it. Look at the documentation (<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.linking>).

Best regards

Thomas


author: John Lawlor
body: I get the same error - I tried re-installing the plugin. It made no difference.


author: Fabrizio Galletti
body: same problem for 4.3.1

he can't loaded so i can't install the license. he was working on 4.2.12


author: sunwave
body: CustomWare Linking Plugin Version 3.0.1 doesn't work on Confluence 4.2.13:   

Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.randombits.supplier.core \[157\]: Unable to resolve 157.0: missing requirement \[157.0\] package; (\&(package=org.randombits.support.core.convert)(version\>=1.2.3))


Tags: addon-net.customware.confluence.plugin.linking
Can't find Team Calendar on the admin "install plugins" list
Asked by Paul:

Hi, I'm evaluating Confluence and attempted to install the "Team Calendars" plugin to evaluate that.

When I search for "Team Calendars" in the Confluence admin "install plugins" page, I can't seem to find it to install. All that comes up is the "Google Calendars" plugin.

Is it not possible to evaluate Team Calendars with a trial version of "Confluence" ?

Thanks for your help,

Paul


Answers:
author: Michael S
body: Heya Paul,

Most likely cause is you're using 4.2.3 or higher, while Team Cal hasn't had it's metadata updated in [plugins.atlassian.com](http://plugins.atlassian.com) to show that it's available for these versions. I'll ping the Team Cal devs to make sure that this is updated.

In the meantime, you should be able to install it by downloading the plugin and uploading via the UPM, or by copying the plugins URL and installing that way. As a *very* general rule, if an Atlassian plugin is compatible with the major version (in this case, 4.2.x) the minor versions (ie x.x.2, x.x.3, etc) don't cause too many problems. Doesn't hurt to ask if you're unsure though.

Hope this helps.

Michael Seager  
Atlassian Support - Sydney


author: Jobin Kuruvilla [Adaptavist]
body: Definitely possible with trial version. Are you trying this?

<https://confluence.atlassian.com/display/TEAMCAL/Licensing+and+Installing+Team+Calendars#LicensingandInstallingTeamCalendars-2InstalltheTeamCalendarsPlugin>


Tags: team-calendars-for-confluence
Dynamic links
Asked by MPal Pal:

Hi all,

I have a bit of a complicated scenario.

1) Say I have space A with pages x and y. Page x has a link to page y.

2) I am copying these two pages into a new space called space B. Now, when I click the link in page x, I want to be directed to page y in space A instaed of space B.

Basically, I want the link to change its space when copying from space A to space B.

Typically a link look like this: \* \[\<space ID\>:name\]

I want the \<space ID\> of all links to dynamically change when copying from one space to another.

Help will be greatly appreciated.


Answers:
author: Thomas Schlegel
body: Hi, have a look at the Content Publishing Plugin (<https://marketplace.atlassian.com/143>).

Maybe this will help you.

Best regards

Thomas


Tags: change

link

space
jQuery not defined in Confluence 3.5.3
Asked by T. J. T. J.:

Drop down menus, tree navigation and many of my plugins have all broke at once. The error console shows "jQuery not defined". I haven't made any changes to Confluence that I'm aware of and I'm running 3.5.3.  

I'm wondering if the header isn't rendering, and that's why jQuery isn't being defined.


Answers:
author: T. J. T. J.
body: I restarted the server and the problem went away.


author: David at David Simpson Apps
body: That's weird -- go into Confluence Admin \| Plugins and check to see whether any System Plugins have become disabled.

comments: author: T. J. T. J.
body: Sadly the plugin admin area isn't working either with jquery broken.


author: T. J. T. J.
body: I ended up just restarting the server and now everything works. I'm still not sure why/how it broke.


Tags: jql
Crowd Integration with Confluence
Asked by Shahid Bashir:

I am doing tests with Crowd. I have integrated it with two installations of Confluence wiki. I am trying to create users/groups now in such a way on Crowd that one user is admin on one Confluence Wiki but is normal user on other Confluence Wiki. Please guide me how we will achieve that.


Answers:
author: Nic Brough -Adaptavist-
body: Two ways I can think of:

1) I don't know if this one is possible as I've not used Crowd recently, but I think you can separate out the user-directory for the group(s) \<\> application mapping. This feels messy and I don't like the idea

2) Change the confluence admin groups. By default, Confluence administrators are members of a group called "confluence-administrators". Create a new group (or two), called something like confluence-2-admins, and add yourself into it. Then go into one of the confluences, go to global permissions, add confleunce-2-admins to the "can administrate confluence" permission and remove confluence-administrators.

comments: author: Shahid Bashir
body: Thanks a lot Nic. It was exactly what I needed. It not only solved my issue but gave me new line of thinking for solving permission issues.

Thanks.


Tags: crowd-integration
Drag and Drop has stopped working since upgrading Chrome to 19.0.1084.52
Asked by Jason Pepper:

Drag \& Drop into Confluence within Chrome has stopped working since upgrading to v19.0.1084.52 on Mac OSX the problem also occurs on Chrome 19.0.1084.52m in Windows


Answers:
author: Jason Pepper
body: As a follow up people might like to know that this problem has gone away for us after an upgrade to Confluence v4.2.1


author: hsuhailah
body: Yep, this seems to be a bug and has been reported here: <https://jira.atlassian.com/browse/CONF-25538>


author: Rodrigo Bellotto Campacci
body: There will be an backport for Confluence 3.5?

The Jira issue was resolved but in another version/release!!!
how to know if a page is favourite using the pageId????
Asked by liljoint:

can I know this???

no one can help me???


Answers:
author: Remo Siegwart
body: We usually use the following simple user macro:

```
## @param PageId:title=Page Id|type=int|required=true|desc=The ID of the page#set ( $Integer = 0 )#set ( $pageId = $Integer.parseInt($paramPageId) )#set ( $page = $pageManager.getPage($pageId) )Is favourite? $page.isFavourite($action.remoteUser)
```

Hope this helps


author: Azwandi Mohd Aris
body: You can do this via database:

```
select * from content_label where labelid IN (select labelid from label where namespace = 'my' AND name = 'favourite') AND contentid = INSERT-PAGE-ID-HERE;
```

Remember to change the `INSERT``-PAGE-ID-HERE `accordingly.

If there is no row returned, page is not favourited.


author: Sandro Herrmann [Communardo]
body: Or you write a little usermacro which you can use on every page

```
## @param pageId:title=pageId|type=int|required=true|desc=Insert the pageId#set($Integer = 0)#set($parampageId = $Integer.parseInt($parampageId))#set($pageById = $pageManager.getAbstractPage($parampageId))#if($pageById)    #foreach( $label in $pageById.labels)        #if($label == "my:favourite")            #set($isFavourite = true)            #break        #end        #end    This page is #if(!$isFavourite) not #end a favourite page.#else    No page found!#end
```

comments: author: SubasreeN
body: Is there anyway to find whether a page is favorited with a single velocitymethod. Since $helper.action.favouritePage is deprecated


author: MatthewC
body: both good answers ;-)


Tags: favourite
How to recover lost page not visible in trash but still visible in database
Asked by Doug McLean:

User reported a page he created had gone missing. Could not find the page in Space Admin - Trash. Able to see record in CONTENT table by CREATOR and TITLE; but SPACEID, PARENTID, MESSAGEID, DRAFTPAGEID, DRAFTSPACEKEY, DRAFTTYPE, DRAFTPAGEVERSION, PAGEID, PARENTCOMMENTID, USERNAME, CHILD_POSITION are all NULL.

Is there anyway to recover this content? How can it be done.

Thanks,

Doug


Answers:
author: PeterKoczan
body: Hi Doug,

You could try to rebuild indices from scratch following the steps in this document: <https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch>

Not sure if this is the cause, but it can happen that indexes got out of sync and that why you cannot see the page in trash. However, check the database row you mentioned for CONTENTTYPE to be sure it is not a DRAFT of the same page.

Cheers,

Peter

comments: author: Doug McLean
body: Thanks Peter, I'll keep that in mind if I run into the same situation again.

--Doug


author: Doug McLean
body: This issue is too far in the past to research further.


Tags: content

restore
there is a macro that receives the id of a page and display the button to "add to favorites" and to "watch" the page???
Asked by liljoint:

I need to add to a list import with "html-include" macro, where I have the page ID to display... The idea is that each row in this list have the button to add/remove to favourite and add/remove from watchlist... I attached a example of the list... Please help...

thnx.![](../../upfiles/example_list.jpg)


Answers:
author: CharlesH
body: Hi Bryan,

For creating the list of pages I'd recommend using the Reporting plugin to do this. It could easily generate a table for you, with columns for page name, creator, last modified date etc. You could also have columns for specific actions you want to perform on each page. I've used this technique quite often, sometimes to offer a link for editing the page, or remove it, without having to go into the page itself. I'll post an example for you tomorrow.

Your desired actions are different though - to make the page a favourite or watch it. That should be do-able too. The Reporting plugin will give you the page id for each page in the table (content:id) and you can embed that in a suitable link. Firebug is useful for understanding what that link should be.

Here's an example in the old Atlassian forum where we inserted a page id into the normal Confluence URL for creating a comment. (we also inserted specific text).

<http://forums.atlassian.com/message.jspa?messageID=257362632>

Getting the link to act as a toggle may be tricky, but one step at a time!

comments: author: CharlesH
body: Here's an example of embedding a page id into a link with the aid of Reporting. The link allows the page to be edited:

```
{report-table}
{local-reporter:content:children|type=page}{local-reporter}
{report-column:title=Page Name}{report-info:content:title|link=true}{report-column}
{report-column:title=Page Id}{report-info:content:id}{report-column}
{report-column:title=Edit}
{report-link:content:id|prefix=/pages/editpage.action?pageId=}Edit Page{report-link}
{report-column}
{report-column:title=Remove}
{report-link:content:id|prefix=/pages/removepage.action?pageId=}Remove Page{report-link}
{report-column}
{report-empty}No child pages found.{report-empty}
{report-table}
```


author: Steve Goldberg
body: I'd like answer to this too. You can automatically generate a link that will do some of the work:

```
## @noparams&lt;a href="/pages/addpagenotification.action?pageId=$content.getIdAsString()"&gt;Add Watcher&lt;/a&gt;
```

Of course, this will only work for the page you are currently on. You'd probably have to manually update the code with each page ID.

Anyway, this fails for two reasons:

1. There's no security token present and I don't know how to generate these.
2. It doesn't act like a toggle. So the same link won't 'unset' it if the page is already watched.

So yeah, I'd like to know how to do this too.


author: liljoint
body: there's any way to create a list of the pages from a space, with the add/remove buttons but directly from confluence????

that's more easy I think...

please, help !!!


Tags: favourite

page

space

watch
Page content is flowing out of the page?
Asked by poonam chaudhari:

Content added on the page does not get resize according to screen resolution.In the resolution 1024 by 738 it flows out of the page.Plz find the attached screenshot for reference.How can we make the content fit into the page according to screen resolution?  
Even our table of contents also get affected when content flows out of the page.


Answers:
author: Bastiaan Jansen
body: The screenshot is not present, could you re-add it please?


Tags: cloud

confluence-cloud
Way of auditing pages with broken macros?
Asked by Sam Hall:

I'd like to clean up our instance of Confluence, removing some of the plugins we don't need. My plan is to rip out the plugins in the test environment, then try and get a list of pages with broken macros to use to notify the space admins they need to fix. Is there anyway to obtain such a list?

We're still on Confluence 3.5.16.

Looking in the database I can see it's possible to query for any references to the macro tags, but I can't come up with any practical way of mapping these to the plugins I'd like to uninstall. Any clues?


Answers:
author: Bob Swift (personal)
body: Here is an alternative:

1. Disable the plugin
2. Test to see what pages are broken - [How to test a Confluence instance for macro errors](https://bobswift.atlassian.net/wiki/display/CSOAP/How+to+test+a+Confluence+instance+for+macro+errors)

You might want to test first so you catch anything that is currently broken. However, with this test, you are breaking existing users once you disable the macro and the test can take long time if you have a large number of pages.

comments: author: Sam Hall
body: That's exactly what I was looking for, thanks.


author: Bob Swift (personal)
body: 1. Go to Admin -\> plugins
2. For the plugin you think you want to remove, click on Manage plugin modules
3. Look in the list for items that have a description saying **Macro** or look like macros

comments: author: Sam Hall
body: Thanks Bob, if no one comes up with a better solution I'll accept this. It's a little arduous, especially for the Adaptavist Essentials which seems to have about 50 macros crammed in there.
Timelinr in confluence
Asked by Mariusz Sepczuk:

Hi,

I want create timeline like on the picture

![](../../upfiles/timeline_1.JPG)

How can I do it in confluence?


Answers:
author: David at David Simpson Apps
body: Try one of the diagramming / drawing plugins such as

* Gliffy
* Creatly


author: Jobin Kuruvilla [Adaptavist]
body: You will have to write a plugin for this. Not possible out of the box in Confluence.

Activity Streams are the closest thing but it is not like the above.

comments: author: Mariusz Sepczuk
body: OK, thanks. What about timeline. confluence has somethink like it?


author: Jobin Kuruvilla [Adaptavist]
body: Nope. Activity Steams are a kind of timeline though. Have a look. You will find it in your profile, in dashboard, spaces etc.
How to configure server.xml file for confluence?
Asked by Isaac Montes:

I get this error: SEVERE: Cannot start server. Server instance is not configured.

I dont have a server.xml file in the /conf directory. I found just parts of the configuration, but I need the full file. The basic file I can probably find the configuration elsewhere.


Answers:
author: Ramiro Pointis
body: Is this the first time with the confluence instance? Do you have your Java_home variable installed? What Java version?

Here it is a possible solution too:

<http://www.coderanch.com/t/84854/Tomcat/solve-erro-tomcat-console>


author: Ramiro Pointis
body: Is this the first time with the confluence instance? Do you have your Java_home variable installed? What Java version?

Here it is a possible solution too:

<http://www.coderanch.com/t/84854/Tomcat/solve-erro-tomcat-console>


Tags: mysql

server
how to know the total attachments of a page?
Asked by liljoint:

I need to know howmany files attached has a page...

exists any variable for this???

thnx


Answers:
author: MatthewC
body: How do you want to use this variable?

You can display it on a page by writing a user macro \& accessing the velocity context.

```
## Macro title: Attachment download Path## Macro has a body: N#### Developed by: Matthew Cobby matt@andamooka.com## Get basic manager objects first#set($attachmentManager=$content.getAttachmentmanager())## Get the Page manager &amp; the target page#set($attachmentsList=$attachmentManager.getLatestVersionsOfAttachments($content))#set($numAttachments=$attachmentsList.size())Number of Attachments: $numAttachments;
```


author: Matthew J. Horn
body: The AbstractPage has a getAttachments() method on it that you could probably use. It returns a List. You could then just get the number of items in the List. What little doc there is on the method says "Don't use it directly, use AttachmentManager.getAttachments(page) instead"

According to this page (https://developer.atlassian.com/display/CONFDEV/Confluence+Objects+Accessible+From+Velocity), you can use $attachmentManager to get a reference to the AttachmentManager. The AttachmentManager has a method called **countLatestVersionsOfAttachments() that appears to do exactly what you want.**

matt

comments: author: liljoint
body: nope, Those options doesn't work... :( I need to know how many attached files have the page, inside the main layout...


author: liljoint
body: inside the principal decorator... is there something like $sitemeshPage or anything ???


author: Renjith Pillai
body: Could you explain what you need to achieve? Plugin?

REST API do gives the count of attachments for a page.


Tags: attachment

page
Subscribe to Team-Calender with Lotus Notes
Asked by Christian Neureiter-Schneider:

Hi!

<br />

We have started using Teamcalender heavily in our organization. As Lotus Notes is our standard, we would love to see various Teamcalender in the Lotos Notes calender. But unfortunately it is not possible to add the http://......ics to Lotus Notes as it always says that the feed is unvalid.

Is there any trick how to display the calenders in Lotus Notes? We are running on LN 8.5

regards,

Christian


Answers:
author: Matthew Erickson
body: Hi Christian,

I see you have already found [https://studio.plugins.atlassian.com/browse/TEAMCAL-482](https://studio.plugins.atlassian.com/browse/TEAMCAL-482.). If the lotus notes error gives you any more information besides just saying that the feed is invalid then you should add it to the ticket.

Cheers,  
Matt


Tags: team-calendars-for-confluence
How to configure Google Analytics to Confluence?
Asked by Rumceisz:

Hi All,

I'd like to install Google Analytics to our Confluence. We would like to track the number of page visitor for each page.

Can you please help?

Thanks in advance!

Rumi


Answers:
author: Christian Neureiter-Schneider
body: Adminstration Console \> Look and Feel \> Custom HTML \> At end of the head \> Paste your google analytics code there which you get when creating your analytics account

Example:

```
&lt;script type="text/javascript"&gt;  var _gaq = _gaq || [];  _gaq.push(['_setAccount', 'ABCDEFGHIJK']);  _gaq.push(['_trackPageview']);  (function() {    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);  })();&lt;/script&gt;
```

comments: author: Rumceisz
body: Hi David,

I insterted the script generated by my analytics account. But how can I set the page view tracking for each page in a particular space? I never used Google Analytics before, so can you please help me where to setting this?

Many thanks!

Rumi


author: Dennis
body: I know it's an old post but I would recommend piwik.org - as piwik is open source and on prem it's the best choice. BR! Dennis


author: David at David Simpson Apps
body: A couple of answers:

**For Confluence Server:**   
Use the [Google Analytics for Confluence plugin](https://marketplace.atlassian.com/plugins/me.davidsimpson.confluence.plugins.googleanalytics) which takes care of the tracking code installation and enables Google Analytics reporting to be displayed within Confluence

Additionally, I wrote a [blogpost here](http://davidsimpson.me/2009/03/18/tracking-atlassian-confluence-usage-with-google-analytics/) which suggests adding the following to the Custom HTML:

```
<script>  // Standard Google Universal Analytics code  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');  ga('create', 'UA-XXXX-Y', 'auto'); // TODO: Update with valid GA tracking code  ga('send', 'pageview');</script>
```

**For Confluence Cloud:** Try out the [Google Analytics in Confluence (Cloud)](https://marketplace.atlassian.com/plugins/me.davidsimpson.confluence.addon.google-analytics-for-confluence/cloud/overview) add-on.

comments: author: Rumceisz
body: Hi David,

is there a feature which doesn't need Google Analytics for Confluence plugin? Hence, my users don't want to pay for the plugin.

Thanks,

Rumi


Tags: analytics

google-apps
Administer spaces and user groups
Asked by Arantxa Lacasa Madero:

Hello!!

I would like to know if there is any way to copy a group of users from an space to other. I know that I could user users groups from administration, but these groups can not be administered by space administrators, and we need that.

I mean, we need that each space administrator create their users groups in their spaces, and that groups could be used in other spaces or subspaces (subspace plugin does not inherit permissions).

Is this possible? We have too many spaces, too many users and too many groups of users, and this became unmanageable for confluence administrators. We need this to be space administrators responsability.

Thanks in advance!!


Answers:
author: Renjith Pillai
body: Even though, this does not directly answer you need, what we had done was the [Group/User management](https://confluence.atlassian.com/display/DOC/Connecting+to+an+LDAP+Directory) is external to Confluence and we had a centralzied web based application which allows anyone to can create groups (The same directory server is also used for Exchange/Outlook).

Once the group is created, it will automatically come in Confluence (after of course the sync interval) and the Spac admnistrators and do the required permission changes using these new groups in their spaces.

comments: author: Arantxa Lacasa Madero
body: Thank you Renjith,

So I guess that is the only way to do that, isn't it? Confluence does not have any options for this?