Skip to Content
Former Member
Aug 03, 2012 at 06:18 PM

Getting current wondow name in a View method



I am working with WD components FITE_UI_RECEIPT_DETAILS and FITE_VC_RECEIPTS for the Travel and Expense module. Standard logic is creating a pop-up using the window ITEMIZE_CREATE_WINDO of FITE_VC_RECEIPTS. They have embedded the view DETAILS_VIEW of FITE_UI_RECEIPT_DETAILS inside window ITEMIZE_CREATE_WINDO. I need to hide a custom field on DETAILS_VIEW only when this pop up window is generated. The view DETAILS_VIEW is used at other places also. Hence I want to write some logic in WDDOMODIFYVIEW of DETAILS_VIEW to hide the field when it's created as a pop up. How can I do this? Is there a way to get the name of the embedding window at run time in method WDDOMODIFYVIEW? Please help.