Hierarchical Data

  • 27 January 2015
  • 1 reply
  • 2 views

Badge

Hi

 

Hoping you guys can help me out here is there any way of displaying and updating hierarchical data on K2 smartforms. Therefore Have a project display and under that a milestone for the project and under that Tasks for the milestone, etc....

 

Regards


1 reply

Badge +7

Hello,

 

First, how are you first capturing/creating this information? Are they properties of SmartObjects (one or more)? If yes, see below for some ideas on how to go about this:

 

Potential Option 1:

In my mind this would look like multiple individual list views that you would place on top of each other in a form, since it is a display and not a capture of information. However, you'd have to have a SmO for your A. Project, B. Milestones & C. Tasks and have the associations/relationships hooked up correctly too, if you wanted to do something along the lines of clicking a particular Project and then have it display in the other views, the Milestones and Tasks -- like a cascading information.

 

Potential Option 2:

Or do you have a single SmO that has the Project, Milestones & Tasks as properties? And are these created using an item view? If yes to both, you have the option of creating two views on a form. One being a list view of the Projects and two, the item view where you captured the info. Same idea as in PO1 could apply here where you set up rules where you click a Project in the top List View and it populates the item view underneath it with the Milestone & Task information. With the Item View in this case, you could just organize it by dragging and dropping the control fields to display how you'd like.

 

The Rule Definition would look something like:

When 'List View' executed List item click

then on 'X SmartObject,' execute its Load method

 

and you'd configure the right controls to display, etc.

 

 

Reply