Page 1 of 1

How to deactivate deleting of the business object root node

Posted: Fri Apr 12, 2013 10:49 am
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

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

Posted: Fri Apr 12, 2013 3:13 pm
by HighAley
Hello.

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

Thank you.

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

Posted: Mon Apr 15, 2013 6:43 am
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.

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

Posted: Wed Apr 17, 2013 7:43 am
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

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

Posted: Wed Apr 17, 2013 11:34 am
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.

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

Posted: Fri Apr 26, 2013 11:36 am
by casic
Works great - thank you very much!

Markus

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

Posted: Fri Apr 26, 2013 11:56 am
by Alex K.
Hello,

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

Thank you.