Hi all,
I need to use a Repeater because I need to insert data from a different path, different from what is specified in Hierarchical Viewer web part.
To explain further, I have this setup where I want to iterate a path which displays an "Insurance Type" then we have "Insurance Policies" under it.
It will look like something below:
[Insurance Type 1]
[Insurance Policy 1] [Insurance Policy 2]
[Insurance Policy 3] [Insurance Policy 4]
Contact Persons for [Insurance Type 1]
[Contact Person A Image] [Contact Person B Image] [Contact Person C Image]
[Contact Person A Name] [Contact Person B Name] [Contact Person C Name]
[Contact Person A Address] [Contact Person B Address] [Contact Person C Address]
[Insurance Type 2]
[Insurance Policy 5] [Insurance Policy 6]
[Insurance Policy 7]
Contact Persons for [Insurance Type 2]
[Contact Person A Image] [Contact Person D Image]
[Contact Person A Name] [Contact Person D Name]
[Contact Person A Address] [Contact Person D Address]
As you can see, we have multiple Insurance Types and under it, we have multiple Insurance Policies unique to the Insurance Type.
But not the Contact Persons. I want it to be reusable from a different path.
I am thinking it will be based on the selected "Page Relationship Name", I plan to have it as a custom field for Insurance Type.
For now, I am using the Hierarchical Viewer to display one Insurance Type at a time. Then, having the Repeater as a separate web part underneath it, just like this:
[Hierarchical Viewer for Insurance Type 1]
[Repeater for Contact Persons for Insurance Type 1]
[Hierarchical Viewer for Insurance Type 2]
[Repeater for Contact Persons for Insurance Type 2]
I was hoping it's possible to make this as one Hierarchical Viewer web part to iterate to all Insurance Types with its corresponding Contact Persons based on its custom field.