Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
That is possible.
If you dont add PageTypeID the property will be a dynamic property
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();
Is it possible to programatically create a dynamic property?
If a specific dynamic property is missing I would like to create it for the editor...