Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

How to hide fields in the preview pane of salestablelistpage?

Posted on by 1,235

Hi

I need to hide some fields(sales category, currency etc) in salestablelistpage form the lines grid in the preview pane. Could not find property/option to hide.

I also need to hide "Quality order status" field from the sales orders grid. setting visible property to No is not working.

Please help

*This post is locked for comments

  • mail2vd Profile Picture
    mail2vd 1,330 on at
    RE: How to hide fields in the preview pane of salestablelistpage?

    got the solution for deleting the fields by just clearing datasource and datafield property of the preview pane field.

    but i have now few more fields added in preview pane which are not visible as there is no horizontal scroll bars for preview pane. how to enable the scroll bar for preview pane?

  • mail2vd Profile Picture
    mail2vd 1,330 on at
    RE: How to hide fields in the preview pane of salestablelistpage?

    Hi Bill, Somu,

    How to delete the fields from preview pane at the bottom of list page? deletion won't work if these fields are from Sys layer or other lower layer than you are currently working one.

    any Idea?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to hide fields in the preview pane of salestablelistpage?

    Hi,

    in AX 2012 on CustTableListPage, I need to add a new field in the preview pane which is in the bottom on the form. How can I do that ?

    I have seen that the query CustListPagePreviewPane is used but in that query we have around 170 fields in DS CustTable but on the form there are only 6 to 7 fields.

    How can I do that ?

    Regards

    Anuj

  • Re: How to hide fields in the preview pane of salestablelistpage?

    For the fields in the preview pane, as you noted earlier there isn't Visible metadata.  You have to actually delete the fields from the list.

  • SomuAx2012 Profile Picture
    SomuAx2012 1,235 on at
    Re: How to hide fields in the preview pane of salestablelistpage?

    Hi Bill,

    That worked. Thanks for your reply.

    I also need to hide some fields in the bottom preview pane(SalesTableListPagePreviewPane) on the sales list page. Can you please help me with this? Thanks

  • Verified answer
    Re: How to hide fields in the preview pane of salestablelistpage?

    OK, I see now.  Yes, because this list page has a backing interaction class, I don't think the settings on the grid fields are respected.  You will need to modify the SalesTableListPageInteraction class.  Take a look at the setGridFieldVisibility() method on this class.

    Be sure that any fields you hide from this class are marked with AutoDeclaration = Yes on the list page form itself.

  • SomuAx2012 Profile Picture
    SomuAx2012 1,235 on at
    Re: How to hide fields in the preview pane of salestablelistpage?

    Bill,

    Thanks for your reply. I need a way to hide the currency field in the grid. I know where it is. I could not find visible false property in the "SalesTableListPagePreviewpane". I could not delete the field too as it is added in higher(Process manufacturing) layers.

  • Re: How to hide fields in the preview pane of salestablelistpage?

    Go to the Parts node in the AOT and find the infoPart named SalesTableListPagePreviewPane.  Currency is under the SalesTable, and SalesCategory is under the SalesLine.

    Similarly, the QualityOrderstatus is under the InfoPart named SalesTableListPageOpenPreviewPart.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: How to hide fields in the preview pane of salestablelistpage?

    Sorry.  I was referring to AX2009.  Well, what if you just delete them from the form?

  • SomuAx2012 Profile Picture
    SomuAx2012 1,235 on at
    Re: How to hide fields in the preview pane of salestablelistpage?

    Hello Michelle,

    Just to cross check, I am using AX2012. The grid is being populated from "salesTableListPagePreviewPane" and the group "SalesLine". There is  no property visible for the fields.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans