Represents a Portal Resource.
Implements I_ISDirty, I_ISObjectName, I_ISUndoableEdit

Methods

Name Description
AcceptChanges System Use Only
BeginEdit System Use Only
CanCache Check to see if this resource can be delivered with Cache headers so that each request from a Web Browser does not hit the Web Services.
CancelEdit System Use Only
Clear Clears this object and sets all of its properties to their defaults.
Clone Create a Clone of this item.
DirtyClear System Use Only
DirtySet System Use Only
FromXmlString Loads Portal Resource properties from an XML String.
GetCssFromLess System Use Only
GetDataUri Get a Data URI that embeds this Resource.
GetObjectName
GetResourceDataAsPwaIcon System Use Only Get the Resource Data as a PWA Icon.
GetResourceDataAsTextResolved System Use Only Get the Resource Data as UTF8 encoded Text (providing it is one of the text-based Resource Types) including the resolution of any other Resource references or Constants.
GetResourceTypeFileExtension Get the File Extension based on the Resource Type.
GetResourceTypeIconResourceId
GetResourceTypeMimeType Get the Mime Type based on the Resource Type.
IsResourceTypeDocument Checks to see if this Resource Type is an Document-type Resource.
IsResourceTypeImage Checks to see if this Resource Type is an Image-type Resource.
IsResourceTypeText Checks to see if this Resource Type is a Text-type Resource.
ResourceDataAsBitmap Create a Bitmap from the Resource Data.
ResourceDataAsText Get the Resource Data as UTF8 encoded Text (providing it is one of the text-based Resource Types).
ResourceDataFromDocumentFile Update the Resource Data by loading a Document from the supplied File Name.
ResourceDataFromImageFile Update the Resource Data by loading an Image from the supplied File Name.
ResourceDataFromText Update the Resource Data from a Text value that will be encoded as UTF8.
ToXmlString Persists Portal Resource to an XML string.

Properties

Name Description
AllowDirectDownload Indicates whether this Resource Allows Direct Download via a URL.
AllowDirectDownloadAuthenticatedOnly Indicates whether, if this Resource Allows Direct Download via a URL, the User must be Authenticated.
AllowDirectDownloadResolved Read-Only Indicates whether this Resource Allows Direct Download via a URL.
AutoBackupKey Read-Only System Use Only The Key that identifies this item for auto-backup purposes.
BundleName Bundle Name.
CreatedDate Read-Only The date and time this record was created.
CreatedUserPk Read-Only The primary key of the User that created this record.
CreatedUtcDate Read-Only The UTC date and time this record was created.
Description Description.
Index Read-Only The Index of this item within its collection.
IsDirty Read-Only Indicates whether this object has been modified since being created, loaded or refreshed.
IsNew Read-Only Indicates whether this is a new record.
Notes Notes.
Parent Read-Only The parent collection.
Pk This record's primary key.
Portal Read-Only The parent Portal object.
PortalResourceId The Portal Resource Id.
PortalResources Read-Only The parent Portal Resources collection.
ResourceBookmarks A comma separated list of line numbers which are Bookmarked in the Resource.
ResourceData The binary Resource Data.
ResourceType The Resource Type.
ResourceTypeText The Resource Type in its String representation.
Tag The Tag property can be used to attach another value or object to this object.
Timestamp This record's Timestamp.
UpdatedDate Read-Only The date and time this record was updated.
UpdatedUserPk The primary key of the User that updated this record.
UpdatedUtcDate The UTC date and time this record was updated.
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0