cancel
Showing results for 
Search instead for 
Did you mean: 

How to Change the Visible property of Adobe Form Dynamically - URGENT

Former Member
0 Kudos

Hi,

I am woking on a scenario where when I click a button in Adobe Form,

another Adobe Form should be displayed. This is using Web Dynpro Java.

For this I have made the second form invisible and I want to make this VISIBLE when the button is Clicked. I am unable to get a method where this property of interactive form can be changed.

Also, If there is any other way this can be done please let me know.

I am using NWDS 7.0.09 with Adobe Live cycle designer 7.1.

Thanks in Advance,

Vasu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You need to get the handler to the adobe form in your webdynpro program. If you are using webdynpro for java the following code snipped could be useful...

IWDPDFDocumentInteractiveFormHandler iFormHandler = WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(),"YourAdobeForm");

// Get appearance setter.

IWDPDFDocumentAppearance appearance =

iFormHandler.getDocumentContext().getAppearance();

//appearance.

// Set page layout option

appearance.setPageLayout(pageLayoutOption);

// Set show option.

appearance.setShowOption(showOption);

// Hide menu bar.

appearance.hideMenuBar(true);

// Hide tool bars.

appearance.hideToolBars(true);

// Hide window controls.

appearance.hideWindowControl(true);

// Show full screen.

appearance.showFullScreen(true);

Reward points if the post is helpful

Thanks!

Surya.

Former Member
0 Kudos

Thanks a lot Surya.

But the the class WDPDFDocumentFactory is deprecated . I have used WDPDFInteractiveFormDocumentFactory. Even then, there is no visible property that can bes set.

It has just the Layout, Show option (this cannot be set to false to hide)etc.

Please let me know if there is any alternative.

Thank you,

Vasu

Former Member
0 Kudos

Vasu,

Can you please pass me your technical stack details that you are trying to develop and deploy the Adobe application.

Thanks!

Surya.

Answers (0)