How can we precisely get or filter only a children element and its sub elements and generate document from RPE?
In this case from the parent package(Example: Main), if there are many children elements under it (Ex: A1, A2,A3). If we need to
document only A1 element and its children elements (For Ex: its diagrams, componets etc.), How can we achieve this?
Thanks and regards,
Pinned topic Filter elements and its children elements
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-27T08:49:25Z at 2012-11-27T08:49:25Z by rhapsodytool
Re: Filter elements and its children elements2011-11-02T09:00:45ZThis is the accepted answer. This is the accepted answer.Hey,
yes, more information is needed. :) With the current information provide all we could give back is "use filter" which I assume won't help much. Upload here a concrete example of a template and the filter you want to define for it and we'll be in a better position to assist you.
Re: Filter elements and its children elements2011-11-11T11:31:50ZThis is the accepted answer. This is the accepted answer.Hello Dragos,
Thanks again for replying.
I attached a model structure's snapshot along with this.
In that you can see that there are many packages, files etc coming under a parent package "server".
For example if I want to filter out a package called "chat" and its child elements, how do I need to
set my filter. My output should contain only the "chat" package and its descendants.
Do you need any more informations?
Re: Filter elements and its children elements2011-11-18T11:36:47ZThis is the accepted answer. This is the accepted answer.Hey,
name.indexOf( "check") >= 0
where name is the "name' property of the Package type.
Re: Filter elements and its children elements2011-11-23T06:43:01ZThis is the accepted answer. This is the accepted answer.Hello Dragos,
Does this java filter available for REST data source?
Because when I try to run the java script for the selected container in template, It was
giving me error as shown in the attachment. Can you please suggest me where the problem is?
rhapsodytool 270005PNTJ4 Posts
Re: Filter elements and its children elements2012-11-27T08:49:25ZThis is the accepted answer. This is the accepted answer.
- Dragos.Cojocari 270001QUCG
same like above problem i got i tried with the method you provided but ofter generatig iam getting empty document so please can any one explain in detail how to give that method if i want to get one project and its related values from list of projects
thanks in advance