Question

How can we clear the list filter on initial page load?

  • 27 November 2021
  • 7 replies
  • 147 views

Badge +2

 

End users arrive at this page from a lobby element listing all expired certificates.

When the users forget to hit the Clear button, they believe  the certificate is missing, and register a new one. To avoid this, we would like to clear the “Data valid on” when the page is displayed.

Is this possible?


This topic has been closed for comments

7 replies

Userlevel 7
Badge +20

Hi @rune.engh ,

According to the information provided, it seems the lobby element listing is designed to display a specific set of records( list all expired certificates) . Hence, when the users navigate to this page from the lobby element, the filter is automatically applied as it is the expected behavior. 

If this behavior needs to be changed, then it should be done in the lobby data source attached to the lobby element by removing any filter conditions on the dataset. Hope this helps! 

 

Thanks,

Kasun

Badge +2

Hi @Kasun Balasooriya,

thank you for your answer. 

The problem is that the lobby displays all the expired certificates, but the page “Person Certificates” displays the valid certificates.

 

Rune

Userlevel 7
Badge +20

Hi @Kasun Balasooriya,

thank you for your answer. 

The problem is that the lobby displays all the expired certificates, but the page “Person Certificates” displays the valid certificates.

 

Rune

I am not sure about the functional aspect of the page. What is the lobby page that is being used? Is it a lobby provided by IFS product team? 

 

Thanks,

Kasun

Badge +2

Hi @Kasun Balasooriya 

We navigate from a lobby element with 2 parameters Person_id and License_name:

page/PersonQualificationsCertificates/List?$filter=LicenseName eq $[LICENSE_NAME] and PersonId eq $[PERSON_ID]

We would like to have the page Person Certificates display records according to this criteria, not adding another filter on valid date.

Userlevel 3
Badge +6

Need to find where this criteria is set from. Please check,

  • If the navigation is making used of the lobby datasource criteria
  • If the page itself as a default filter criteria. That is if you navigate directly to the  page from the navigator, do you still get this filter criteria set.

 

Badge +2

Hi Wyomi,

  • the navigation is not making use of the lobby datasource criteria
  • the page itself as a default filter criteria

Have a nice day!

Rune

Userlevel 3
Badge +6

I don’t believe there is currently a way to clear a default filter upon navigation. Let me check back with the team