Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to refresh/executequery in ProjProjectListPage datasource

Posted on by

Hi All,

Our requirement is to filter the ProjProjectListPage form with "Business Partner" , we already have a customized display method for displaying "Business Partners" for Projects, we have tried on display method but it was not successful, 

we are trying with new string control added in "Filter" node of the form, and in modified method of the control as have a query which gives us the result for all the projects with the applied "Business Partner" name , we are getting all the projects related to "Business Partner" name , but we are unable to refresh the datasource of the form , below is the screen for the query : 

we are getting the result in qbds5 datasource, 

kindly help me on refreshing the form datasource to display the desired result.

Thanking in advance.

41660.Untitled.png 

*This post is locked for comments

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: How to refresh/executequery in ProjProjectListPage datasource

    It's hard to understand something from your screenshot. Why do you add datasources to the query? And example you are referring to is very strange. All you need is to create a range in the ini() and then set value of this range.

  • Akbarpasha Profile Picture
    Akbarpasha on at
    RE: How to refresh/executequery in ProjProjectListPage datasource

    Thanks ievgen,

    i have followed the link for he filter purpose  www.singlecoilinc.com/customizing-dynamics-ax-2012-listpage-filter-using-x

    not able to add range to the form datasource with the query datasource "qbds5" which we have written in the string form control modified method. we will try with your link as well, can you please help in adding ranges to the form data source , we have shared the screen in issue description.

  • Suggested answer
    Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: How to refresh/executequery in ProjProjectListPage datasource

    Hi Akbarpasha,

    Please follow this docs article docs.microsoft.com/.../how-to-add-filter-controls-to-a-simple-list-form it explains how to add a filter control and which methods you need to override.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans