Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAPUI5 component usage across projects


I have read the doc Structuring SAPUI5 Applications - UI Frameworks based on HTML5, JavaScript and CSS - SAP Library.

And I don't see any code sample showing how components are used across different projects.

I'm designing a BPM form now. The form consists of three part: Applicant, Content, History. The Applicant and History parts should be reusable and will be used by all other BPM forms. So I want to place this two parts in a project, like 'form.common'. And the Content part is placed in another project, like 'form.formA'. The 'form.formA' uses 'form.common' and integrates the three part into one whole BPM form. At runtime, the three part can interact with each other, including UI interaction and data interaction. How should I implement this?

Best Regards,



same way as you use it anywhere else - sap.ui.core.ComponentContainer

for communication between components you can use global event bus from core sap.ui.getCore().getEventBus(), make sure you use and appropriate channel (first parmatere)

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question