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:
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2024/07/composites-in-sap-analytics-cloud-1.png?resize=719%2C170&ssl=1)
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.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2024/07/composites-in-sap-analytics-cloud-2.png?resize=402%2C387&ssl=1)
2. Select Composite tab.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2024/07/composites-in-sap-analytics-cloud-3.png?resize=730%2C298&ssl=1)
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.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2024/07/composites-in-sap-analytics-cloud-4.png?resize=730%2C440&ssl=1)
5. For example, select any widgets ( Eg – Text widget ) and change the color to Pink from Styling panel.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2024/07/composites-in-sap-analytics-cloud-5.png?resize=730%2C242&ssl=1)
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.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2024/07/composites-in-sap-analytics-cloud-6.png?resize=730%2C292&ssl=1)
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.
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2024/07/composites-in-sap-analytics-cloud-7.png?resize=730%2C346&ssl=1)
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
![](https://i0.wp.com/www.erpqna.com/wp-content/uploads/2024/07/composites-in-sap-analytics-cloud-8.png?resize=730%2C272&ssl=1)
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.