Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
I also tried the below but of no avail
otherProp = new PageDefinition();
otherProp.FieldOrder = prop.FieldOrder;
otherProp.Type = new PageDefinitionType(prop.Type.ID, prop.Type.DataType, prop.Type.Name);
otherProp.PageTypeID = page.ID;
otherProp.Tab = prop.Tab;
otherProp.Name = prop.Name;
otherProp.HelpText = prop.HelpText;
otherProp.EditCaption = prop.EditCaption;
otherProp.Searchable = prop.Searchable;
otherProp.Required = prop.Required;
otherProp.LanguageSpecific = prop.LanguageSpecific;
otherProp.LongStringSettings = prop.LongStringSettings;
otherProp.Save();
otherProp.ClearCache();
This should work for you.
DynamicProperty dynamicProperty = DynamicProperty.Load(e.PageLink, "BlogPageReference");
dynamicProperty.PropertyValue.Value = e.PageLink;
dynamicProperty.Save();
Hi,
I need to create a dynamic property in code and save it. How can I create a dynamic property? I can update the dynamic property but coudn't creat one
DynamicProperty dynProperty = DynamicProperty.Load(page.PageLink, "DynProp");
dynProperty .PropertyValue.Value = "value";
dynProperty .Save();