Skip to main content

Hello,


I try following:


public partial class EventItem_a47326bc702e4076a1d010ae500a32ed : ICodeExtender<hostContext>
{
public void Main(Project_1f1e47b871584c84b45d1ea5f0242749.EventItemContext_a47326bc702e4076a1d010ae500a32ed K2)
{


//getting InfoPath Form FieldName
string _xmlFieldName = InfoPathHelper.DefaultXmlFieldName;


But unfortunatly I get an error (something about missing InfoPathSchema). I can't find something about the InfoPathHelper class, I only see this in the code of an InfoPath Client event.


Is there a way to get the Name of the InfoPath XmlField during a CodeEvent. Of cource I can hardcode it, but I like to use this code in many workflows - so I think it's better to read it out.


Thank you for any answers.


Anja

Be the first to reply!

Reply