cancel
Showing results for 
Search instead for 
Did you mean: 

Hide or minimize iViews on a page

Former Member
0 Kudos

Hi Experts,

I have several visual composer iViews on a single page.

If I make all iViews visible, the user has to scroll. So only one iView should be displayed at a time, i.e. all others are automatically minimized/invisible.

Example:

A user fills a form in a iView called "search". When the user clicks "submit", I want the iView "results" to be displayed and all others hidden (or minimized).

How can I do this?

Best Regards, Benni

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Benni,

you can integrate in the page a normal iView and then you can put in this iView two nested iViews or two HTML views two integrate the two iViews in the page.

Kind regards

Thomas

Former Member
0 Kudos

Hallo Benni,

I thing there are two possibilities to do this.

As Hasimram said you can use the visbility condition. The problem with the white space you can avoid, if you overlap all the iViews. So put all iViews to the top left corner and set the visbility conditions. If you do this you wouldn't have white space.

The other way is to use layers and for example tab strips or a wizzard.

Kind regards

Thomas

Former Member
0 Kudos

Hi Thomas,

this sounds perfect. I didn't know that I can overlap iViews when creating a page! How can I design the page with overlapping iViews?

Best Regards, Benni

ankur_garg5
Active Contributor
0 Kudos

Hi Benjamin,

Its ok, i understood it wrong.

Try this link instead:

<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/ca/fbdb4269b2f340e10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/ca/fbdb4269b2f340e10000000a1550b0/frameset.htm</a>

Bye

Ankur

Former Member
0 Kudos

Hi everybody,

I am very sorry, I was unprecise when posting my question. I forgot to mention that the iViews are seperate stand-alone Visual Composer models, and not iViews within the same model. The page I was talking about is a portal page, created in portal.

So I have a portal page, containing iViews, each representing a vc model. These iViews have to be minimized or hidden dynamically.

Best Regards, Benni

@ankur: I awarded points because your answer was right, only my question was unprecise. I am sorry.

Former Member
0 Kudos

Hi

You can make use of Visbility condition of iViews for this purpose.

You can make a condition such as the second form i.e. display form should be visible only if the user has input value in the first form and have clicked "Search " button

Thanks & Regards

Harsimran

Former Member
0 Kudos

Hi Harsimran,

when I make one iView invisible, I think there will be only white space on the portal page and still the user has to scroll, in order to see the other iViews. Right?

Please note that I have two separate iViews on a page, not two forms within an iView.

Best Regards, Benni

ankur_garg5
Active Contributor
0 Kudos

Hi Benjamin,

I think the following link will solve your problem:

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/c4/f47b40f7edd662e10000000a155106/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/c4/f47b40f7edd662e10000000a155106/frameset.htm</a>

If you face any problem, do let me know.

Bye

Ankur

Reward points for helpful answers!!

Former Member
0 Kudos

Hi Ankur,

the link you provided is about eventing between iViews. I know how to do that. I just don't know how to "switch" between iViews I want to display.

Best Regards, Benni