Cgreenhouse
Novice

History Data - Render SmartForm

Hello.

 

I am working on creating a basic SmartForm that takes in information and then once submitted it stores as a SmartBox SmartObject and sends an email stating the form was submitted successfully.

 

I am also being requested to create a List form (using a list view), to store Historical submissions.  When double clicking  a submission, I want to be able to load a read only version of any historical submission into the form. (attachments of what forms look like)

 

I have created all my smartobjects, views, and forms within K2 Designer and K2 studio for the email after submission has completed. So far I have a Item view that goes into the form for submission, a report list that will go into the list form, and a read only form that basically loads in the item view but disables it so it can not be edited.

 

In the rules, I have the List view set so that when its doubleclicked, it will navigate to the read only form, etc (attachment). Once I get to the Mappings, I think that there should be a parameter I can set so that it will be able to reference the form by ID, but that setting is not there.  All it shows is Form states and open in tab, window, etc.

 

 


2016-03-24_13-52-57_2100.png
2016-03-24_13-34-30_2101.png
2016-03-24_13-34-30_2102.png
0 Kudos
Reply
4 Replies
Latte
Apprentice

Re: History Data - Render SmartForm

Hi, 


Have you created a parameter on the readonly form you want to use? You will manually create the parameter on the form, then add rules (at initialize) to for load/get list, etc. 

 

On your list view, the rule will be that once it is clicked (or double clicked) navigate to another form or open a subform so the user can view several without leaving the current list view.

 

When you navigate or open a subform you will see the parameter you had earlier created on the form available to receive input. 

0 Kudos
Reply
Cgreenhouse
Novice

Re: History Data - Render SmartForm

Hello Latte. 

 

Thanks for your inputs.

 

I understand how to set up the rule to double click and it can open in a new tab, etc. I am confused with how to set the parameter on the List view since the mapping destinations screen is blank.

 

 

 

 


Have you created a parameter on the readonly form you want to use? You will manually create the parameter on the form, then add rules (at initialize) to for load/get list, etc. 

 

On your list view, the rule will be that once it is clicked (or double clicked) navigate to another form or open a subform so the user can view several without leaving the current list view.

 

When you navigate or open a subform you will see the parameter you had earlier created on the form available to receive input. 


2016-03-24_13-34-30_2104.png
0 Kudos
Reply
Latte
Apprentice

Re: History Data - Render SmartForm

Hi, 

 

You need to create a parameter on your "Inspection Report ReadOnly" Form.

 

Then you pass in the ID from the "Inspection Report" SMO into the parameter you created on the "Inspection Report ReadOnly" Form.

 

That should work for you. 

 

3830i3244ADBC85C13EE8.jpg

Reply
Cgreenhouse
Novice

Re: History Data - Render SmartForm

Thanks!

 

Got it working now :D

0 Kudos
Reply