web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Hide/Visible display method in form

(0) ShareShare
ReportReport
Posted on by

Hi all,

I will use customized form.That have one checkbox field.If checkbox is Yes means i want to show two fields in form grid.Checkbox is No means hide two fields in grid.Here one field is String other one is Display method.

I will hide the string field like ds.object(DataSource,field).visible(false); in form active method.

My question is how to did the above situation in display method.

Anyone suggest Please.

Thanks.

*This post is locked for comments

  • Verified answer
    Mariano Gracia Profile Picture
    on at

    set display formControl property Autodeclaration = true, then you can use myDisplaymethod.visible(true)

    DISPLAY_5F00_AUTODECLARATION.JPG

  • Verified answer
    Community Member Profile Picture
    on at

    Yeah Thanx.This is wok fine.

  • Community Member Profile Picture
    on at

    Where to put this

    myDisplayMethod.visible(true) ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans