This project is read-only.

Accessing fields on DriverResult Editor POST in 1.7

Topics: Customizing Orchard, Writing modules
Dec 12, 2013 at 2:15 AM
Edited Dec 12, 2013 at 2:27 AM

When updating Content Items back in 1.6, I was able to get field values on POST from the HttpContext like below:
var lat = HttpContext.Current.Request["Latitude"];
Ever since 1.7, those return null and upon inspecting the request, it doesn't have those properties. I checked some more and couldn't find the fields anymore. I even tried injecting the IHttpContextAccessor but still nothing.

Does anyone know where they are held now?

Any piece of advise or information would be highly appreciated, thanks!
Dec 12, 2013 at 7:47 AM
Please provide links when you cross-post.
Dec 12, 2013 at 7:54 AM
Yep! Links are at the first line of this and the post on SO. Thanks!
Dec 12, 2013 at 8:02 AM