youngmon/atlassian-qna huggingface dataset:
How can I pass html-text from page or user macro into a custom macro graphviz
Asked by ellodj:

Hi,

plan is to render a organization chart for my using the App "Graphviz". The data comes from SQL-Query using the App "SQL for Confluence".

The Macro "graph-from-table" doesen't work for me, because I need special formated objects/labels to display as you can see below.

The following data was generated in a Confluence User Macro using Javascript and stored on page in this html tag:

\<p id="GVFINALDATA"\>\</p\>

Here is the Data from the Confluence User Macro:

digraph {

graph \[fontname = "arial"\];

node \[shape = record, fontname = "arial"\];

edge \[fontname = "arial"\];

"xxx"\[label="{Namexxx\|{Typ: xxx\|ID1: xxx\|ID2: xxx}}"\];

"yyy"\[label="{Nameyyy\|{Typ: yyy\|ID1: yyy\|ID2: yyy}}"\];

... more lines of labels ...

"xxx" -\> "yyy";

... more lines of relations ...

}

I tested Velocity and also Javascript to generate the data. The problem is always the last step, copying the data into the body of the graphviz macro.

It works, if I hand over pre defined data using velocity (server site) to the Macro.

#set ($data = 'digraph { graph \[fontname = "arial"\]; ... more lines ...}')

\<ac:structured-macro ac:macro-id="fe3a6021-d09b-495b-8079-7b33c223cba1" ac:name="graphviz" ac:schema-version="1"\>

\<ac:plain-text-body\>\<!\[CDATA\[$data\]\]\>\</ac:plain-text-body\>

\</ac:structured-macro\>

But it doesent't work using Javacript at client site - I know it's to late, the page already exists.

So, the question is, how can I call the Macro "graphviz" using javascript on client site and passing the data into the body?

Or is it possible to use velocity in a new User Macro, which reads the data from the existing html paragraph like using "document.all.GVFINALDATA.innerHTML" in Javascript?

Many thanks for your help.

Reguards J?rg


Answers:
author: Bill Bailey
body: Is Graphviz available as a Confluence plugin?

comments: author: ellodj
body: Yes, it is.

