Class: AttachmentEntryProxy¶
Hierarchy¶
-
AttachmentEntryProxy
Implements¶
Summary¶
Constructors¶
Properties¶
Class Properties¶
Inherited Properties¶
Accessors¶
Class Accessors¶
Currently none in this class.
Inherited Accessors¶
Methods¶
Class Methods¶
Inherited Methods¶
Constructors¶
constructor¶
+ new AttachmentEntryProxy(context: IContext): AttachmentEntryProxy
Overrides ElementProxy.constructor
Parameters:
| Name | Type |
|---|---|
context |
IContext |
Returns: AttachmentEntryProxy
Properties¶
Protected _row¶
• _row: any
Methods¶
createAttachmentEntry¶
▸ createAttachmentEntry(attachmentPath: string, entitySet: string, property: string, readLink: string, service: string, encodeURI: boolean): any
Implementation of IAttachmentEntryProxy
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
attachmentPath |
string | - | the path for the attachment file |
entitySet |
string | - | entity set name |
property |
string | - | the property of the entity set |
readLink |
string | - | readlink string |
service |
string | - | service name |
encodeURI |
boolean | true | whether to prefix the path with 'file://' if it is not already using another URI protocol, default value is true |
Returns: any
an object with all information for the attachment entry or undefined if the attachment is invalid
getParent¶
▸ getParent(): IAttachmentFormCellProxy
Implementation of IAttachmentEntryProxy
Overrides ElementProxy.getParent
Returns: IAttachmentFormCellProxy
getValue¶
▸ getValue(): any
Implementation of IAttachmentEntryProxy
Returns: any
the value of the item
open¶
▸ open(): any
Implementation of IAttachmentEntryProxy
Returns: any
setValue¶
▸ setValue(value: any, notify?: boolean): any
Implementation of IAttachmentEntryProxy
Parameters:
| Name | Type | Description |
|---|---|---|
value |
any | value to be set |
notify? |
boolean | whether to triggers the OnValueChange event on the parent control |
Returns: any
this - allows chaining