SeedCodeHierarchy

Using Example Three

SeedCodeHierarchy.UsingExampleThree History

Hide minor edits - Show changes to output

Changed lines 39-42 from:
-> Don't remove default tab or the orange text on it.

-> Don't remove the default tab
to:
-> Don't remove "Default" tab or move the orange text on it.

-> Don't remove the "None Selected" tab
Changed lines 7-12 from:
Example Three of SeedCode Hierarchy shows how you can use the hierarchy to reveal details of an item right beside the hierarchy. To get this working in your file you have to set up a couple more relationships in addition to those we set up when doing a [[integration | basic integration]]. The instructions below assume you've completed this basic integration.

If you open the Relationship Graph in SeedCode Hierarchy (File / Manage / Database... and the click on "Relationships") you'll see a grey horizontal divider which reads "Below here only required for the right side of the screen in Example Number Three." You'll need to add the table occurrences below this to your graph before you can paste the Example Three layout into your file.

'''1.''' Duplicate the table occurrences HierarchyPortalLevel1, 2, 3, etc.and rename them inserting "SelectedItem" into the name between "Portal and "Level". Make sure these table occurrences (TOs) are named ''exactly'' as they are here:
to:
Example Three of SeedCode Hierarchy shows how you can use the hierarchy to reveal details of an item right beside the hierarchy. To get this working in your file you have to set up a couple more relationships in addition to those we set up when doing a [[integration | basic integration]]. The instructions below assume you've completed the basic integration.

If you open the Relationship Graph in SeedCodeHierarchy.fp7 (File / Manage / Database... and the click on "Relationships") you'll see a grey horizontal divider which reads "Below here only required for the right side of the screen in Example Number Three." You'll need to add the table occurrences below this to your graph before you can paste the Example Three layout into your file. Here's how:

'''1.''' In your file, duplicate the table occurrences HierarchyPortalLevel1, 2, 3, etc.and rename them inserting "SelectedItem" into the name between "Portal and "Level". Make sure these table occurrences (TOs) are named ''exactly'' as they are here:
Changed lines 15-16 from:
'''2.''' Connect these TOs to HierarchyPortal using "SelectedItemIDGlob" on the HierarchyPortal side in each case, and connecting this to the primary key (the unique ID) in each of your data files, like this:
to:
'''2.''' Connect these TOs to HierarchyPortal using "SelectedItemIDGlob" on the HierarchyPortal side in each case, and connecting this to the primary key (the unique ID) in each of your "...SelectedItem..." TOs, like this:
Changed lines 19-20 from:
'''3.''' Now that the relationships are in place, you can copy the whole Example Three layout, and paste it into your file. You'll need to edit the right side of this layout to make sure that you're display the proper fields from your data tables. To begin editing, enter layout mode and you'll see some orange text in the right half of the screen (these are comments that only appear in layout mode).
to:
'''3.''' Now that the relationships are in place, you can copy the whole Example Three layout, and paste it into your file. After pasting it in you'll need to edit the right side of this layout to make sure that you're display the proper fields from your data tables. To begin editing, enter layout mode and you'll see some orange text in the right half of the screen (these are comments that only appear in layout mode).
Changed lines 33-34 from:
Here are just a few things to keep in mind:
to:
Finally, if you want to be able to create [[new item | new items]] in your data tables using the "new item" button in our example, make sure that one of the fields one tab has the object name "Level...FirstField" where "..." is the level of the tab you're on. You can see this in our layout here:

%center% http://www.seedcode.com/rootimages/stikipad/hierarchy/invistabobjectname.png

And here
are just a few things to keep in mind:
Added lines 1-4:
!! How do creating and deleting items work?

The "new item" and "delete selected" buttons above the hierarchy in Example Three let you add new records to your data tables. Read more about this here: [[New Item | creating new items]].

Changed lines 17-18 from:
Find the text that begins "There is an invisible tab here...", select it, and nudge it upward until it is out of the way, revealing the tab controller beneath it:
to:
Find the text that begins "There is an invisible tab here..."...

%center% http://www.seedcode.com/rootimages/stikipad/hierarchy/invistab1.png

...
select it, and nudge it upward until it is out of the way, revealing the tab controller beneath it:
Added lines 25-35:
Here are just a few things to keep in mind:

-> Don't remove default tab or the orange text on it.

-> Don't remove the default tab

-> You can remove level tabs if you don't need a particular level.

