Skip to Content

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

What is best component to use to swap content areas?

Imagine if you will a OpenUI5 application that has access to the OpenUI5 components.

At the top of the viewport is the banner area.

Everything below the banner is considered the applications content area.

Most of the time that area displays application content.

But if the user has a certain privileged capability then after a certain key sequence or button press that content area has to be replaced with privileged level content. After doing work the privileged worker can then close out that privileged content part and return to the regular application content.

Do you know of a component that can swap out these 2 large content areas?

One for application and the other for privileged content.

Oh and also hopefully when swapped out the content is not lost (and does not have to be rebuilt).

Former Member

Hi Erich,

NavContainer is definitely an option. OverlayContainer not so much (it is rather for a popup covering the ux3.Shell control).

But there doesn't need to be a control. If you use plain HTML for the overall layout, you can add any content to the lower <div>, and replace that content later.



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