How to deactivate deleting of the business object root node

Stimulsoft Reports.NET discussion
Post Reply
casic
Posts: 68
Joined: Thu Jan 18, 2007 4:25 pm
Location: Germany

How to deactivate deleting of the business object root node

Post by casic »

Hi there,

I set the following option to prevent the deletion of business object items:

Code: Select all

StiOptions.Designer.Panels.Dictionary.ShowDeleteForBusinessObject = False
This prevents the deletion of all business objects but not of the root node. What I'm missing?

Cu

Markus
Attachments
How to deactivate deleting of the business object root item.png
How to deactivate deleting of the business object root item.png (12.29 KiB) Viewed 1764 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: How to deactivate deleting of the business object root n

Post by HighAley »

Hello.

Sorry for the delay with answer.
We need some additional time to prepare it for you.

Thank you.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to deactivate deleting of the business object root n

Post by Alex K. »

Hello,

Please try to use the following options:

Code: Select all

StiOptions.Designer.Panels.Dictionary.ShowDeleteForBusinessObject = False
StiOptions.Designer.Panels.Dictionary.ShowDeleteMenuItem = False
Thank you.
casic
Posts: 68
Joined: Thu Jan 18, 2007 4:25 pm
Location: Germany

Re: How to deactivate deleting of the business object root n

Post by casic »

Hi,

this solution works partially. I want to let the user define variables, but if I set

Code: Select all

StiOptions.Designer.Panels.Dictionary.ShowDeleteMenuItem = False
then I'm no longer able to delete variables - even if the following option is set:

Code: Select all

StiOptions.Designer.Panels.Dictionary.ShowDeleteForVariable = True
Is there a way to disable deleting business objects and also allow the deletion of variables?

Thank you,

Markus
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to deactivate deleting of the business object root n

Post by Alex K. »

Hello,

We made some changes in this direction. Now
StiOptions.Designer.Panels.Dictionary.ShowDeleteForBusinessObject = False
hide the Delete menu item for the root node.
Solution will be available in the next prerelease build on this week.

Thank you.
casic
Posts: 68
Joined: Thu Jan 18, 2007 4:25 pm
Location: Germany

Re: How to deactivate deleting of the business object root n

Post by casic »

Works great - thank you very much!

Markus
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: How to deactivate deleting of the business object root n

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply