Business rule configuration to get querystring in SPA

I have a single page application, lots of business rules, all running fine. I'm stuck on configuration of a new rule, however.

I have a web page with anonymous access. I call it using a url:

http://localhost:10655/pages/Medicati...

The form opens and saves just fine. I want to run a code business rule to get the GUID from the querystring, use it in a query to return a value and insert it into a hidden field on the form before the user saves the record. The problem is I cannot get the querystring at all. The context.request.querystring("GUID") is empty and context.request.querystring is empty as well.

I've tried configuring the rule to before, during and after New, also before, during Select. What am I missing?
1 person has
this question
+1
Reply