Calling BPM Data Form via c# code

BPM forms are meant to be invoked from the server side on a bpm method. Your best bet is to trigger a BPM from the Ui that will call the form

On Aug 20, 2015 5:23 AM, "jyprksh@... [vantage]" <vantage@yahoogroups.com> wrote:

Â
<div>
  
  
  <p><p>Hi! I am trying to load BPM Data form from screen customisation using c#. I played with Bo and Ui quickly and came across LoadForm method.<span style="word-spacing:normal;"> inspite of using this method, form is not loading...could you guys give me any right directions in achieving this ?  Many Thanks!</span></p><p><br></p><p><span style="word-spacing:normal;">Epicor.Mfg.UI.InfoPrompt.Transaction strans = new Epicor.Mfg.UI.InfoPrompt.Transaction(oTrans);</span><br></p><p>InfoPromptFormAdapter adapterInfoPromptForm = new InfoPromptFormAdapter(this.oTrans);</p><p>adapterInfoPromptForm.BOConnect();</p><p>bool result = adapterInfoPromptForm.GetByID(&quot;TestForm&quot;);</p><p><br></p><p>bool x =  strans.LoadForm(&quot;TestForm&quot;, true, false,adapterInfoPromptForm.CallContext);</p><p><br></p>

</div>
 


<div style="color:#fff;min-height:0;"></div>

Hi! I am trying to load BPM Data form from screen customisation using c#. I played with Bo and Ui quickly and came across LoadForm method. inspite of using this method, form is not loading...could you guys give me any right directions in achieving this ?  Many Thanks!


Epicor.Mfg.UI.InfoPrompt.Transaction strans = new Epicor.Mfg.UI.InfoPrompt.Transaction(oTrans);

InfoPromptFormAdapter adapterInfoPromptForm = new InfoPromptFormAdapter(this.oTrans);

adapterInfoPromptForm.BOConnect();

bool result = adapterInfoPromptForm.GetByID("TestForm");


bool x =  strans.LoadForm("TestForm", true, false,adapterInfoPromptForm.CallContext);