Method | Description | |
---|---|---|
ConstructFileName ( System.Item item ) : string |
Construct a filename for an item. Based on the properties of the item. The filename property must be set, but there can be other aspects set on the item that are taken into account in the filename |
|
GetLocalUri ( TcmUri uriPublication, TcmUri uriItem ) : TcmUri | ||
GetPropertyValue ( System.Item item, string propertyName ) : string |
Get a property value from an item, or an empty string if the property value is missing or null. Simple helper for ConstructFileName, to access item property values |
|
GetPublicationFromContext ( Package package, Engine engine ) : Publication | ||
StripTcdlTags ( string input ) : string |
public static ConstructFileName ( System.Item item ) : string | ||
item | System.Item | |
return | string |
public static GetLocalUri ( TcmUri uriPublication, TcmUri uriItem ) : TcmUri | ||
uriPublication | TcmUri | |
uriItem | TcmUri | |
return | TcmUri |
public static GetPropertyValue ( System.Item item, string propertyName ) : string | ||
item | System.Item | The item to determine the property value for |
propertyName | string | The name of the property to retrieve |
return | string |
public static GetPublicationFromContext ( Package package, Engine engine ) : Publication | ||
package | Package | |
engine | Engine | |
return | Publication |
public static StripTcdlTags ( string input ) : string | ||
input | string | |
return | string |