Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
felixjonathanmueller
Product and Topic Expert
Product and Topic Expert
6,324

A new theme, templates, and sample story are now available in the SAP Analytics Cloud Community Content on GitHub to enable you to apply the Morning Horizon style to your stories in SAP Analytics Cloud!

The Morning Horizon theme is an evolution of the SAP Fiori design language, aimed at providing a more coherent and consistent user experience across SAP's product portfolio. It is designed to be simple, intuitive, and efficient, helping users focus on their tasks with minimal distraction.

 

Sample Story Based on the Morning Horizon Theme

In the sample story provided as part of the template package, you can see how a story will look like using the Morning Horizon theme, which includes:

  • Cards with rounded corners and drop shadows that group together related information;
  • Consistent headers and controls to standardize the experience across elements and pages; and
  • A clean and minimal palette, with lots of white space, where color is used sparingly to highlight key information and reinforce semantics.

On the first page of the sample page, you can see the appearance of widgets that display data, such as charts and tables, and containers like panels. On the second page are all the filter controls, the comment widget, and other elements with the theme applied. 

Morning Horizon – Sample StoryMorning Horizon – Sample Story

 

Morning Horizon Theme for Stories in SAP Analytics Cloud

The theme defines all relevant styling aspects of the widgets in SAP Analytics Cloud, so you, as a story designer, can focus more on your data rather than on fine-tuning the colors of your widgets. For some aspects, you will need to apply a CSS class to widgets by adding the CSS class name in the Styling Panel.

A detailed CSS guide for the theme is available on our SAC Dashboard Design Best Practice page here: https://dashboarddesign.frontify.com/. After you have registered with your email address, you will receive an invitation to the guide. The information on the CSS classes themselves can be found under the top level navigation item "Optimized Story".

You can use following CSS classes for content cards with shadow, which can be applied to Panels and Flow Layout Panels.

  • card

You can use following CSS classes for different Button use cases:

  • acceptButton
  • rejectButton
  • emphasizedButton
  • liteButton

You can use following CSS classes for different Text use cases:

  • pageTitle
  • pageSubTitle
  • descTitle
  • descContent
  • link
  • negative
  • critical
  • positive
  • information
  • neutral

 

Story Templates Based on the Morning Horizon Theme

We provide two templates to enable you to quickly apply the Horizon Theme to your own stories, ensuring a consistent look and feel across your SAP Analytics Cloud content and between it and other SAP applications.

The Report Template gives you the layout for a structured reporting page. The header summarizes high level the key message of the page with a title, short description, and overarching KPIs. Below that, you can place detailed breakdowns on the logical groups that visually group information on cards. On the second page of the Report Template is a layout with the overarching information on the left-hand side.

Report TemplateReport Template

 

The Exploration Template provides a structure to create a story for an exploration use case. It also starts with overarching information on the top and then provides one detail area, where you can create charts that go more in detail from left to right. You can then link the charts using the Linked Analysis feature (not part of the template) so that you can explore your data in more detail.

Exploration TemplateExploration Template

 

Download Now!

You can download the package with the from GitHub:
https://github.com/SAP-samples/analytics-cloud-datasphere-community-content/tree/main/Technical_Samp...

Once you have downloaded the package, you can import it to your SAP Analytics Cloud system using the Transport feature. Once imported, the templates will appear on the Welcome to Stories page.

You can then create a new story based on the template in the Optimized Story Experience. In the editing environment, click on the placeholders and add your model to the story. You can then continue by defining the data that you want to show on each placeholder.

We’ll provide more information in a later blog on how to make larger changes to the default layout.

 

Best Practices When Applying a Theme to Stories

In SAP Analytics Cloud stories, there are three options that can influence the look and feel of story widgets:

  • Theme, for styling the entire story;
  • Widget styling, to define the style for individual widgets via the Styling Panel; and
  • CSS class, for applying more granular styling to widgets than you can achieve via the Styling Panel or Theme settings.

