LightSwitch Filter Issue RRS feed

  • General discussion

  • We are not able to filter the values using LighSwitch OOB Entity Designer, if the filter group has more fields then applying the filter results following error message and it’s not able to load filter query data.

    " The Maximum URI Length of 2083 was exceeded"

    If the filter group has only few fields then I am able to execute the query and there is no issue.

    While applying the filter my understanding is LightSwitch will generate auto generated query and we as developers don’t have any control over the query to modify query values. 

    Is this a LightSwitch Limitation or do we have any solution to fix this issue? Any workarounds available.

    Any immediate response would be appreciated since we are closing our final release

    Thanks and Regards

    Monday, January 14, 2013 7:50 PM

All replies

  • From memory, this is an OData restriction.  In the table designer, for each of the tables involved in the search, try unchecking "Display By Default" for any properties that don't need to be searched on. This will reduce the size of the URI generated by the query.

    Yann - LightSwitch Central - Click here for FREE Themes, Controls, Types and Commands
    Please click "Mark as Answer" if a reply answers your question. Please click "Vote as Helpful" , if you find a reply helpful.
    By doing this you'll help others to find answers faster.

    Tuesday, January 15, 2013 10:37 AM