-> Take care when resizing tabs to keep all objects within the tab

-> And put the invisible tab with the orange copy back down to cover the tab controls when you're finished.
Changed lines 15-24 from:
'''3.''' Now that the relationships are in place, you can copy the whole Example Three layout, and paste it into your file.
to:
'''3.''' Now that the relationships are in place, you can copy the whole Example Three layout, and paste it into your file. You'll need to edit the right side of this layout to make sure that you're display the proper fields from your data tables. To begin editing, enter layout mode and you'll see some orange text in the right half of the screen (these are comments that only appear in layout mode).

Find the text that begins "There is an invisible tab here...", select it, and nudge it upward until it is out of the way, revealing the tab controller beneath it:

%center% http://www.seedcode.com/rootimages/stikipad/hierarchy/invisibletab.png

Once these tabs are revealed, you can click on the tabs for each level and edit them as you see fit. You'll at least have to repoint the fields there so they show the appropriate fields from your table. Double click on each field to change it, making sure to keep the field from the same level TO it is already associated with:

%center% http://www.seedcode.com/rootimages/stikipad/hierarchy/edittab.png

Changed lines 3-4 from:
Example Three of SeedCode Hierarchy shows how you can use the hierarchy to reveal details of an item right beside the hierarchy. To get this working in your file you have to set up a couple more relationships in addition to those we set up when doing a [[integration | basic integration]].
to:
Example Three of SeedCode Hierarchy shows how you can use the hierarchy to reveal details of an item right beside the hierarchy. To get this working in your file you have to set up a couple more relationships in addition to those we set up when doing a [[integration | basic integration]]. The instructions below assume you've completed this basic integration.
Changed lines 13-15 from:
to:
%center% %width=500%  http://www.seedcode.com/rootimages/stikipad/hierarchy/example3allTOs.png

'''3.''' Now that the relationships are in place, you can copy the whole Example Three layout, and paste it into your file.
Changed lines 7-12 from:
Duplicate the table occurrences HierarchyPortalLevel1, 2, 3, etc.and rename them inserting "SelectedItem" into the name between "Portal and "Level". Make sure these table occurrences (TOs) are named ''exactly''as they are here:



%center% http://www.seedcode.com/rootimages/stikipad/hierarchy/hierarchyTOs.png
to:
'''1.''' Duplicate the table occurrences HierarchyPortalLevel1, 2, 3, etc.and rename them inserting "SelectedItem" into the name between "Portal and "Level". Make sure these table occurrences (TOs) are named ''exactly'' as they are here:

%center% http://www.seedcode.com/rootimages/stikipad/hierarchy/example3TOs.png

'''2.''' Connect these TOs to HierarchyPortal using "SelectedItemIDGlob" on the HierarchyPortal side in each case, and connecting this to the primary key (the unique ID) in each of your data files, like this:

Changed lines 5-8 from:
If you open the Relationship Graph in SeedCode Hierarchy (File / Manage / Database... and the click on "Relationships")


to:
If you open the Relationship Graph in SeedCode Hierarchy (File / Manage / Database... and the click on "Relationships") you'll see a grey horizontal divider which reads "Below here only required for the right side of the screen in Example Number Three." You'll need to add the table occurrences below this to your graph before you can paste the Example Three layout into your file.

Duplicate the table occurrences HierarchyPortalLevel1, 2, 3, etc.and rename them inserting "SelectedItem" into the name between "Portal and "Level". Make sure these table occurrences (TOs) are named ''exactly''as they are here:



Changed lines 5-8 from:



to:
If you open the Relationship Graph in SeedCode Hierarchy (File / Manage / Database... and the click on "Relationships")


Changed lines 3-10 from:
Example Three of SeedCode Hierarchy shows how you can use the hierarchy to reveal details of an item right beside the hierarchy.
to:
Example Three of SeedCode Hierarchy shows how you can use the hierarchy to reveal details of an item right beside the hierarchy. To get this working in your file you have to set up a couple more relationships in addition to those we set up when doing a [[integration | basic integration]].





%center% http://www.seedcode.com/rootimages/stikipad/hierarchy/hierarchyTOs.png

Added lines 1-3:
!! How can I show details of my items beside the hierarchy?

Example Three of SeedCode Hierarchy shows how you can use the hierarchy to reveal details of an item right beside the hierarchy.
(855) SEEDCODE
support@seedcode.com
Follow us: