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

Set boolean value in addin

Accepted answer
15
Views
9
Comments
edited Feb 22, 2018 2:11PM in UI Extensibility 9 comments

Content

Hi guys,

I'm having trouble seting a Boolean value to a variable of the current context through an addin. I'm trying use the same structure I use to set other types of field, but no sucess. Anyone has an idea?

 foreach (IGenericField genField in fields3)
{
  if (genField.Name == "boolean_field")
  {
     genField.DataValue.Value = "true";
  }
}

Thanks!

Laura

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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