URGENT HELP NEEDED : ---> Convert from Infopath into ASP.net form - steps

rated by 0 users
Not Answered This post has 0 verified answers | 7 Replies | 0 Followers

Top 150 Contributor
32 Posts
Points 107
rpichaimani posted on Mon, Mar 15 2010 7:53 AM

Hi all

Currently we are using infopath form (xsn) and kprx files in a k2 project with sharepoint wss3.0.

(we have smart object projects FOR DATA TIER, and web services etc)

WHAT WE NEED NOW IS,

WE DONT WANT TO USE INFOPATH FORM INSTEAD WE HAVE DECIDED TO GO WITH  ASP.NET FORM.  The remaining SETUP IS GOING TO BE SAME AS what we have currently now..

CAN I DIRECTLY GO AHEAD AND CREATE A ASP.NET FORM FOR INFOPATH FORM.

ONLY FORM CHANGE FROM INFOPATH TO ASP.NET FORM

I NEED LITTLE BIT DIRECTIONS

THANKS AND PLEASE ADVISE

RAVI

All Replies

Top 25 Contributor
266 Posts
Points 869
tbyrne replied on Mon, Mar 15 2010 10:06 AM

We have done this in the past, but I really can't say there is a pre-planned set of steps you can execute that will work in all scenarios.  Since you are using the smart objects as your DAL, it should be pretty straight-forward to do code up your ASP forms the same as InfoPath, just using the SmartObject api to execute the SmartObject methods.  Do you think that part (the SmartObject API) is going to be the pain point, or did you have other issues in mind?

Tim Byrne Clarity Consulting http://www.claritycon.com
  • | Post Points: 4
Top 150 Contributor
32 Posts
Points 107

Thyrne

Thanks for your quick response.  Can the Asp.net form be created via "FORM GENERATION CLIENT EVENT" in k2 project?  OR we need to create a ASP.NET form and calling K2 process through code behind?

Or CAN WE DO IT ON BOTH THE WAYS.

Thanks and please let me know.

Ravi

  • | Post Points: 7
Top 100 Contributor
52 Posts
Points 95
hoshy replied on Tue, Mar 16 2010 3:02 AM

I would suggest that youi build the webpages as normal, to replicate the form functionality.


Then build some classes to wrap up the SmartObject.Client and Workflow.Client functionality.  There are two types of page, one will start the process, this needs no special attention but pages where there are client events should use the Default Client Event wizard and the page itself will need to pass the SN query string parameter to the Workflow.Client.Connection class's OpenWorklistItem method.  I highly recommend looking at buying the K2 book (google it) but there's an example application here on the underground: http://www.k2underground.com/forums/t/5720.aspx

  • | Post Points: 1
Top 25 Contributor
266 Posts
Points 869
tbyrne replied on Tue, Mar 16 2010 5:54 AM

I agree wish Hoshy

Tim Byrne Clarity Consulting http://www.claritycon.com
  • | Post Points: 6
Top 150 Contributor
32 Posts
Points 107

Thanks Thyrne and Hoshy

Thanks

  • | Post Points: 1
Top 150 Contributor
32 Posts
Points 107

Thanks Thyrne and Hoshy

Thanks af

  • | Post Points: 1
Top 150 Contributor
32 Posts
Points 107

Thanks Thyrne and Hoshy

Thanks for

  • | Post Points: 1
Page 1 of 1 (8 items) | RSS