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
19
Views
9
Comments
edited Jun 13, 2022 4:09AM in General Technical Discussions 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!