InsertLinkByPermission Properties Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

The InsertLinkByPermission type exposes the following members.

Properties

  Name Description
Public property AccessCheckTarget
Sets or gets the object on which the access check should be done. The default value is AccessCheckTarget.CurrentDocument
Public property AccessMask
Sets or gets the permission or combination of permissions to check for. The default value is CSObjectPermissions.Read.
(Inherited from PermissionDependentComponent.)
Public property BackwardsComponentCompatibilityMode
Sets or gets a value that indicates whether the code runs in backwards compatibility component mode. The default value is false.
(Inherited from ActiveScriptingBase.)
Public property CheckForLackOfPermission
Sets or gets a value that indicates if the component should render its content when the users lacks permissions. The default value is false (render when the users have permissions).
Public property ClassName
Sets or gets a value that of an EPT field that contains the CSS class name that should be applied to the generated link or button. The default value is an empty string
Public property ComponentName
Gets the name of the component
(Overrides ActiveScriptingBaseComponentName.)
Public property Conformance
Gets a value which specifies which type of code a component can generate.
(Overrides ActiveScriptingBaseConformance.)
Protected property Code example CS_DataFields
Gets a EPTXmlParser that contains a collection of EPT field definitions and values. This property is the replacement for the obsolete EPT_GetFieldName(String) and EPT_GetFieldValue(String) methods.
(Inherited from CodeBase.)
Public property ElementType
Gets a value which specifies the type of outer element the component generates.
(Overrides ActiveScriptingBaseElementType.)
Public property Encoding
Sets or gets the encoding the component uses. The default encoding is the UTF8 encoding without byte order mark.
(Inherited from ActiveScriptingBase.)
Public property ImageAlt
Sets or gets a value that of an EPT field that contains the ALT text of the image. The default value is an empty string
Public property LinkImage
Gets or sets the a name of an EPT field that contains the URL to an image file to be used as a part of the link. The default value is an empty string.
Public property LinkText
Gets or sets a name of an EPT field that contains the text to display in the link. The default value is an empty string
Public property LinkType
Sets or gets the link type to generate. The default value is LinkTypes.Link
Public property LinkURL
Gets or sets the a name of an EPT field that contains the link URL. The default value is an empty string.
Public property MakeDisabled
Sets or gets a value that indicates if the controls should be rendered as disabled (rather omitting them) when access check fails. The default value is true.
Public property Code example ObjectAttributes
Sets or gets a value that defines attributes to be used on the generated link or button element. The value of this property must either be empty or a valid attribute syntax. The default value is an empty string.
Protected property ObjectToCheck
Sets or gets a value that indicates the id of the Content Studio object to perform the access check on. The default value is 1.
(Inherited from PermissionDependentComponent.)
Protected property ObjectType
Sets or gets a value that indicates what type of object that is referenced in the ObjectToCheck property. The caller's permission will be checked against this object when the derived class calls the Invoke method. The default value is CSSecurableObjects.DocumentItem.
(Inherited from PermissionDependentComponent.)
Protected property Page
A reference to the current context page. This will initialize in the constructor of this class.
(Inherited from CodeBase.)
Protected property RunningUserControl
Gets the current running user control.
(Inherited from CodeBase.)
Public property StaticClass
Sets or gets a value that specifies the CSS class name that should be applied to the generated link or button. The default value is an empty string.
Public property StaticImageAlt
Sets or gets the ALT attribute of the generated image link. The default value is an empty string.
Public property StaticLinkImage
Gets or sets the name of an URL to an image file to be used as a part of the link. Set this property to an empty string if LinkImage should be used instead. The default value is an empty string.
Public property StaticLinkText
Gets or sets the text of the link. Set this property to an empty string if the LinkText should be used instead. The default value is an empty string.
Public property StaticLinkURL
Gets or sets the link URL. Set this property to an empty string if the LinkURL should be used instead. The default value is an empty string.
Public property StaticTarget
Sets or gets a value that defines the TARGET attribute on the generated link. The default value is an empty string.
Public property StaticTitle
Sets or gets a value that specifies the TITLE attribute of the generated link or button. The default value is an empty string
Public property Target
Sets or gets a value that of an EPT field that contains the TARGET attribute of the generated link or button. The default value is an empty string
Public property Title
Sets or gets a value that of an EPT field that contains the TITLE attribute of the generated image link. The default value is an empty string.
Public property UDFCategoryID
Sets or gets a value that indicates a category to perform access check on. The default value is zero.
Top
See Also

Reference