Dabuskol
Apprentice

Displaying Record using Stored Procedure from Smartform

I am trying to load record based on Id (@id as parameter) from my stored procedure using smartform but to no avail.

If I used list view it works but if I used Item View no return data.

 

Please guide as I am new to K2.

 

Regards

Dabuskol

0 Kudos
2 Replies
ruchi
Apprentice

Re: Displaying Record using Stored Procedure from Smartform

Hello Dabuskol ,

 

For item view to display data you need to call view initailize method and there need to execute particular smartobject list method and pass id as an input .

 

Please update me if this works for you.

 

Regards,

CHiru

Dabuskol
Apprentice

Re: Displaying Record using Stored Procedure from Smartform

Thanks for the help.

I got also the solution when I used my views into Form.

You are right I missed the initialize from my view.

 

Initialize then execute smart object the from the output, mapped the fields.

 

Best Regards

0 Kudos