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

ServerConfigProperty not accessing new values

Received Response
9
Views
7
Comments
edited Oct 20, 2017 11:12AM in Integrations and APIs 7 comments

Content

Hi All,

i have used below code for ServerConfigProperty.

private string x;
[ServerConfigProperty(DefaultValue = "12345")]
        public string yyy
        {
            get
            {
                return x;
            }
            set
            {
                x = value;

variable.ReportId=  x;
                
            }
        }

 

class:

class variable
    {
        public static string ReportId = "";     
    }

 

when i change property value in addin manager, it is not picking new value, always taking default value only. 

please help.

Thanks

Prasad

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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