We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

AddIn to dissappear from workspace, when workspace is updated

Accepted answer
edited Apr 22, 2016 6:09AM in UI Extensibility 5 comments


Hi All,

i am implemented worksapce addin, which works fine until the worksapce is updated.

when the workspace is updated (any changes to the workspace like editing a rule or addin a field to workspace).

The addin dissappear from worksapce.

here is my code. please suggest if any chages are required

  [AddIn("IncidentOpenComponent", Version = "")]
   public class IncidentOpenComponent : Panel, IWorkspaceComponent2
        private bool _readOnly;
        private IRecordContext _recordContext;
        private bool _inDesignMode;
        private IGlobalContext _globalContext;

       public IncidentOpenComponent(bool inDesignMode, IRecordContext context, IGlobalContext gContext)
            this._inDesignMode = inDesignMode;
            this._recordContext = context;
            this._globalContext = gContext;

        if (!_inDesignMode && _recordContext != null)
                _recordContext.Saving += _recordContext_Saving;


      public bool ReadOnly

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!