Page 1 of 1

How to hide a property of a business object?

Posted: Fri May 23, 2014 10:00 am
by casic
Hi there,

I tried to hide a property of a business object in the dictionary, because this property has been marked obsolete. The report should work with this property but in the designer the property should not be visible/selectable. I tried

Code: Select all

_stiReport.Dictionary.Restrictions.Add(businessObject.Name + "." + propertyInfo.Name, StiDataType.DataColumn, StiRestrictionTypes.DenyShow)
_stiReport.Dictionary.Restrictions.Add(propertyInfo.Name, StiDataType.DataColumn, StiRestrictionTypes.DenyShow)
but with no success. Is it actually possible to hide properties of business objects?

Thank you,

Markus

Re: How to hide a property of a business object?

Posted: Fri May 23, 2014 12:54 pm
by Alex K.
Hello,

We couldn't reproduce this bug.
Please checkthe business objects name in your code.

Thank you.