cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Master Page

Former Member
0 Kudos

Hi Folks,

I have a page with fields in design view, which is placed in the content area of the master page.

Now, i want to hide this page based on a condition. I am following the below steps to hide it.

I am writing the below code in the design view page (initialization event, form ready event).

if ( $.HIDEPAGE_FLAG == "X" ) then

$.presence = "hidden"

endif

The fields present in the design view page are hidden, but I am getting a blank page. I am not able to hide this blank page.

Can you guys tell if i am missing anything here/how do i hide this blank page ?

Kind Regards,

Chaitanya

Accepted Solutions (0)

Answers (1)

Answers (1)

rakesh_m2
Contributor
0 Kudos

Hi Chaitanya,

Instead of hiding the master page, dont trigger it.  Please find below link, which is used for dynamically trigerring master pages using subform property

If you have only one master page and you dont want to trigger it.. while trigerring form from driver program, don't execute it based on the condition and just print a message accordingly.

Please let me know, if you see any issues in above procedure

Thanks,

Rakesh