Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create Confluence macro with drawio csv contents in a parameter

Marcel Kat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 14, 2021

Hi,

We currently have the below Confluence macro for embedding a drawio object in a page:

<ac:structured-macro ac:name="inc-drawio" ac:schema-version="1" ac:macro-id="34e45f48-2f8e-82b6-925c-b9163fe120c5">
<ac:parameter ac:name="zoom">1</ac:parameter>
<ac:parameter ac:name="diagramDisplayName">habit-tracker-app-aws.txt</ac:parameter>
<ac:parameter ac:name="lbox">1</ac:parameter>
<ac:parameter ac:name="contentVer">1</ac:parameter>
<ac:parameter ac:name="baseUrl">https://mysite.atlassian.net/wiki</ac:parameter>
<ac:parameter ac:name="diagramName">habit-tracker-app-aws.txt</ac:parameter>
<ac:parameter ac:name="pCenter">0</ac:parameter>
<ac:parameter ac:name="includedDiagram">1</ac:parameter>
<ac:parameter ac:name="csvFileUrl">https://raw.githubusercontent.com/jgraph/drawio-diagrams/master/examples/csv/habit-tracker-app-aws.txt</ac:parameter>
<ac:parameter ac:name="width">527</ac:parameter>
<ac:parameter ac:name="links">auto</ac:parameter>
<ac:parameter ac:name="tbstyle">top</ac:parameter>
<ac:parameter ac:name="height">369</ac:parameter>
</ac:structured-macro>

My question is: Would it be possible to create a Confluence macro with drawio csv contents in a parameter instead of loading the content from a url (csvFileUrl parameter)?

Thanks in advance,

  Marcel Kat

1 answer

0 votes
Fabian Lim
Community Champion
October 24, 2021

Hi @Marcel Kat

If you are still looking for an answer, I would contact Draw.io support to get a faster response.  Link: https://marketplace.atlassian.com/apps/1210933/draw-io-diagrams-for-confluence?tab=support&hosting=cloud 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events