Opticon Stockholm is on Tuesday September 10th, hope to see you there!
AI OnAI Off
Opticon Stockholm is on Tuesday September 10th, hope to see you there!
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...