Is there any way to insert a HTML string to Aspose.Tasks custom field? here is my sample code.
var projectAttribute = project.ExtendedAttributes.FirstOrDefault(i => i.Alias == "MyJourney");
if (projectAttribute == null)
{
ExtendedAttributeTask taskAttribute = (ExtendedAttributeTask)Enum.Parse(typeof(ExtendedAttributeTask), "Text1");
projectAttribute = ExtendedAttributeDefinition.CreateTaskDefinition(CustomFieldType.Text, taskAttribute, "MyJourney");
project.ExtendedAttributes.Add(projectAttribute);
}
var taskAttrubute = projectAttribute.CreateExtendedAttribute();
if (projectAttribute.CfType == CustomFieldType.Text)
{
taskAttrubute.TextValue = value; //here value is the HTML string
}