Display ARIS page inside Confluence
Asked by Pablo Romero Rey:

Hi

Can someone guide about how to display in a page inside Confluence information existing in this portal ?

=\> <http://myaris10now.softwareag.com>

I've tried with the HTML/Iframe Macro, with this code, but it remains empty:

\<iframe src="<http://myaris10now.softwareag.com>" noborder="0" width="830" height="800" scrolling="yes" seamless\>\</iframe\>

Thanks in advance

BR, Pablo


Answers:
author: Philipp Sendek
body: Hi Pablo,  

the issue is related to a security feature that your browser honors.  
It's called "X-Frame-Options: SAMEORIGIN" which is active on the ARIS page.  
That tells your browser, that the ARIS page should not be rendered when it's included on a page that has a different domain.  

You can find an explanation on that setting here: <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options>  

The reason it exists, is, that no one can create a webpage that contains your ARIS page as a full frame and records your actions or performs an action on your behalf.   

Some applications (such as Jira) allow to disable this setting and allow the inclusion into a frame. Unfortunately, I don't know whether ARIS offers that and would honestly not recommend to go that path.  

What we did for a customer was to write an App that extracts data from ARIS and imports them on Confluene pages.  

Regards,  
Philipp


author: Pablo Romero Rey
body: Thanks Philipp

Theorically ARIS allows to share the content via iframe; being in an specific diagram, there is an option to share it, and it generates this code:

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

=\> \<iframe frameborder="0" src="<http://myaris10now.softwareag.com/?embedded#umg/embeddedModelViewer/c.process.United%20Motor%20Group.ik0GUm-kEdWjsAAQpPtzUw.-1>" class="aris-connect" width="1100" height="700" allowfullscreen \>\</iframe\>

In addition what I'd like to see inside confluence are dashboards created with ARIS; something like this:

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

What would the way then ?, access to the data and regenerate the dashboards inside Clonfluence ?

Thanks in advance

BR, Pablo

comments: author: Philipp Sendek
body: Hi Pablo,

<br />

you can always verify whether a page could be embedded within Confluence when opening the Developer Tools of your browser. Then select network and chose the first request:  

![Screenshot 2020-08-11 at 11.00.28.png](https://community.atlassian.com/t5/image/serverpage/image-id/106265iE75017E91E3B4E30/image-dimensions/489x176?v=v2 "Screenshot 2020-08-11 at 11.00.28.png")

Click on that and you see information on the request. Under "Response Headers" you either see an entry for X-Frame-Options: SAMEORIGIN or you don't. If you don't, it should work in the iframe or at least the error is somewhere else. Looking through the entries in the "Network" tab as well as the "Console" tab could give you more infos on the error.  

Depending on the APIs that ARIS offers and your coding skills, I would try to pull the data and build the report myself.  
However, if it's a paid subscription, I would first reach out to ARIS support, explain what you would like to do and ask them for advice. Maybe they have an easier way they can recommend. :-)  

I hope that helps!

<br />

Regards,  
Philipp


author: Pablo Romero Rey
body: Thanks Philipp

I'll check it !

BR, Pablo


Tags: cloud