In the story runtime, these settings are applied to the story widgets with the following priority order:

  1. CSS classes that are defined in story-level CSS file
  2. CSS classes that are defined in theme file
  3. Widget local styling (via the Styling panel for each widget
  4. Widget style setting defined in the theme

Based on these rules, if you would like to apply the theme to your story, you need to consider the following aspects:

  • For new stories, avoid adding any specific widget styling in the Styling panel; stick with the default settings.
  • For existing stories, reset all the existing widget styling to the default value and then apply the theme.

Local widget styling MUST be set to the default value so that the theme style settings can be successfully applied to the story, as the theme has a lower priority compared to the widget styling that is locally done via the styling panel.

16 Comments
XinL
Explorer

Hi,

Great article, thank you for sharing. There is a problem with the Page (https://dashboarddesign.frontify.com/), I have registered my email, but it doesn't send me guide after 2 days registration.

felixjonathanmueller
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @XinL ,

I will follow up to check if your registration has been processed.

Best regards,
Felix

XinL
Explorer
0 Kudos

Hi, 

Thank you for sharing again, it looks great when we import package in our Test sac environment. How can we test theme file in another tenant without transporting package, for example, how can we download theme file, and import it in another tenant, it could let us test Production Story without transportation.

Thank you

OzanCavusoglu
Explorer

@felixjonathanmueller Too many panels are needed to achieve this look, where, I think this can be made easier via Improvement Request Details - Customer Influence (sap.com). Can you check with responsible developer and product owner and see whether the property can be added in the next release without a big effort?

felixjonathanmueller
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @XinL ,

currently transporting the theme to the other tenant is the only option.

Best regards,
Felix

OzanCavusoglu
Explorer

@felixfelix also another idea related to this is to enable saving composites in Templates -> Create Improvement Request - Customer Influence (sap.com)

SSubramanian
Discoverer

Dear @felixjonathanmueller 

 

Getting error as illegal file while importing the package into tenant.

BR,

Selva

felixjonathanmueller
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @SSubramanian ,

thanks reaching out.
The issue most likely occurs when you try to import it via the "File System" tab on the import page.
With this package we use the newer Content Network export.
Importing this should work for you when you go via the "Content Network Storage" tab on the import screen and press the upload button there.
Screenshot 2024-06-14 at 10.40.44.png

 

Best regards,
Felix

Navid3012
Explorer
0 Kudos

Hello @felixjonathanmueller 

I have register myself, but have not received the access. Can you help on thsi pls.

 

Thnx

Navid

Galin_Manolov
Participant

@felixjonathanmueller 
Felix, I requested access a week ago and have been waiting patiently so far, but I haven't received access yet. A good idea might be to receive a registration request confirmation email. 

According to the registration guideline it may take some time, but how long exactly. I really like the new theme and would like to dig deeper.

Galin_Manolov_0-1723535831523.png

Galin_Manolov
Participant

Update: I just got access. 12 mins after my second access request. Thanks. Maybe I entered the wrong email on my first try. 

felixjonathanmueller
Product and Topic Expert
Product and Topic Expert

@Navid3012 I sent you a message.

@Galin_Manolov yes maybe there was something wrong with the initial mail.

Galin_Manolov
Participant

The dashboard design guidelines homepage is a great resource! Kudos to everybody involved in creating it. And we really like the horizon theme. We're customizing it a bit and will use it in a new planning application. 

amrithar30
Discoverer
0 Kudos

We are getting the error - the import may not work as the package was created in an older version. How do we tackle this

felixjonathanmueller
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks @amrithar30 for your question. This warning should normally not prevent the import from still going through.

OzanCavusoglu
Explorer
0 Kudos

@felixjonathanmueller there is an open question that I couldn't get answer from SAP. Can you please clarify for me what is this white UI of the SAC that is shown in this How SAP Analytics Cloud leverages Generative AI & Joule Copilot | SAP Data Unleashed 2024 Demo video? This does differ from the current SAC UI. Can you please clarify if and when this will be available? 

This is how SAC looks like:

OzanCavusoglu_2-1729181648635.png

OzanCavusoglu_3-1729181661666.png

This is how SAC is demoed in the video by Orla Cullen:

OzanCavusoglu_0-1729181417285.png

OzanCavusoglu_1-1729181516510.png

SAP Analytics Cloud