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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

QuickFilterControl Value

(0) ShareShare
ReportReport
Posted on by

Good morning,

Can someone help with this,  i have a form in which you can run a query on a button click.

and i want to bring the value from the quickfiltercontrol,  my problem is that i cant get the text of the control if the user dont click on the dropdown of the quickfilter.

Ej:  if a user search for a value and inmediatly clicks the run button,  the value of the quickfilter is not filled on the parameters.

i know that i can get them from this:

str Searchfield = FormControlQuickFilter.parmFilterField();
str SearchValue = FormControlQuickFilter.parmFilterValue();

but because the user not clicked enter on the quickfilter the value is not updated so i dont get it back on my button click.  

is possible in any way to just get the simple string just like a FormStringControl?

thx.

I have the same question (0)
  • Suggested answer
    Sheikh Sohail Profile Picture
    6,125 on at

    Hi

    Kindly check either we have a focus out or leave the event, if yes then try to implement that.

  • Community Member Profile Picture
    on at

    Only the LostFocus method gets called, but the problem is that how can i get the string?

    i try with:

    public void lostFocus()

           {

               ////str val = FormControlQuickFilter.parmFilterValue();  //its empty

               //FormControlQuickFilter.Refresh();

               FormControlQuickFilter.hasChanged(true); //idk

               FormControlQuickFilter.update(); //does nothing with the value

               super();

           }

    it only seem to work when the user clicks enter or pick an option on the lookup of the field.

    i look for events on the quickfilter but i cant find anything

  • Suggested answer
    Sheikh Sohail Profile Picture
    6,125 on at

    Hi

    As my Dev VM is switched off, So I couldn't suggest how you can get the value from quick control, but definitely, I will check tomorrow morning.

    As you are executing the query on a button click, So we can go with an alternative.

    Hide the quick filter control and add the string control. Using string control you can achieve your requirements.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans