shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
285 stars 45 forks source link

Support for pageContext on query builder #1412

Closed hlayisanimazuze closed 1 week ago

hlayisanimazuze commented 2 weeks ago

Is your feature request related to a problem? Please describe. In a case whereby users want to use the value stored within a pageContextvariable to filter with, it should be possible. Currently the pageContextdoes not support dynamic value

Describe the solution you'd like The pageContextshould be supported on the query builder e.g. {{pageContext.MemberId}}

hlayisanimazuze commented 1 week ago

Hi @AlexStepantsov, I'm testing this item from an Id I declared on the pageContext and when I use the same Id following the above syntax I specified, it does not append the Id on the endpoint.

Configurations: https://function-adminportal-test.shesha.dev/shesha/forms-designer?id=c4b8abbc-91ab-4e38-ab90-64ea2e1c00d9

image