Interface ICmsItemTemplateHistory
A saved version of a CmsItemTemplate. Every save of a template stores a copy here, so the
newest record is the current content; the server keeps the newest ELEMENT_HISTORY_LIMIT (default 5)
per tag, id and language.
public interface ICmsItemTemplateHistory
Properties
Attribute
The Attribute of the template at the time of that save.
string? Attribute { get; init; }
Property Value
- string
Changed
When this version was saved. The history lists newest first by this value.
DateTimeOffset Changed { get; init; }
Property Value
- DateTimeOffset
Content
The template's markup at the time of that save.
string? Content { get; init; }
Property Value
- string
Created
The Created time of the template.
DateTimeOffset Created { get; init; }
Property Value
- DateTimeOffset
Id
The id of this history record, assigned by the server.
long? Id { get; init; }
Property Value
- long?
Language
The Language of the template; empty for the default.
string? Language { get; init; }
Property Value
- string
Name
The Name (id) of the template. Serialized as name, unlike on the
template itself.
string? Name { get; init; }
Property Value
- string
Owner
The Owner of the template at the time of that save.
string? Owner { get; init; }
Property Value
- string
Path
The Path of the template at the time of that save.
string? Path { get; init; }
Property Value
- string
Tag
The Tag of the template.
string? Tag { get; init; }
Property Value
- string
UserId
The user who saved this version.
string? UserId { get; init; }
Property Value
- string