SAP Analytics Cloud

Composites in SAP Analytics Cloud

Introduction

A composite is a set of widgets that can be used again and again throughout optimized stories, together with scripting elements and customized data. It might be a single corporate header or footer, a page navigation panel, a part that folds up and displays graphics, or a chart with an option to change the table view or chart type. Story designers and developers save time when composites are ready for use in stories. They can also perform further actions and changes on the composite as a whole, like adding scripts and altering styling.

A composite can be created, imported, and used immediately in your optimized story, just like other built-in SAP Analytics Cloud widgets.

Permissions and Roles –

Here’re composite related permissions:

  • To create a composite, ensure that you have the Create permission for the object type Composite.
  • To import and use a composite in stories, ensure that you have the Read permission.
  • To modify a composite, ensure that you have the Update permission.
  • To delete a composite, ensure that you have the Delete permission.
  • To share a composite, ensure that you have the Share permission.

Here’s an overview of the default composite permissions available to different roles:

NOTE –

Currently, composites are only supported on canvas pages in Optimized Story Experience

Steps to create Composites –

1. From Side navigation select Story > Select composite or you can also create a composite from Files by selecting (Create) Composite.

    2. Select Composite tab.

    3. Under Create New, choose Composite.

    You’re now in the composite design environment.

    4. From Assets in the left side panel, drag and drop a widget to the page.

    5. For example, select any widgets ( Eg – Text widget ) and change the color to Pink from Styling panel.

    6. Save the created Composites and choose where to save your composite from the file repository.

    NEXT STEP

    A composite has been made and saved by you. It can then be imported into stories and used as other built-in widgets by story designers or developers.

    7. Create a story with canvas page in Optimized design Mode.

    8. To import a composite, in the Assets panel, hover over Composites, and choose  (Import Composite).

    You can also import a composite from Insert in the toolbar by selecting  (Add) Composite Import Composite….

    A dialog appears where you can select the composite.

    9. Select a composite from the file repository.

    Once the composite’s imported to the story, it’s listed under Composites in the Assets panel as other available widgets.

    To add a composite to your story, drag and drop it from Assets to the page

    Note – If you’d like to import multiple composites, import them one by one.

    Imported composites only belong to the current story.

    Once a composite’s added, you can do actions on it as other widgets in your story, such as edit ID, find reference, enable or disable mouse actions to resize or reposition, show or hide, styling, and edit scripts.

    Note – Only edit mode is supported in composites, while view mode isn’t yet available.

    If a composite’s modified while it’s actively used in stories, the stories get updated when reloaded.