cancel
Showing results for 
Search instead for 
Did you mean: 

Fragments with no visibility property

Richie
Product and Topic Expert
Product and Topic Expert

Hi,

I have an Object View with multiple ObjectPageSubSection fragments. I now have a requirement to hide one of the sections based on a field in the data model. I can hide the fields in this fragment using an indicator with no issue. But I cannot hide the entire fragment because there is no visible property.

Even the ObjectPageSubSection has no visible property. Anyone have a workaround for this issue?

Accepted Solutions (1)

Accepted Solutions (1)

boghyon
Product and Topic Expert
Product and Topic Expert

> Even the ObjectPageSubSection has no visible property.

According to the API reference, sap.uxap.ObjectPageSubSection does have the `visible` property from its parent ObjectPageSectionBase. Let us know if setting visible="false" worked.

Richie
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thanks @boghyon.hoffmann i missed that 🙂

Answers (0)