New views in Essential Cloud

Post Reply
tmacfarlane
Posts: 8
Joined: 19 Jun 2017, 02:30

I have referenced https://www.enterprise-architecture.org ... ew-reports for insight on how to create a new view in Essential Cloud, however I continue to have issues. Can you share the base template code for creating a new view?

My code was:

xmlns:xalan="http://xml.apache.org/xslt"
xmlns:fo-"http://www.w3.org/1999/XSL/Format">
<head>Essential Cloud Custom report Test</head>
<body>
<!-- ADD THE PAGE HEADING -->
<xsl:call-template name="Heading"></xsl:call-template>
<!--ADD THE VISITED PAGES SECTION-->
<xsl:call-template name="Page_History">
<xsl:with-param name="breadcrumbs">
<xsl:value-of select="$pageHistory"/></xsl:with-param>
</xsl:call-template>
<!--page body starts here-->
<xsl:apply-templates select="$currentNode" mode="Page_Body">
<!--PAGE BODY ENDS HERE-->
<xsl:call-template name="Footer"></xsl:call-template>
</body>
</html>

Thanks.
JohnM
Posts: 467
Joined: 17 Feb 2009, 20:19

Basic page template is attached. It is a skeleton template for your xsl and it sets you up to start at the root node of the xml.
You do not have the required permissions to view the files attached to this post.
TMC
Posts: 15
Joined: 27 Oct 2017, 12:17

I have had reasonable success reviewing the library of open source views / reports - they work identically on the cloud version, and there are lots of examples from which to find relevant snippets.
Tudor
KarenM
Posts: 14
Joined: 21 May 2018, 04:22

If I want to use one of the existing views/ reports as a basis for a user view. What is the easiest way for an Essential Cloud user to get the xsl file for an existing report?
Do I have to install the open source standalone version of essential? OR can I download just the viewer xsl library?

thanks
JohnM
Posts: 467
Joined: 17 Feb 2009, 20:19

Hi Karen,

You can find them here https://github.com/enterprise-architect ... ial_viewer

Regards

John
User avatar
neil.walsh
Posts: 444
Joined: 16 Feb 2009, 13:45
Contact:

Just a quick note to say we've moved this project to a new account on GitHub. It's now at

https://github.com/essentialproject/essential_viewer

Apologies for any inconvenience

Neil
KarenM
Posts: 14
Joined: 21 May 2018, 04:22

Thanks Neil - very helpful
ellenab
Posts: 10
Joined: 31 Aug 2023, 15:05

Hello,

Could you please indicate the URL with the tutorial for creating/updating Essential views?

Thank you,
Elena B
JohnM
Posts: 467
Joined: 17 Feb 2009, 20:19

Hi Elena,

There is an overview here: https://enterprise-architecture.org/uni ... w-reports/

However, if you have Javascript/HTML skills then let us know and we can create a query to provide a JSON structure you can use, which may be easier for you.

Regards

John
ellenab
Posts: 10
Joined: 31 Aug 2023, 15:05

Hello,

Thank you for your input. I would like to explore both options if possible.

Elena B
Post Reply