Skip to Content
Former Member
Apr 10, 2010 at 06:58 AM

ESS Personal Information Address- hiding of custom fields not working


In the personal address of ESS we had added four extra fields for communication.

We need to hide the fields when value is zero.

The coding is written in wdDoModifyView of Reviewview in VcPerAddressUSReview

we will get the value of Communication fields like below.Com01 is the context name for communication

String com1 = wdThis.wdGetContext().currentSelectedInfotypeElement().getCom01();

After that if com1 is zero we are trying to hide the fields in that line

by creating a Context node Fcom01 of type and setting Fcom01 to NONE as below.

WDVisibility vsble = wdContext.currentFlagsElement().getFcom01() ;


and Fcom01 is linked in the prpoerty of visible condition of comm fields

No error is showing but when we run it is showing a Null pointer exception

in portal for the Review page.

Thanks and regards,