Class Field

Namespace
DocuWare.Platform.Bpw.Schemas
Assembly
DocuWare.Platform.ServerClient.dll

public class Field : BaseField, IRelationsWithProxy
Inheritance
Field
Implements
Inherited Members

Properties

Description

public string Description { get; set; }

Property Value

TypeDescription
String

FieldMask

public FieldEntryMask FieldMask { get; set; }

Property Value

TypeDescription
FieldEntryMask

FilterGuid

public string FilterGuid { get; set; }

Property Value

TypeDescription
String

Id

public string Id { get; set; }

Property Value

TypeDescription
String

IsMandatory

public bool IsMandatory { get; set; }

Property Value

TypeDescription
Boolean

IsMultiselect

public bool IsMultiselect { get; set; }

Property Value

TypeDescription
Boolean

IsReadOnly

public bool IsReadOnly { get; set; }

Property Value

TypeDescription
Boolean

IsSelectListOnly

public bool IsSelectListOnly { get; set; }

Property Value

TypeDescription
Boolean
public Link[] Links { get; set; }

Property Value

TypeDescription
Link[]

MultiValue

public List<BpwSelectListItem> MultiValue { get; set; }

Property Value

TypeDescription
List<BpwSelectListItem>

SelectListGuid

public string SelectListGuid { get; set; }

Property Value

TypeDescription
String

Gets the Uri of the link for the relation “selectList”.

public string SelectListRelationLink { get; }

Property Value

TypeDescription
String

Returns the uri of the link for the relation “selectList” if it exists, or null if this link does not exist. The returned link can be absolute or relative. If it is a relative link you must set it in the right context yourself.

Methods

PostToSelectListRelationForBpwSelectList(SelectListExpression)

Calls the HTTP Post method on the link for the relation “selectList”.

public BpwSelectList PostToSelectListRelationForBpwSelectList(SelectListExpression dataToSend)

Parameters

TypeNameDescription
SelectListExpressiondataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
BpwSelectList

The content of the response.

PostToSelectListRelationForBpwSelectListAsync(SelectListExpression)

Calls the HTTP Post method on the link for the relation “selectList” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<BpwSelectList>> PostToSelectListRelationForBpwSelectListAsync(SelectListExpression dataToSend)

Parameters

TypeNameDescription
SelectListExpressiondataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<BpwSelectList>>

A task which runs the request.

Remarks

This method follows the link for the relation “selectList”.

PostToSelectListRelationForBpwSelectListAsync(System.Threading.CancellationToken, SelectListExpression)

Calls the HTTP Post method on the link for the relation “selectList” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<BpwSelectList>> PostToSelectListRelationForBpwSelectListAsync(System.Threading.CancellationToken cancellationToken, SelectListExpression dataToSend)

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

SelectListExpressiondataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<BpwSelectList>>

A task which runs the request.

Remarks

This method follows the link for the relation “selectList”.

SetProxy(HttpClientProxy)

Sets the HTTP communication proxy which is used in further HTTP communication.

public override void SetProxy(HttpClientProxy proxy)

Parameters

TypeNameDescription
HttpClientProxyproxy

The instance which is used in further HTTP communication.

Overrides

WFBaseForm.SetProxy(HttpClientProxy)

Remarks

The HTTP proxy is used to handle the HTTP requests which are created by this instance. The proxy is used in case a request is sent to a URL which is resolved from a link.