cancel
Showing results for 
Search instead for 
Did you mean: 

How to set an optional param on a Report Definition

Former Member
0 Kudos

Hi guys. I'm trying to add optional parameters to my Report Definition in the HMC in order to filter my results.

 <attribute generate="false" autocreate="true" qualifier="product" type="Product" metatype="ViewAttributeDescriptor">
             <persistence type="jalo" qualifier=""/>
             <modifiers read="true" write="false" search="true" encrypted="false" optional="true" removable="true" initial="false" unique="false" private="false" partof="false"/>
             <custom-properties>
                 <property name="param">
                     <value>
 Boolean.TRUE
                     </value>
                 </property>
                 <property name="position">
                     <value>
 new Integer(0)
                     </value>
                 </property>
             </custom-properties>
         </attribute>

I've set the optional modifier to true, however when I run my report without selecting a product I get an exception stating that "You must fill out all search conditions".

Any advice would be much appreciated.

Regards

Dewaldt

former_member708417
Participant
0 Kudos

Hi , I am also facing with same issue, can you please let me know if you have the solution.

Thanks

Accepted Solutions (0)

Answers (0)