Επεξεργασία

Κοινή χρήση μέσω


Quick Find doesn't return correct results in a model-driven app

This article provides troubleshooting steps for an issue where a quick find search doesn't return correct results in a Power Apps model-driven app.

Troubleshooting checklist

  1. Use the Power Apps Monitor tool to inspect the fetchXML query that is generated based on a quick find search.

    Screenshot that shows an example of a quick find search.

  2. Check the recordsCount attribute in the fetchXML query.

    Screenshot of a fetchXML query that contains the recordsCount attribute.

  3. The Quick Find filter is marked with the isquickfindfields attribute.

    Screenshot of a fetchXML query that contains the isquickfindfields attribute.

    If the columns from the isquickfindfields filters are incorrect, it's a strong indication that your organization's Use quick find view of an entity for searching on grids and sub-grids setting isn't set correctly.

    • If the setting is turned off, the search will be performed on all the searchable columns. For more information, see Types of columns.
    • If the setting is enabled, the search will be performed based on the entity's quick find view. Also, note that the entity's quick find view might contain a filter that will be applied to the search. You should be able to see that filter in the fetchXML data query that you inspect.

More information