Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

How to disable "Disconnect library" for Smart Component?

PaP
PaP
edited April 2020 in Developer Tools
Hi,
I created my own Smart Component with CodeBehind, and now i would like to "lock" it. 
Becouse, when I disconnet it, then i am able to edit inside of component (and i dont want that).
I would like to make it same as original ABB smart components, which are not possible to disconnect.

Do you have idea, how it is possible?
Thanks

Answers

  • PaP said:
    Hi,
    I created my own Smart Component with CodeBehind, and now i would like to "lock" it. 
    Becouse, when I disconnet it, then i am able to edit inside of component (and i dont want that).
    I would like to make it same as original ABB smart components, which are not possible to disconnect.

    Do you have idea, how it is possible?
    Thanks
    SmartComponent smartComponent = new SmartComponent();
    smartComponent.IsEditable = false;