Timeline for Creating Glassmapper Models Programmatically with Standard Values
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 24, 2016 at 7:36 | comment | added | Søren Kruse |
You can get the standard value of a field through Sitecore.Data.StandardValuesManager.GetStandardValue(Field field) .
|
|
Nov 23, 2016 at 22:52 | vote | accept | rfraczkowski | ||
Nov 23, 2016 at 22:51 | comment | added | rfraczkowski | What if I need to create the model outside of Sitecore first? I use a separate system to get information for the sitecore items, then comparisons to decide if the item needs to be created or updated. Is there any way to access the standard values of a template programmatically? | |
Nov 23, 2016 at 21:34 | history | answered | Søren Kruse | CC BY-SA 3.0 |