Skip to main content
Participant
December 21, 2019
Question

Hiding a Page Dynamically

  • December 21, 2019
  • 2 replies
  • 232 views

Hi Guys.I have an urgent requirement.Pls help on this.I need to hide/visible a page dynamically based on the text content inside the page is blank or not..I have wrapped the page into the subform,then in the initialize event i wrote the below code,

if(data.pagename.fieldname.rawValue===''"")

{

data.subformname.presence="hidden"

}

it is not working.

i tried with formready and docready event also ,it is not working.

Please suggest any solutions..

This topic has been closed for replies.

2 replies

Nancy OShea
Community Expert
Community Expert
December 21, 2019

If this concerns AEM, there is a different forum for that below.  Unfortunately, we cannot move questions to the experience league forum as it's on a different platform.

https://experienceleaguecommunities.adobe.com/t5/Adobe-Experience-Manager/ct-p/adobe-experience-manager-community

 

Nancy O'Shea— Product User & Community Expert
John T Smith
Community Expert
Community Expert
December 21, 2019

Please post the name of the Adobe program you use so a Moderator may move this message to that forum