You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Greetings fellow Atlassians, i wanted to ask you whether (and if yes how?) it is possible to link attached files of a confluence page as source for the style / script for my HTML-Script inside of a HTML Macro.
Thank you for your help.
Hi @Jo Ro ,
If I understood well you have a CSS and JS files attached to a Confluence page and you'd like to use them in your HTML macro. If this is the case, maybe you can add in the macro:
<link rel="styleshhet" href="/your_site_name/download/attachments/page_id/your_styles.css">
<script src="/your_site_name/download/attachments/page_id/your_scripts.js"></script>
Hope it helps.
Vitor
Hi @Vitor LC ,
thank you for your answer.
Finally i was able to test whether this option is working but sadly it isn't.
Is it possible that empty spaces in the page name have to be decoded for the link?
Thanks for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There was a problem with the spaces in the pages title, but i was able to resolve that problem by substituting them with "+".
Sry for the late answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.