Is there a way to grab the contents of an InfoPath's FormState object? I have access to the SPListItem in the document library it resides in, the xml of the item, the document library it lives in, but I can't seem to access the key/values of the FormState.
E.g. In the code behind of my InfoPath form I have:
I would like to grab that key value pair, but don't know if I can access it from the document library item. FormState is a XmlFormHostItem.
In the code behind of the InfoPath form, I added a few key/values pairs to the FormState object and I want to read those key values from a document library event receiver. Any suggestions?