Hi,
I am adding a class as a business object to my Report but I want to hide some fields within the business object - how do I do this?
e.g. something like this
class Info
{
public string CompanyName { get; set; }
[Hide Field]
public bool Active { get; set; }
}
Business Objects - Hide Fields
-
- Posts: 14
- Joined: Wed Jun 01, 2022 8:26 am
-
- Posts: 5424
- Joined: Tue Mar 20, 2018 5:34 am
Re: Business Objects - Hide Fields
Hello,
Unfortunately, there are no options for that task.
Thank you.
Unfortunately, there are no options for that task.
Thank you.
-
- Posts: 14
- Joined: Wed Jun 01, 2022 8:26 am
Re: Business Objects - Hide Fields
Is it possible to add a feature like that as if I have a business object that contains a password field I would want to hide that field and not make it available to a report?
-
- Posts: 5424
- Joined: Tue Mar 20, 2018 5:34 am
-
- Posts: 14
- Joined: Wed Jun 01, 2022 8:26 am
Re: Business Objects - Hide Fields
Adding these attributes does the job, thanks
[Browsable(false)]
[StiBrowsable(false)]
[Browsable(false)]
[StiBrowsable(false)]
-
- Posts: 577
- Joined: Tue Sep 07, 2021 10:11 am
Re: Business Objects - Hide Fields
Hello,
You are welcome!
You are welcome!