• Profile picture of Ken Moule

    Ken Moule posted

    5 months, 1 week ago

    Konect Manager – Cascading Lists

    I want my user to select an activity from a list of activities that are valid for the previously selected asset type.
    I have a set of cascading lists. Asset Group, Asset Type, Activity Group, Activity Type

    When editing the activity form (over the Activity dataset), I want the user to select an activity type, constrained by the previously chosen activity group which has in turn been constrained by the asset type and asset group.
    The complication is that I have set up my activity dataset as a child dataset of the asset dataset. Asset Group and Asset type are copied into the Activity dataset (copy from parent) rather than set through pick lists in the form over the child dataset (activities).

    Theoretically this should be valid because when I am editing the activities dataset, there will be a valid set of asset values. But I cannot find a way to set it up through the Konect Manager UI.

    Is this possible? Is there a work around?

    5 Comments
    • Hi Ken,
      Konect has been able to do this for a while.
      When choosing a list from the form editor you will be offered a set of child lists, these will include for any copy value fields that are based on a list field.
      If this doesn’t occur it may be because the copy value field was created on a field that was changed to a list field after the copy value field was created. To fix just change the copy value to use another field and then change it back to the original list field, the copy value field should update with the list settings.
      Micahel

      • Thanks, I have that working now.

        What is the purpose of the “Group Name” field in the copy field set up dialog. How does the copy from linked parent check box work in the case that I have already specified the dataset and field to copy.

        • Hi Ken,
          All copy value fields from the same dataset are updated to the values from the chosen feature found in the copy value summary at the top of the form.

          If you have a requirement to copy values from 2 different features from the same dataset you can do this by giving the copy values fields different group names. All copy values fields with the same group name will be grouped and updated with the chosen feature for that group in the copy value summary at the top of the form. The group is ignored when you choose to fill the copy value field with the feature parent.

          An example for using the group name in copy values fields would be copying pit ids from a pit dataset into start pit id and end pit id fields in a cable dataset. You would add the group names Start and End to the appropriate copy value field, giving you the opportunity to decide which pit id to copy into each field.
          Michael

        • Missed your question about the copy from linked parent.

          A copy value field is essentially a geographical intersection with the feature and the dataset you wish to copy the value from. The copy value field ‘copy from linked parent’ is an option for child datasets (using the copy geometry option) so the intersection doesn’t occur, but the value used in the field is taken directly from its linked parent (if one exists).

Media

Groups

Group logo of General
General
Public Group
Group logo of Konect Manager
Konect Manager
Public Group