Welcome to the IBM Collaboration Solutions Community IQJam.
UsernamePassword
Reset Password | Register
   
Home | Leader Board | Tags | Help
How do I Display a Response and Response to Response hierarchy in an XPages view control? 
I'm attempting to display a view with Parent, Response and Response to Response documents in a hierarchy in a view control placed on an XPage. I have not categorized any of the columns. However I'm having an issue getting the twisties to display properly. Here's the view layout:
 
Organization|Contact Name|Contact Phone|Conversation Date|Contacted By
 
Organization contains the name field from the parent document 
Contact name contains the name field from a child of Organization 
Contact phone contains the phone field from a child of Organization 
Conversation Date contains the date field from a child of Contact 
Contacted By contains the contactedby field from a child of Contact 
 
So, I want to end up with the following (I used > to indicate twisties)
 
>Organization
    >Contact Name | Contact Phone
          Conversation Date | Contacted By
 
This shows up correctly in the notes client, however using a view control with the Organization and Contact Name column set to indent responses it shows like so (also see the screen shot): 
 
>Organization > 
>    >Contact Name | Contact Phone 
             Conversation Date | Contacted By
 
So, are there any articles somewhere that describes the best way to display a complete response hierarchy using an XPages View Control? 
Domino Development / XPages
Tagged
Keith Strickland - about 1 year ago |  |  | Viewed 269 times

There are 3 answers

1votes
I have not found a way using the standard view panel to create a hierarchical view ... I have had to build a custom control to create what I wanted ...


Jeremy Hodge - about 1 year ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community


0votes
I think this might be a bug in the first place. Indenting responses in the column puts extra twisties.
Though I think it's likely that a workaround would be got using styling and css  - something to show and hide that twisty. 
 
 
 
 


Paul Hannan - about 1 year ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community


0votes
I have working code that does this.  the trick is getting the inheritience to work as it's not automatic like in the Notes Client and then getting the response to work.  The walkthrough I have is too big to paste here as there are lots of graphics, but ping me I will be happy to send it to you.
 
pcalhoun at nnsu dot com 


Paul Calhoun - about 1 year ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community