It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

User macro for embedding of external web-page

Aliaksei Mishenin Nov 12, 2013

Is it possible to write user macro like iframe from 'Adaptavist Content Formatting' plugin or it is using some java scripts that need to be bundled with macro in plugin?

5 answers

1 accepted

0 votes
Answer accepted
Aliaksei Mishenin Nov 13, 2013

We've made it. Works fine in 5.3.1 and 4.2.3

Macro body processing: no macro body

Template:

## Macro title: My Macro

## Macro has a body: Y or N

## Body processing: Selected body processing option

## Output: Selected output option

##

## Developed by: IT Solutions Dep

## Date created: dd/mm/yyyy

## Installed by: My Name

## @param URL:title=Url|type=string|required=true|desc=Enter include URL

## @param width:title=Width|type=string|required=true|desc=IFrame width (% or px)

## @param height:title=Height|type=string|required=true|desc=IFrame height (% or px)

## @param id:title=ID|type=string|required=true|desc=IFrame ID

<iframe src="$paramURL" height="$paramheight" width="$paramwidth" id="$paramid"></iframe>

Rachael Birky Jul 14, 2014

I developed a macro like this, but am having trouble displaying two iframe macros on a page (even with unique div ids, and even though they show in preview). Is this a problem you have also encountered?

It's still working? My macro stay in white

1 vote
Davin Studer Community Leader Nov 12, 2013

Why don't you want to use Adaptavist's iframe macro? You could create a user macro that creates an iframe, but why would you want to re-invent the wheel?

Aliaksei Mishenin Nov 12, 2013

Because this plugin doesn't support current 5.3.1 version of Confluence and we can't just sit and wait when Adaptavist will update this plugin.

Davin Studer Community Leader Nov 13, 2013

Have you tried it on 5.3 yet? Often times it only says it is not compatible because the author hasn't updated the listing to say it is compatible. I could very well still be compatible and with what it is doing (not using a lot of framework stuff) I would imagine it still works.

0 votes
rambabu patina Nov 12, 2013
Do you want to import the external web page to confluence page...?
Aliaksei Mishenin Nov 12, 2013

It's not like importing, it's like classic HTML frame http://en.wikipedia.org/wiki/HTML_element#Frames

We using it to work with some external web-services without need to leaving our Confluence

0 votes
David Thomas Jan 27, 2014

Did you find a fix for this?

0 votes
David Thomas Jan 27, 2014

Did you find a fix for this?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

2,593 views 12 29
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you