youngmon/atlassian-qna huggingface dataset:
Import into a Confluence Page External Web Content
Asked by RanMan:

Hi

Is there any way of importing External WebContent into Confluence at all?

I was looking into the iframes, but that method is not good for me as I am expecting confluence itself pulling the external content rather than my browser?

I have been checking for hours but I have not found anything conclusive yet....

Any ideas/help/tips?

Many thanks


Answers:
author: RanMan
body: Thanks very much for your help!

In the end I have used the API REST with python so I have scripted the way of updating the page every now and then, and it seems to work perfectly fine

Thanks again!

comments: author: Nithin Kumar Jonnala
body: hi Ranman i need this process could you please help me out in figuring this


author: RanMan
body: It's already old, but this is what I did.

<https://github.com/rainmanh/confluence-python-cli>


author: Wayne Wong
body: Hi there,

There are a few ways to achieve that.

Importing web content {#toc-hId-1676910375}
-------------------------------------------

Here are some options for importing or displaying web content on a Confluence page:

* Use the [Widget Connector Macro](https://confluence.atlassian.com/display/DOC/Widget+Connector+Macro) to display videos, slide shows, twitter chats, documents and more, sourced from other web sites and displayed on your Confluence page.

<!-- -->

* Convert a HTML file to a Confluence page using the [HTML To Confluence Converter plugin](https://confluence.atlassian.com/display/DISC/HTML+To+Confluence+Converter).
* Embed an external web page into Confluence with the [HTML Include macro](https://confluence.atlassian.com/display/DOC/HTML+Include+Macro).
* Use HTML code in a page with the [HTML macro](https://confluence.atlassian.com/display/DOC/HTML+Macro).

You can also refer to this documentation here for the content import :)

<https://confluence.atlassian.com/display/DOC/Importing+Content+Into+Confluence>

Hope these help.

Regards,

Wayne Wong
Documentation on the chart widget in confluence
Asked by BrightScope Systems:

I would like to insert a gantt chart using the chart widget in confluence. However, I am curious if there is documentation or an example of how to correctly fill out the required fields to reflect the information accurately in the chart. I haven't been able to find any on my own.

Thanks!


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello there, you can use parameters as the ones described in [this page](https://confluence.atlassian.com/display/DOC/Chart+Macro#ChartMacro-GanttChart). There are also alternatives to the bundled option such as [Creately plugin](https://marketplace.atlassian.com/plugins/com.cinergix.confluence.plugins.creately.CreatelyConfluence).

Hope on of the routes can suit your needs.
Can expiration date or conditions be set for Invitations to Confluence on Demand
Asked by Daren Chung:

Is there a way to configure either expiration date or expiration conditions be set for invitations I send out to new Confluence users?


Answers:
author: William Zanchet [Atlassian]
body: Hi Daren,  
Actually we don't have this feature in Confluence Ondemand neither self-hosted. However your idea is pretty good. So I took the liberty to raise an improvement request as you can see below:  

[](https://jira.atlassian.com/browse/CONF-34135)<https://jira.atlassian.com/browse/CONF-34135>  

I would strongly suggest that you vote on this issue to increase its popularity and add it to your watchlist for future updates.  

Cheers,  
WZ.

comments: author: Daren Chung
body: Thanks, William, for your response. Do we know what the conditions of expiry are? For example, is there a specific number of days or amount of time when an invitation is expected to expire or are there other conditions? I can't seem to find much documentation at all.


Tags: cloud

confluence-cloud
Link sharing on Confluence doesn't work with some websites
Asked by Udo Bange:

I cannot use the link sharing bookmarklet or the option inside Confluence for sharing links with some of our websites. Any ideas?

A sample site is: [](http://www.ortlinghaus.com/english/startseite.html)<http://www.ortlinghaus.com/english/startseite.html>

Thanks for your suggestions!


Answers:
author: cgauterio
body: Hi Udo,

I believe this question needs to be addressed by our support system. I took the liberty of creating an issue on your name: [](https://support.atlassian.com/servicedesk/customer/jst/problem-report-101950)<https://support.atlassian.com/servicedesk/customer/jst/problem-report-101950>

A support engineer will contact you as soon as possible.

Cheers,

Clarissa.

comments: author: Udo Bange
body: Hi Clarissa,

fine with me.

Thanks!

Udo


author: Udo Bange
body: Here's the first step:

![](../../upfiles/Bildschirmfoto_2014-07-01_um_20.01.43.png)

This shows, when I click the share button

![](../../upfiles/Bildschirmfoto_2014-07-01_um_20.02.16.png)


author: Tiago Comasseto
body: Hi Udo, can you give us more details of this issue? is there any error message?

Cheers


Tags: cloud

confluence-cloud

link

share
Bulk change Confluence Page Permissions using CLI
Asked by John:

Hi, I have an extracted csv file of page permissions and I want to remove these and replace with different groups.

CLI runFromList or runFromCSV would seem a potential solution, but reading the documentation I am not sure I can pass more than one value back into the --common action as replacePermission needs --id, --userId and --permissions

Is the only option editing my CSV file to make each line an action?


Answers:
author: John
body: There were a number of other issues that arose as I tried to script this. I'm using PowerShell ISE (but the same issues occurred with Notepad++ and a CMD window) and I had some form of character encoding issue that I couldn't resolve when using the --action run --file "test.txt" construct. There was a spurious character shown as the first character in the content of the test.txt file no matter what I tried in modifying the --encoding.

In the end I just fed a 1260 line list of commands crafted in excel and TextMate (yes, TM good for regex search and replace) into the CLI and waited for about 5 minutes for it all to complete. A bit of a hack, but it worked!

comments: author: Bob Swift (personal)
body: Yes, using a simple **run** action can often be a good solution. I suspect your **spurious** character was a [BOM - Byte order mark](http://en.wikipedia.org/wiki/Byte_order_mark "Follow link") character that we have run into in another context. It should be handled in this area as well, so, I created an improvement request: [ACLI-179](https://bobswift.atlassian.net/browse/ACLI-179) - [Support CSV files containing a leading BOM character](https://bobswift.atlassian.net/browse/ACLI-179).


author: Bob Swift (personal)
body: First, there is no replacePermission action. I assume you are talking about doing a [removePermissions](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-removePermissions) and [addPermissions](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-addPermissions) . I would recommend you try using these separately on a single example to get the parameters right. Then if you want to do [runFromCsv](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-runFromCsv), you will need to provide columns in your csv to match the parameters needed for the single action.

For example:

```
--action runFromCsv --file xxx.csv --space mySpace --common "--action addPermissions"With CSV something like:group, permissionsconfluence-administrators, "VIEWSPACE, EDITSPACE"
```


Tags: addon-org.swift.confluence.cli

confluence-administration
Can you customise profiles in Confluence On-Demand?
Asked by SukM:

Hi, We currently have Confluence on-premise version 4.3.3. We are thinking of upgrading to Confluence 5 and are considering moving over to On-demand.

I have been trying to investigate the possibility of creating an expertise directory in which all staff can have a profile including detailed information about themselves such as their career history, their interests, expertise, languages they speak etc. I know that Confluence has a basic People Directory and that everyone gets simple profiles and I had been looking into the User Profile plugin to try and find a way to customise the profile fields to include the sort of information we want. However, I know that the User Profile plugin is not available for Confluence On-demand.

I was wondering what the profiles are like in the On-demand version? And whether there is any way to customise/expand the profile fields to include the level of detail we are after? If we can't use the existing profiles in Confluence we will have to purchase alternative software to create a separate directory.

Any advice appreciated! Thanks.


Answers:
author: SukM
body: Thanks very much, that answers my questions.


author: BillA
body: Please also see the related question at <https://answers.atlassian.com/questions/309179/is-there-a-way-to-create-a-company-contact-list-in-confluence-ondemand?page=1#310638>


author: David at David Simpson Apps
body: The only way to do this would be with an Atlassian Connect add-on. At this time, I don't believe such an add-on exists.

Another way forward would be to buy a hosted Confluence instance. [AppFusions](http://www.appfusions.com/) (as well as many Atlassian partners/Experts) could supply and migrate you to a hosted solution where you could installyour own add-ons.


Tags: cloud

confluence-cloud

profile
Is there a way to access the history of pages a particular user accessed?
Asked by Jessica Reed:

We provide logins to our clients to access our documentation through Confluence, and our Client Management team would like to be able to have insight into which page each client accesses.


Answers:
author: Davin Studer
body: Have you checked out the [Viewtracker Plugin](https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.viewtracker)?

comments: author: Jessica Reed
body: Yeah, but I'd have to add that to every page I wanted to track (I could do it through my ThemeBuilder layouts, but still). Really what we need is the opposite of what this offers: pages viewed by user rather than users who have viewed a page.


author: Davin Studer
body: Well, I have three other suggestions.

1. You could create a web service that would log hits to it in a database and then add Javascript code in the cutom html section in confluence admin to make a request to the web service.
2. You could create your own plugin ... which is no small task.
3. You could enable the webserver access logs for Confluence and parse those. Here is a guide for enabling server access logging.  

   [](https://confluence.atlassian.com/display/CONFKB/How+to+Enable+User+Access+Logging)<https://confluence.atlassian.com/display/CONFKB/How+to+Enable+User+Access+Logging>


Tags: audit

confluence-administration

log
user macro to format date
Asked by Reto Eggenberger:

Hi all,

I would like to make a user macro, which does a similar thing to the date formatting used with tasks.

User macro with the bodytext (or a parameter) as a date (dd.mm.yyyy).

If the date is in the past, the formatting shall be changed to red.

Is this possible with a simple user macro?

Thx for any help.

Reto E.


Answers:
author: Davin Studer
body: This is super hacky but it works. Maybe there is a better way to handle dates with velocity, but I've had a devil of a time finding it.

```
## Developed by: Davin Studer## Date created: 7/1/2014## @param Date:title=Date|type=date|desc=Date to start from. Format: dd/mm/YYYY#set ($len = 0)#set ($i = 0)#set ($parts = $paramDate.split("/"))#set ($today = $action.dateFormatter.getCalendar())## Having trouble finding out the length/size of $parts ... brute force it#foreach ($part in $parts)    #set ($len = $len + 1)#end#if ($len == 3)    ## Buiding date variable from parameter string ... can't seem to find a better way to do it with velocity    #foreach ($part in $parts)        #if ($i == 0)            #set ($day = $generalUtil.convertToInteger("$part"))        #elseif ($i == 1)            #set ($month = $generalUtil.convertToInteger("$part"))            #set ($month = $month - 1)        #else            #set ($year = $generalUtil.convertToInteger("$part"))        #end        #set ($i = $i + 1)    #end    #set ($cal = $action.dateFormatter.getCalendar())    $cal.set($year, $month, $day, 0, 0, 0)    ## Compare enetered date to today    #if($today.timeInMillis &gt; $cal.timeInMillis)        &lt;span style="color: #FF0000"&gt;$paramDate&lt;/span&gt;    #else        $paramDate    #end#else    bad date#end
```

comments: author: Reto Eggenberger
body: Thx Devin.

I'm new to velocity in confluence. And couldn't find a way to convert a string into a date to work with. Espacially because confluence has a param-type date, but it is treated as a normal string ...

Your 'hack' works for now.


Tags: confluence-administration
How are to count users in a 10 users on demand license?
Asked by francescoc:

Hi,

I have a 10 users on demand license and i am not sure how the 10 users of the agreement are to count.

More specifically:

* Can I create more than 10 users but keep only 10 of them as active (by deactivating the others) from time to time?
* Is the System Administrator user to be included in the count of 10 users?
* If not, can i deactivate the System Administrator user and give all its permissions to anothe user?

Thanks and regards,

francesco


Answers:
author: Nic Brough -Adaptavist-
body: Your 10 user licence lets you have 10 active users from your organisation. Your administrators DO count. The OnDemand administrator account does not.

More specifically

1. Yes. You can have up to 10 active accounts and lots more inactive, deactivating and reactivating as needed

2. No. The OnDemand system admin user is not counted

3. No, you must have a system admin at all times

comments: author: francescoc
body: Thank you very much!


Tags: confluence-cloud
Is it possible to add images to the header or the footer when exporting pages to a pdf file?
Asked by Stefani Siqueira:

I'm trying to add an image to the header of a pdf file when exporting the pages of a space. I've tried the code below in the PDF layout section with no success.  
`<``div` `style``=``"margin-top:10mm"``>`  
` ``<``img` `src``=``"/download/attachments/12346/header-image.png"``/>`  
`</``div``>`  
Also, I've tried to add the image by adding some code to the PDF Stylesheet section (as seen below) and referencing it in the PDF layout section . Failed again.  
1. #images
2. {
3. width:100%;
4. height:100%;
5. 
6. background: url("http://confluence/download/attachments/21071879/header-image.png") no-repeat;
7. }   
Is that a bug on Confluence? I'm currently running Confluence 5.2.3. Am I doing something wrong?


Answers:
author: Branno
body: Stefani,

By default, the items in the header only apply when you export the space itself and not the pages inside of it. The information at [Advanced PDF Export Customizations](https://confluence.atlassian.com/display/DOC/Advanced+PDF+Export+Customisations#AdvancedPDFExportCustomisations-headerfooter) should be helpful in adding what you are needing.

Cheers,

Stephen Brannen \| Confluence Support

comments: author: Stefani Siqueira
body: Thanks. I'll check out the link you mentioned.


author: Linda Chong
body: Stefani, any suggestion to this issue?


author: Tiina Dunn
body: I have successfully added a logo to the space and can export this to PDF for 1 or more pages.

- Link the logo to the back of any page in your space. Copy the location of this link

- In the PDF Space Export Title Page, Export Header, follow the instructions above and add your copied link the logo.

- To Export: (the logo will only appear when you use the custom export option)

* **Space Settings --\>** **Content Tools --\>** **Export Tab --\>** **Selected PDF and Next**
* Selected **Custom Export**
* Selected only the Pages I wanted, then selected **Export and downloaded the PDF**
* The logo appeared on each page

comments: author: Linda Chong
body: I managed to find out how to do this before your email. Nevertheless, appreciate your reply. Thanks.


author: Howard Chan
body: I tried to follow instructions from Advanced PDF Export Customizations page and I believe Stefani followed the instructions (just as I have) from this page and applied the code in the PDF layout tab. I tried this with no success and was not able to see the image displayed in the header, when I exported the specific page.

comments: author: kriti bansal
body: Even I am having issues with the same . Did you figure that out?


author: Linda Chong
body: I am having the same issue too. Could not get it to work. Really appreciate some suggestion to resolve this issue.


author: Nanda Kops-Assendelft
body: Having the same problems..... Any suggestions? Please.
How can we enable SS with our on premise active directory and our Confluence OnDemand
Asked by Dermot Mc Elduff:

We would like to setup SSO with our active directory and confluence on demand system. We have deployed ADFS (v3) can we utilist this?


Answers:
author: Tiago Comasseto
body: Hi Dermot, unfortunatelly this is not possible to be done with OnDemand platform, external user management is a [restricted function](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand) in this platform. You may consider moving to a local installation where this restriction doesn't exist.

Cheers

comments: author: Dermot Mc Elduff
body: From the list of restricted functions it states for Configuring OAuth authentication - You need the **'JIRA System Administrators'** [global permission](https://confluence.atlassian.com/display/JIRA042/Managing+Global+Permissions) to do that." can we utilise Jira ondemand to do this?


author: Tiago Comasseto
body: Sorry I think I didn't understand what you meant. We use OAuth authentication to link and share information between our applications, this is different than user authentication. Could you clarify what you're trying to achieve with this functionality?


author: Dermot Mc Elduff
body: We want to implement single sign on and identity management so users can either seemlessly access confluence with their internal AD credentials, or if not re-enter those details in a login portal. Additionally we want user access to be removed when we disable/delete a users AD account.


author: Tiago Comasseto
body: I'm afraid to say that it's not possible to be implemented in Ondemand platform. In this case, I'd suggest to conside moving to a local installation.


Tags: active-directory

cloud

sso
Space Attachment Macro is not filtering anything
Asked by Alaine Pabayos:

We have installed a Space Attachment Macro and turned on the filters. However, when we input Filtering conditions, nothing is returned back from the server.

Our macro's set-up is the following:

1. Filter By File Extension : xls

2. Filter By Label : xxxx

We have attachments with xxxx label in the space, but these were not filtered

Please let us know if there are any set-up that we made a mistake with.


Answers:
author: Bob Swift (personal)
body: FYI... [Attachment Table Macro](https://bobswift.atlassian.net/wiki/display/TBL/Attachment+Table+Macro) (part of [Advanced Tables for Confluence](https://bobswift.atlassian.net/wiki/display/TBL?src=breadcrumbs-homepage)) has more flexible filtering conditions (but no ability for user to modify the fitler on screen).

comments: author: Alaine Pabayos
body: Hi Bob,

Thanks for your answer. However, our user wants the modifyable filter in the screen. Will look into the plugin more and maybe we can have a use for this in other pages.


author: Davin Studer
body: Do you have xls attachments that also have the xxxx label? The filter list is an AND between the two inputs not an OR. So, if yo put in xls and xxxx it will only return results that are xls files that have the xxxx label ... not xls files and files that have the xxxx label. Aside from that maybe your index is a bit wonky and needs to be rebuilt.

comments: author: Alaine Pabayos
body: Hi David,

Yes, of course, the xls attachment has the xxxx label. Index problem was already considered and we have done reindexing however, after reindexing, nothing is still filtered.

Btw, the thing is, when we click on the Filter button, the page becomes blank.


author: Davin Studer
body: What version of Confluence are you on?


author: Alaine Pabayos
body: Hi David,

We are using Confluence 5.3.1
[confluence] [fix request] Ctrl+Shift+V should past text without formatting in Confluence editor
Asked by Colin Magne:

Now this shortcut is mapped on "no action". Which means that even browsers who supports that "past without formatting" features gets hijhacked and do nothing instead (it's the case for Chrome).

Please fix this :)


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Colin, currently that combination of keys [is assigned to a different operation](https://jira.atlassian.com/browse/CONF-28229?focusedCommentId=449391&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-449391) within Confluence, you may post your concerns to the ticket([CONF-28229](https://jira.atlassian.com/browse/CONF-28229)) where we are tracking this change in the application, also adding your concerns to it.
The Confluence plugin has been uninstalled. Can you create an instance for me again?
Asked by Ron Varma:

The Confluence plugin has been uninstalled. Can you create an instance for me again?


Answers:
author: Nic Brough -Adaptavist-
body: Nope.

We're a community of end-users like yourself. You haven't told us what system you're using, who runs it for you, given any indication of who you are, or even a clear idea of what plugin you are talking about (A plugin to hand a Confluence connection in what? Or do you mean a plugin in your Confluence?)

You'll need to explain this fully, and/or refer to your system administrators.
WebDAV - Windows 8 & Office prompting for credentials
Asked by Michael Salisbury:

I've mapped a drive to my Confluence installation using SSL (or non-SSL, either has the same result).

Whenever my computer is rebooted I get prompted for the credentials again to connect to the drive (if I tick remember password, Windows automatically fills this out, but still prompts me). Whenever I open a document (Adobe, Office etc.) I get the same thing: credentials prompt (even though Windows has automatically populated the prompt with my credentials.

I've done some reading around the web and it seems that because Confluence is using basic authentication for it's WebDAV that my credentials can't be delivered to it (the instance name is [wiki.xxxxx.com](http://wiki.xxxxx.com), and have matching SSL certificate from a public authority etc.).

Is anyone able to shed any light on the above or suggest a solution?

Thanks


Answers:
author: Wayne Wong
body: Hi Michael,

Could you please try to login as confluence admin\>\>Configuration\>\>\>Office Connector\>\>\>\> tick Allow authentication tokens in the URL path see if the issue fix?

[](https://confluence.atlassian.com/display/DOC/Configuring+the+Office+Connector)<https://confluence.atlassian.com/display/DOC/Configuring+the+Office+Connector>

You can also refer to the documentation here for your webdav configuration

[](https://confluence.atlassian.com/display/AOD/Configuring+a+WebDAV+client+for+Confluence)<https://confluence.atlassian.com/display/AOD/Configuring+a+WebDAV+client+for+Confluence>

Hope these help.

Thank you.

<br />

Regards,

<br />

Wayne Wong

comments: author: Michael Salisbury
body: Hi Wayne,

I'm afraid that didn't help. I wouldn't have thought the Office Connector was used when accessing files via WebDAV via a Windows mapped drive?

Cheers

Michael


Tags: confluence-administration