Preview mode query-string

Hi - in a V13 installation I have some code which depends on checking Context.Request.Query.

The code works fine normally, but in “preview mode” there is no query-string, and the code does not perform its function. How do I get the query string?

For example: “/umbraco/preview/?id=43663&company=2”
I would expect to get “id=43663” and “company=2” in Context.Request.Query, but it is empty.


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/114286-preview-mode-query-string