Why do some implementations of Confluence Embedded Pages work better than others?
Asked by David at David Simpson Apps:

Confluence Embedded Pages (CEP) allow you to publish Confluence content in external systems. It's powerful stuff and [here's some examples](https://community.atlassian.com/t5/Confluence-Cloud-articles/Partner-Integrations-with-Confluence-Embedded-Pages/ba-p/2388405).

If however you are using apps and macros from Atlassian Marketplace, it seems that some implementations are better than others.

In the example below, we are using [Table from CSV](https://www.dsapps.dev/products/table-from-csv-in-confluence/) from the [Atlassian Marketplace](https://marketplace.atlassian.com/apps/1226146/table-from-csv-in-confluence?tab=overview&hosting=cloud). It is a macro built on Atlassian Connect. Here's what it looks like in a Confluence page:

![Screenshot 2023-09-28 at 17.37.53.png](/t5/image/serverpage/image-id/283569i4F39C3ECC0DAF54D/image-size/large?v=v2&px=999 "Screenshot 2023-09-28 at 17.37.53.png")

It displays tabulated data in your page.

To aid things visually, I've added

"? ? ? ? ? Macro here ? ? ? ? ? " above the macro, and

" ?? ?? ?? ?? ?? Macro here ?? ?? ?? ?? ??" below the macro.

If the macro is not displayed, you'll just see these next to each other

Confluence Embedded Pages done right {#toc-hId--434728963}
----------------------------------------------------------

The following examples display the macro correctly

#### Refined for Confluence {#toc-hId--1541118848}

Everything works good in Refined's use of CEP. You can see the table of data.

![Screenshot 2023-09-28 at 17.37.56.png](/t5/image/serverpage/image-id/283571i5E44FC5F2FC93CE7/image-size/large?v=v2&px=999 "Screenshot 2023-09-28 at 17.37.56.png")

#### Jira Project Pages {#toc-hId-946393985}

Everything works good in Jira Project Pages' use of CEP. You can see the table of data.

![Screenshot 2023-09-28 at 17.37.58.png](/t5/image/serverpage/image-id/283572iBAAFFA401BA7E4AE/image-size/large?v=v2&px=999 "Screenshot 2023-09-28 at 17.37.58.png")

Confluence Embedded Pages done wrong {#toc-hId--1562125056}
-----------------------------------------------------------

The following examples do not display the macro at all.

#### Confluence Cloud for Microsoft Teams (by Atlassian) {#toc-hId-1626452355}

I couldn't get this integration to work at all in the native Microsoft Teams app, but using Teams in the browser, the page was displayed.

Unfortunately, the macro was not displayed correctly, and worse there was not even a placeholder to show that content was missing.

![Screenshot 2023-09-28 at 17.38.02.png](/t5/image/serverpage/image-id/283575i413FEF7485147AF1/image-size/large?v=v2&px=999 "Screenshot 2023-09-28 at 17.38.02.png")

#### Miro {#toc-hId--181002108}

Miro's implementation of CEP was the same as Atlassian's Teams integration. The macro was missing without even a placeholder:

![Screenshot 2023-09-28 at 17.38.05.png](/t5/image/serverpage/image-id/283576i9B55F1C32B2E71D5/image-size/large?v=v2&px=999 "Screenshot 2023-09-28 at 17.38.05.png")

I've tried to understand what's different for the Teams \& Miro versions of CEP that stops them from working properly, but have not worked it out yet.

Perhaps it's something to do with iframe sandboxing or the content security policy of some frame ancestors.

If anyone knows how to fix these so that they work correctly, I am all ears.

I'm also happy to update this post as and when each is fixed.

Cc: [@Lennon Liao](/t5/user/viewprofilepage/user-id/4173243) [@Dugald Morrow](/t5/user/viewprofilepage/user-id/510410)


Answers:
author: David at David Simpson Apps
body: What do you know, Atlassian fixed the macro support in the browser-based version of Teams:

![Screenshot 2023-10-03 at 11.52.38.png](https://community.atlassian.com/t5/image/serverpage/image-id/284183i7E0EDC2DD2E09931/image-size/large?v=v2&px=999 "Screenshot 2023-10-03 at 11.52.38.png")

And it now works in Miro too!

![Screenshot 2023-10-03 at 11.55.34.png](https://community.atlassian.com/t5/image/serverpage/image-id/284184i29B9DAEA68D059AA/image-size/large?v=v2&px=999 "Screenshot 2023-10-03 at 11.55.34.png") Thanks [@Lakhan Rochwani](/t5/user/viewprofilepage/user-id/5328806).

![vn-gs.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/284185i629BB86133E36B1F/image-size/large?v=v2&px=999 "vn-gs.jpg")

comments: author: Lakhan Rochwani
body: Happy to know [@David at David Simpson Apps](/t5/user/viewprofilepage/user-id/781462) !


author: David at David Simpson Apps
body: [@Lakhan Rochwani](/t5/user/viewprofilepage/user-id/5328806) it looks to me that only pages without marketplace/connect macros are actually editable in CEP. Is there a public ticket for this, do you know?


author: Dugald Morrow
body: Hi [@David at David Simpson Apps](/t5/user/viewprofilepage/user-id/781462) , I don't know exactly what the differences are between these apps, but I've been informed the team is currently working on full support for Connect macros.

comments: author: David at David Simpson Apps
body: ?


author: David at David Simpson Apps
body: Another thing that's most interesting is that the "atl.footer" extension location works in the Jira Project Pages and Refined implementations but not in the MS Teams or Miro implementations. ?


author: Lakhan Rochwani
body: Thanks [@David at David Simpson Apps](/t5/user/viewprofilepage/user-id/781462) for such a great blog!

comments: author: David at David Simpson Apps
body: My pleasure [@Lakhan Rochwani](/t5/user/viewprofilepage/user-id/5328806).

I want all Confluence Embedded Pages to work beautifully, so if you know anyone responsible for Confluence Cloud for MS Teams, could you give them a nudge? Same for our friends at Miro.

Big respect to the folks at Refined, they give it ?.


author: Lakhan Rochwani
body: [@David at David Simpson Apps](/t5/user/viewprofilepage/user-id/781462) already did!   
Thanks for bringing this to our attention!


author: David at David Simpson Apps
body: Also, I notice the ones that **don't** **work** have the "Powered by Confluence" bit at the bottom. Maybe it's connected ?


author: Raj - Refined
body: [@David at David Simpson Apps](/t5/user/viewprofilepage/user-id/781462) Appreciate the kind words about Refined, mate!


author: David at David Simpson Apps
body: [@Lakhan Rochwani](/t5/user/viewprofilepage/user-id/5328806) [@Lennon Liao](/t5/user/viewprofilepage/user-id/4173243) [@Dugald Morrow](/t5/user/viewprofilepage/user-id/510410) Do you know if the servicedesk at [https://fy22august.atlassian.net/servicedesk/customer/portal/6/group/19/create/63](http://at?https://fy22august.atlassian.net/servicedesk/customer/portal/6/group/19/create/63) is actively monitored? And by whom?

It's listed as the way to get Embedded Pages working here:  
[https://atlaskit.atlassian.com/packages/confluence/embedded-confluence-public/docs/Prerequisites-and-installation](https://atlaskit.atlassian.com/packages/confluence/embedded-confluence-public/docs/Prerequisites-and-installation?)
> * The 3rd party will need to reach out to Atlassian/an Atlassian representative via this [service desk request form](https://fy22august.atlassian.net/servicedesk/customer/portal/6/group/19/create/63) and provide the domain(s) used by the 3rd party application for Atlassian to allowlist.

I'm trying to get my own version of Embedded Pages going so need my domains whitelisted.


author: Lennon Liao
body: Hi [@David at David Simpson Apps](/t5/user/viewprofilepage/user-id/781462) Yes it is monitored but we are in the midst of transitioning it to a different service desk. Appreciate your patience! We will follow up shortly. Thank you.


Tags: cloud

confluence-cloud