[Graphviz Diagrams for Confluence](https://marketplace.atlassian.com/apps/257/graphviz-diagrams-for-confluence?hosting=server&tab=overview)

by Bob Swift Atlassian Apps (an Appfire company)

We use it on-premises, Server-Version.


author: ellodj
body: I've additional information but not the solution...

The following example works...

AJS.toInit(function() {

document.getElementById('GVOUTPUT').innerHTML = '$action.getHelper().renderConfluenceMacro("{cheese}")';

})

But not the one with the Call for the "graphviz"...

AJS.toInit(function() {

document.getElementById('GVOUTPUT').innerHTML = '$action.getHelper().renderConfluenceMacro("{digraph:"Test XXX Test"}")';

})
Do we have a feature to create forms in confluence ?
Asked by Rajat Saxena:

I had a look at the following pages - <https://confluence.atlassian.com/doc/blueprints-323982376.html>

We can create blueprints/templates that will allow users to select them to get started with their work. After the page is created, user can completely modify that template and can write his/her own custom content.

Is there some way in which we can force the user to adhere to the template they have selected ? Can we have form-like controls that will give us (the template creator) to perform validations on the input data being provided in the form variables (maybe invoke a javascript function when the value gets changed) ? Also the fields created by the template like tables, textboxes, etc should not be deleted by the user completely.

Please let me know if it is supported by confluence or we can have this custom behavior after creating custom plugins.


Answers:
author: Alex Medved _ConfiForms_
body: Hi

There is no built-in functionality in Confluence for building custom forms.

We, among the other vendors, have developed plugins to support users in this area - [https://marketplace.atlassian.com/search?product=confluence\&query=forms](https://marketplace.atlassian.com/search?product=confluence&query=forms)

Alex


Tags: cloud

confluence-cloud
'Automatically-added' page name to the link causes troubles
Asked by Zengzhi Zhao:

Hi

Put it simple, in my confluence page with the name Pagename, I add a link with Heading named Headingname in this page. So I think the correct link should be *#Headingname*.

However, in the occasional updates of this page, the link turned to *Pagename#Headingname* and when I clicked this link it jumped right to the loading edit page which will never finish loading.

All I did when updating the page was modify the page content and add/delete/modify some links. I don't know this 'automatically-added' page name is caused by the system or my operation. Please help me.

Thank you


Answers:
author: Alex Koxaras _Relational_
body: When you say that you "add a link with Heading named Headingname", you mean that you added an anchor macro? Can you please share some screenshots?


Tags: cloud
Page properties report in new editor only returns column headings not row headings
Asked by Vicki:

In the old editor I could put information in a table displaying the headers in the row header rather than the column header and it would pull through on the report ok, but in the new editor this just doesn't seem to work.

Instead of getting the page property headings: 'Author, Example 1, Example 2, Specification Status, Approvers, Date', I get 'Author, B, C, DRAFT, E'.

Is there any way around this or is this just another example of reduced functionality in the new editor?

![Example.png](https://community.atlassian.com/t5/image/serverpage/image-id/89704i45E64265F11596C8/image-size/large?v=v2&px=999 "Example.png")


Answers:
author: Natalie Paramonova [Stiltsoft]
body: Hi [@Vicki](/t5/user/viewprofilepage/user-id/1620444) ,

I guess you need to click the first table cell and:

1. Disable the Header row option for the first row

2. Enable the Header column option for the first

![2020-04-08_14h52_08.png](https://community.atlassian.com/t5/image/serverpage/image-id/89742i41B03A05A72D88F6/image-dimensions/558x301?v=v2 "2020-04-08_14h52_08.png")

This works for me.

comments: author: Vicki
body: Super, thank you!


author: Natalie Paramonova [Stiltsoft]
body: You're welcome!


Tags: cloud

confluence-cloud

page-property
How can I modify the date format in Confluence's "Date" macro?
Asked by Frank Schimmel:

When I enter "//" for the date picker of Confluence "Date" macro, I see different formats of the displayed date depending on my language settings in my user profile:

English (US): dd MMM yyyy, e.g. 08 Apr 2020

German: dd.mm.yyyy, e.g. 08.04.2020

The date format in Confluence's general settings does not affect this format.

How can I - as user or as admin - can configure the format of the displayed date of the date macro? I would like to configure the ISO format "yyyy-mm-dd", if possible as admin for all users.

Thank you  
Frank


Answers:
author: Shannon S
body: Hello Frank,

Thank you for pointing me to this question! Per the question, [Confluence : date picker format](https://community.atlassian.com/t5/Confluence-questions/Confluence-date-picker-format/qaq-p/683068), the format of date picker is solely based on the language you have set in Confluence. It is not expected that modifying the Confluence date format would change this.

In the past, we've had both a bug and a feature request logged for this. I would recommend you vote on and watch both:

* [CONFSERVER-40087](https://jira.atlassian.com/browse/CONFSERVER-40087) *Date picker macro doesn't use specified date format* (Bug)
* [CONFSERVER-55188](https://jira.atlassian.com/browse/CONFSERVER-55188) *Make the date format for the date picker "//" shortcut configurable*

I hope that's clear, but do let me know if you have any questions about that!

Regards,

Shannon

comments: author: Frank Schimmel
body: Hi Shannon,

thank you very much for the immediate response, though it says was I was afraid to hear ;-).

Regards

Frank
Restricted pages in Acitvity Stream
Asked by Zashchitin Vladimir:

The administrator can see in the UI all the pages on the Confluence Server including the restricted pages. But the Activity Stream feed only displays changes on publicly accessible pages.  
Is it possible to track changes in Activity Stream on all pages of the Confluence Server, including restricted pages? Can there be other ways to track page creation and editing?


Answers:
author: Dominic Lagger
body: Hey [@Zashchitin Vladimir](/t5/user/viewprofilepage/user-id/3852268)

I think you ask because you are an administrator?

I'm an administrator as well, and I've noticed the same thing. Even in the search i can't find the pages which are restricted.

My explanation is that Atlasian did this on purpose. Because as an administrator you should only go to these pages when something is wrong or doesn't work. The pages are actually restricted for a reason.

For me, this makes sense.

For your question, I'm not aware of any other tracking system.

Regards, Dominic


Tags: confluence-server

server
Link Text is not shown probperly
Asked by Philipp:

Hi,

since yesterday the link function shows unwanted results. I mark a text and try to place a linked page behind, but than the text get overwritten by the title of the page im linking. To keep the text as it was written before I have to manually re-write it. This is very enoying.

I restarted the Computer, I logged OFF and ON again on Jira, etc. I even tested another browser (Chrom -\> Safari). Nothing helps!!

This is making my work interlinking a huge document to a pain in the neck. The big frustration is that it worked well for 3 days and now it suddenly does not work anymore. The incident situation from the last night did not solve it as well.   

I do not even know how to report this bug. I always get directed into this community.

So can someone help me out with this?


Answers:
author: Cl?ment Perche
body: Hello

I have the same issue on a specific page of our Confluence server for some months now.

On a document that is regularly edited by different users of Confluence, some link to an anchor of the current page have their text changed without our intervention.

Let me give you an example: on the page named 'Clinical Operations Organizational Chart', I've placed some anchor in the document(DCO, CTM...) and then created links to those anchor by clicking on Insert Link, going to advanced tab, writing '#DCO' (no quotes) in the Link field and 'DCO' in the Link Text field.

When I publish the page, at first there are no issue, the link displays 'DCO' but after a while and without any modification of the page, the page display 'Clinical Operations Organizational Chart#DCO' for everyone, and we have to change the text manually. It does not occur on every link, but a large proportion of them.

I tried changing the Link location to 'Clinical Operations Organizational Chart#DCO' instead of just the anchor name, but it still regularly occurs.

To my knowledge, this only occurred on a specific page for now.

Do you have any knowledge of this issue or any way to correct it?

Thanks


author: Diego
body: Hello [@Philipp](/t5/user/viewprofilepage/user-id/3852287) ! I see that you are having problems with the creation of links based on selected text in a Confluence page.

I tried to replicate the behavior described by you but was ultimately unable to. Here is what I see when I create a link by selecting text:
> ![Screen-Recording-2020-04-14-at-1.gif](https://community.atlassian.com/t5/image/serverpage/image-id/90396iEFA313B58CE6A39A/image-dimensions/490x285?v=v2 "Screen-Recording-2020-04-14-at-1.gif")

With this in mind, I would like to ask you a few questions:
> 1. *Is this behavior happening in Confluence or Jira?*
> 2. *Is this affecting any other user, other than yourself?*
> 3. *Is this happening in all pages in Confluence?*

Let us hear from you!


Tags: cloud

confluence-cloud
Create a space
Asked by Yuting.Dou:

Hi there! I want to create a space for my team, but I cannot find a "create space" button under "Spaces" in the side bar. I have read the instructions: <https://confluence.atlassian.com/confcloud/create-a-space-724764752.html>

Can you give me instructions to create a team space?

Thank you very much!


Answers:
author: Dominic Lagger
body: Hi [@Yuting.Dou](/t5/user/viewprofilepage/user-id/3852121)

I think you did not have the permission to create a space.

These has to set in the settings: [Global Permission View](https://confluence.atlassian.com/confcloud/global-permissions-overview-724765488.html)

You should ask your confluence administrator to help you out.

Regards, Dominic

comments: author: Yuting.Dou
body: Thank you Dominic!


Tags: new-to-confluence
Anyone using Confluence Server and Microsoft Teams together & willing to discuss?
Asked by Hugh Bathurst:

We've been finding Confluence Server (6.15.6 at moment) for some years in Australia (\& recently Asia) and finding it increasingly useful to help build effective knowledge sharing culture.

Our USA colleagues recently introduced Microsoft Teams and we'd like to learn (\& share) forward on this with view to a possible Confluence Server / Microsoft teams co-existence.

We figured a good place to start would be to see if could establish a dialogue with existing sites using same to their satisfaction. (Happy to tic tac here or directly.) Cheers - Hugh (KM Team, Melbourne)


Answers:
author: Move Work Forward
body: Hi Hugh,

Very nice question.

There are 2 main ways to integrate Microsoft Teams and Confluence Server.

1. **Uni-directional**. Information flows from Confluence Server to Microsoft Teams. For instance, Confluence Server can post cards/messages about events in Confluence (pages, blogs, comments created or updated). The key benefit here is simplicity and reduced security surface, as you don't need to expose you Confluence to the Internet.

2. **Bi-directional.** Information flows both ways. For instance, Microsoft Teams users can reply to comments, search content and embed cards, unfurl links and even embed pages in the Microsoft Teams tabs. I would bet this integration is more useful, because people can do more actions from Microsoft Teams. However, this way forces to expose more functionality "to the world" in order to have this tighter integration. Additionally, not all things are possible (like Tab embedding) as Confluence (as many other web apps) doesn't like to be embedded in an iframe.

If you need further help with Microsoft Teams and Atlassian products please let me know.  

As a vendor, we've got currently in the market the one-way integration - [Microsoft Teams Confluence Connector](https://marketplace.atlassian.com/apps/1216348/microsoft-teams-confluence-connector?hosting=server&tab=overview) and we are in the final step of the review my Microsoft of our Bi-directional integration.  

This month we are working hard on the release of a new version with tons of new features (filters, alerts, scheduled reports, enhanced performance, etc).

Please help us shape it by providing your requirements (3 questions) - <https://moveworkforward.typeform.com/to/bPPlBr>  

<br />

All the best,  
Leo

comments: author: Rafael Corredor
body: Hi Leo,

Is there any update of the Bi-directional integration of MS-Teams and JIRA/Confluence (server)? We are very interested on it!

Thank you very much


author: Move Work Forward
body: Hi [@Rafael Corredor](/t5/user/viewprofilepage/user-id/609897) ,

Thanks for asking.

We are planning to release Jira support in September and Confluence in October.

Regards,

Leo


author: Move Work Forward
body: Hi,

If anybody needs a consultation on how to connect Microsoft Teams and Atlassian please schedule it here - <https://www.moveworkforward.com/microsoft-teams-atlassian-consultation>

Cheers
Collaboration not logging in
Asked by Vincent Quigg:

Is it possible for someone to collaborate without having to login?


Answers:
author: Parvaneh Zand
body: Hi [@Vincent Quigg](/t5/user/viewprofilepage/user-id/3851824) ,

Anonymous users can access confluence only if you grant them "**Can Use"** permission in Confluence [Global Permissions](https://confluence.atlassian.com/confcloud/global-permissions-overview-724765488.html).

After that, make sure they have permission to collaborate in your [Space Permissions](https://confluence.atlassian.com/confcloud/space-permissions-overview-724764760.html) setting.


Tags: cloud
Report Catalog
Asked by Honda_Mx_Racer:

Hello,

I've been tasked with creating a Reporting Catalog which is to contain all the documentation for the SQL reports my team has developed. I have a template that I can use to document each SQL report, but I'm not sure how to organize the content on a parent page (e.g., by category, name, etc). Does anyone have any advice or can share a template that is already available?

Thanks!


Answers:
author: Parvaneh Zand
body: Hello [@Honda_Mx_Racer](/t5/user/viewprofilepage/user-id/18243) ,

You can add labels to each page/template, then by using Content by Label macro in parent page, display pages marked with those labels.

Read more here: [Use Labels to Organize your Content](https://confluence.atlassian.com/doc/content-by-label-macro-145566.html)


Tags: confluence-server

report

server
Old and new editors show up
Asked by Felix Rey:

I have noticed that, depending on the page I edit, I see different editors.

My question: **How can I only work with the new editor?**

What I think is the **old editor**:

![old.PNG](/t5/image/serverpage/image-id/89625i5B1AF88C7E7898A5/image-dimensions/503x264?v=v2 "old.PNG")

What I think is the **new editor**:

![new.PNG](/t5/image/serverpage/image-id/89626i3C66737B215947C6/image-dimensions/477x304?v=v2 "new.PNG")


Answers:
author: Ste Wright
body: Hi [@Felix Rey](/t5/user/viewprofilepage/user-id/3851415)

You'll still see the Legacy Editor for any page which was created using the old editor.

If you want to use the new editor for these pages, you'll need to either recreate or convert them.

Conversion is a feature which is rolling out soon - but you can request early access from the form linked to [this community article](https://community.atlassian.com/t5/Confluence-Cloud-articles/Convert-your-old-pages-to-the-new-editor/ba-p/1292275).

You can also see more about page conversion on this [help page](https://confluence.atlassian.com/confcloud/convert-pages-to-the-new-editor-993930226.html).

Ste

comments: author: Felix Rey
body: Thanks Stephen! Meanwhile I have also heard that the new editor will not be available on the server version of confluence. As we plan to move to this version soon, I'll just stick with using the old editor.

Thanks and all the best

Felix


Tags: cloud
Max Bullet Depth
Asked by Dave_Hall:

It there a way to have more than 6 levels of bullets or numbered lists?

When creating a bullet list (in a BLANK page template) I can only have 6 levels of indentation. (see screenshot)

![confluence bullets.png](/t5/image/serverpage/image-id/89594iF6DEDB0D1774009B/image-dimensions/124x252?v=v2 "confluence bullets.png")

Oddly, in THIS box, I can have more than 6 levels

* 1
  * 2
    * 3
      * 4
        * 5
          * 6
            * 7
              * 8
                * 9
                  * 10
                    * 11
                      * 12

**So can the regular BLANK page template be upgraded to have more than 6 levels?**


Answers:
author: Allison Hunter
body: This needs to be promoted to a feature request. It's bizarre that you can use the workaround to created any number of tiers, but you can't do it with the natural keyboard strokes.


author: Fabian Lim
body: Hi [@Dave_Hall](/t5/user/viewprofilepage/user-id/3851060)

There is a post here that provides you with some solutions.

Link: <https://community.atlassian.com/t5/Questions-for-Confluence/Can-I-indent-a-bulleted-list-more-than-than-the-default-starting/qaq-p/1199470>

Regards

comments: author: Nathan Summers
body: I don't see any solutions on that link, I only saw some work-arounds to indenting more than 1 indent at a time.

I'd like to push for this bullet-list-depth limitation to be removed from the wysiwyg editor. I cant imagine what the reason is for limiting it to a depth of 6.


author: Mark Peterson
body: Need more than 6 bullet point depth, please fix, how do we submit this as a bug or feature request?


author: Nathan Summers
body: I've found a reasonable work around.

Make a bulleted list of two levels, eg

* L1
  * L2

Copy that two-line list, and paste it at the place you cant indent further from, and edit the text. With that I can go to any depth bulleted list, no more limited to that artificial 6-deep limitation.


Tags: cloud

list
Cannot find PDF Stylesheet option
Asked by Zeus_Cortes:

I am an administrator on Confluence, but I cannot find the PDF Stylesheet option anywhere. It is not where the documentation says in General Configs \> Look and Feel \> PDF Stylesheet.


Answers:
author: Fabienne Gerhard
body: Hi [@Zeus_Cortes](/t5/user/viewprofilepage/user-id/3753119)

do you have global admin rights? Because what [@Ed Gaile _Atlanta_ GA_](/t5/user/viewprofilepage/user-id/331211) showed are settings for space pdf settings. These are two different things.

General Config is entered over header area using clog and will change PDF layout for the whole site -\> need global admin rights

General config -\> PDF layout

Space settings you can enter on space tools and will change layout only for this one space -\> need space admin rights

Space tools -\> Look and Feel

<https://confluence.atlassian.com/doc/customize-exports-to-pdf-190480945.html>

So it depends on what you wanna do ??


author: Ed Gaile _Atlanta_ GA_
body: That is the right location - what do you see when you go to Look and Feel?

![confl-1.png](https://community.atlassian.com/t5/image/serverpage/image-id/89612iA67FE579CB8FB585/image-size/large?v=v2&px=999 "confl-1.png")


Tags: confluence-server

server