I am not able to enable HTML macros

Bhakti Honmute December 4, 2020

Unable to get an option confluence HTML Macros in manage app. Also how can i get to know which version and hosting type i am using.

1 comment

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 4, 2020

For now, there's a really simple test for finding out if you're on server or cloud.  Look at the url you are on.  If it is <something>.atlassian.net, you are on Cloud.  Any other domain, it's Server or DC.

My guess is that you are on Cloud where there are no html macros.

Bhakti Honmute December 4, 2020

Yes, that's right. Then how do I enable HTML macros for importing .htm bulk of pages. How can i do for this without changing any text style, image properties.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 4, 2020

The html macros have nothing to do with importing pages.

See https://support.atlassian.com/confluence-cloud/docs/import-content-into-confluence-cloud/ for your import options.

Bhakti Honmute December 4, 2020

Thanks for your quick reply.

My actual requirement is , I have already created my all pages in MADCAP flare authoring tool. The output of the  file is online HTML (webpages). Now I want to migrate my all existing written pages to confluence cloud version without changing any page style. In my pages the CSS (stylesheet, HTML), images,  etc, are included. How can I migrate those pages to confluence. 

 

Please help me on my above requirement.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 7, 2020

Confluence is not an html storage and display engine, it's a wiki.  You'll be able to import content page by page, but it's going to come out as raw html if you just import it flat.

You'll need to throw away your html, and go back to the actual content.  Import that, and then change the look and feel of Confluence so it matches what you are trying to achieve.

Bhakti Honmute December 8, 2020

Thanks for reply.

After importing the web content through custom HTML CSS and javascript, the images & links are not working after the changing the path also.

Looking for more info in detail on images and links formatting.

If you can provide demo/guide on custom HTMl CSS and javascript app on how to use/create the layout that would be easier to take decision on purchasing the add on app. 

Bhakti Honmute December 9, 2020

Is there way where i can copy bulk of images though Custom HTML CSS & Javascript

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 9, 2020

You have not said what "add on app" you are using, and how you import images is entirely up to whatever method you have chosen to do the importing with.  I can't help you with stuff you haven't told us about.

Bhakti Honmute December 9, 2020

i am using trial version of Custom HTML CSS javascript add on, whcih they provide me - 

 

add on.PNG

kindly suggest on images and links are not working with above add on/macros

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 9, 2020

Right, so that app displays things in a different way to core Confluence.  That's fine, but all I can tell you about it is that you need to change your data so that it is valid for Confluence.

There's no magic "fix data that is wrong" here, you're going to need to look at each image and link that is not working and change it to a working one.

Bhakti Honmute December 9, 2020

Thanks. 

I used following tag with correct path which is publicly accessible - 

 

<img width="20" height="20" src="\\x.x.x.x\Bulk-Export\Images\acCAM.png">

 

still the image is breaking on page. Kindly check. 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 9, 2020

You should not be doing this with html, it breaks because Confluence is not built to do it that way.  Use the attachment display macro instead.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events