创建新话题
已回答

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?

 




最佳答案

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

 

回答

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

Liquid error: translation data {:other=>"%{count} 人 "} can not be used with :count => 1. key 'one' is missing.

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


Best regards

Bashar

登录 发表评论