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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to hide fields in the preview pane of salestablelistpage?

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Community Member Profile Picture
    on at

    I just tried it using the Visible property and it worked just fine.   Those fields are under the Group:Lines

  • SomuAx2012 Profile Picture
    1,235 on at

    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.

  • Community Member Profile Picture
    on at

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

  • Bill Pfingsten Profile Picture
    on at

    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.

  • SomuAx2012 Profile Picture
    1,235 on at

    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.

  • Verified answer
    Bill Pfingsten Profile Picture
    on at

    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
    1,235 on at

    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

  • Bill Pfingsten Profile Picture
    on at

    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.

  • Community Member Profile Picture
    on at

    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

  • mail2vd Profile Picture
    1,330 on at

    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?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans