Start a new topic
Answered

RM+ Plus Light view and Parameter

Hi,


 I am trying to configure a RM Plus Light view and need to use the value of a Context which I have obtained using: 

<BaselineItemType>3PTA</BaselineItemType>
<PathToBaseline>3VDA;ITFD;ITAP</PathToBaseline>

 inside an AddGridXML, see below.





Is it possible to do so?

 




Best Answer

Hi Bashar,


For the RM Plus Light view you have a few hardcoded parameters which value is set by the view:

- "pSelected" which is the selected requirement

- "pBaseline" which is the baseline used in the view.


To use these parameters in the grid you must fist define them in the grid XML:

            <Parameters>

                <Parameter caption="xxx" name="pBaseline" >

                    <Values>

                            <AddValue/>

                    </Values>

                </Parameter>

                <Parameter caption="xxx" name="pSelected" >

                    <Values>

                            <AddValue/>

                    </Values>

                </Parameter>

            </Parameters> 


After you have added this to the grid definition you should be able to reference the baseline as $pBaseline.


Best regards

Martin


image

 

Answer

Hi Bashar,


For the RM Plus Light view you have a few hardcoded parameters which value is set by the view:

- "pSelected" which is the selected requirement

- "pBaseline" which is the baseline used in the view.


To use these parameters in the grid you must fist define them in the grid XML:

            <Parameters>

                <Parameter caption="xxx" name="pBaseline" >

                    <Values>

                            <AddValue/>

                    </Values>

                </Parameter>

                <Parameter caption="xxx" name="pSelected" >

                    <Values>

                            <AddValue/>

                    </Values>

                </Parameter>

            </Parameters> 


After you have added this to the grid definition you should be able to reference the baseline as $pBaseline.


Best regards

Martin


1 person likes this

Thanks a lot Martin that awesome and exactly what I want.


Best regards

Bashar

Login to post a comment