Hi there OPatrick
I am having a similar problem with getting value of Query Strings param passed in the Url and I have tried a lot of stuff so far:
1)
HttpContext.Current.Request.QueryString("cou").ToString()
After adding:
Imports System.Web
2)
If eventParam.InputParameters.ContainsKey("cou") Then
eventParam.InputParameters.TryGetValue("cou", CountryQueryStringParam)
'Updating the field in the InfoPath form to be used at any time when the Country QueryString parameter is required
_CountryQueryStringParam.SetValue(CountryQueryStringParam)
End if
3.
CountryQueryStringParam = eventParam.InputParameters("cou")
That’s everything that I have been trying so far. For all of them the Null value is being returned....It looks like the Url has not parameters at all, but is tis plenty of them: /EN/Pages/Product-Inquiry-Form.aspx?lang=e&src=Financing&code=Financing&s_products=LeadGen%3bFinancingInquiry_e%3b1%3b0&fromPage=NOTSET&cou=Albania
.Any suggestions? I even tried by leaving only one parameters (lang) and the same outcome.
Maybe I am miising some setting in the saherpoint site to allow having acces to that Url when dealing with InfoPath Forms?
What are those qRules that you mentioned? How can be implemented?
Thanks in advance for any help man.
Regards,