cancel
Showing results for 
Search instead for 
Did you mean: 

Hide adobe Non interactive form in Initial Display

Former Member
0 Kudos

Hi,

I have a adobe form under the input field & button in WD application.

Form should be shown only when users hits the Button.

Right now both are shown in intial view.How do we hide adobe form ?

rgds

Vara

Edited by: Vara K on Jan 27, 2009 7:49 PM

Accepted Solutions (1)

Accepted Solutions (1)

arjun_thakur
Active Contributor
0 Kudos

Hi Vara,

Just bind the Visiblity property of Adobe form with an attribute of WDUI_VISIBILITY type. In the ONACTION method of the button , set the value of this attribute as '02' with the help of code wizard.

I hope it helps.

Regards

Arjun

Former Member
0 Kudos

Arjun,

It worked! Thank you.I am awarding you full points.

Raj,

Yours too it is the same .I will try to award for you too.

Rgds

vara

Answers (1)

Answers (1)

yesrajkumar
Active Participant
0 Kudos

Hi,

Add a attribute of type WDY_BOOLEAN and bind it to the Adobe UI element.

And do the following in the wddomodifyview.

IF NOT first_time IS INITIAL.

data lo_nd_screen_valid type ref to if_wd_context_node.

data lo_el_screen_valid type ref to if_wd_context_element.

data ls_screen_valid type wd_this->element_screen_valid.

  • navigate from <CONTEXT> to <SCREEN_VALID> via lead selection

lo_nd_screen_valid = wd_context->get_child_node( name = wd_this->wdctx_screen_valid ).

  • get element via lead selection

lo_el_screen_valid = lo_nd_screen_valid->get_element( ).

  • get single attribute

lo_el_screen_valid->set_attribute(

exporting

name = `ADOBEUIELEMENT`

value = u2018u2019 ).

ENDIF.

Thanks,

Rajkumar.S

Edited by: Rajkumar S on Jan 28, 2009 7:05 AM