This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Aug 13, 2014, 9:17 AM
11 Posts
topic has been resolvedResolved

Is there a way where I can select all children documents (@AllDescendants & @AllChildren) and exclude specific response documents from the selection criteria

  • Category: Application Development
  • Platform: All Platforms
  • Release: 9.0
  • Role: Developer
  • Tags:
  • Replies: 5
Hi
 
I am using the following View selection formula where I need to view the parent document and all its response and response to response documents except response documents create by form "NEW_Entry"
 
SELECT Form = "NEW_Cad" | @AllDescendants | @AllChildren & Form!="NEW_Entry"
 
The issue is that documents created by Form "NEW_Entry" are still being viewed in the view
 
Is there a way where I can select all children documents (@AllDescendants & @AllChildren) and exclude specific response documents from the selection criteria
Aug 13, 2014, 3:18 PM
26 Posts
question

Is the New_Entry form used only for response doucments or can it be used for a parent document?

I think using @AllChildren is redundant as @AllDescendants would include both immediate Responses and Responses to Responses.

Assuming the New_Entry form is for responses only, try this:  SELECT Form!= "NEW_Entry" | Form = "NEW_Cad" | @AllDescendants

... but I don't think it's possible to exclude responses based on a formula when using @AllDescendants and @AllChildren

Aug 14, 2014, 9:33 AM
11 Posts
Question

Thank you Paul for your quick reply

Form = "NEW_Cad" is the parent document and Form="NEW_Entry" could be response or response to response.

I tried your recommended formula but unfortunately I still can see documents created with Form="NEW_Entry" in the view. Is there a solution for this issue?

Aug 13, 2014, 4:24 PM
11 Posts
Is there a way where I can select all children documents (@AllDescendants & @AllChildren) ...

Thank you Paul for your quick reply

Form = "NEW_Cad" is the parent document and Form="NEW_Entry" could be response or response to response.

I tried your recommended formula but unfortunately I still can see documents created with Form="NEW_Entry" in the view

Aug 14, 2014, 10:28 AM
32 Posts
specify forms in selection

Hi,

you can Remove (@AllDescendants & @AllChildren) and specify the form names.

Form ="New_CAD" | Form="Another_CAD" ..... and so on and don't mention "New_Entry".

the parent child relationship will remain even if you don't specify the @allchildren. And I presume what I have suggested is better for performance.

Hope this helps

Aug 14, 2014, 4:28 PM
11 Posts
Issue resolved

Thank you Samer so much. It is working now. This is s good solution


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal