dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Model

PortalGroup Class

The group resource represents a group within the Portal.
ArcGIS Maps SDK for JavaScript

public class PortalGroup :
dymaptic.GeoBlazor.Core.Interfaces.IInteractiveRecord,
System.IEquatable<dymaptic.GeoBlazor.Core.Model.PortalGroup>

Inheritance System.Object 🡒 PortalGroup

Implements IInteractiveRecord, System.IEquatable<PortalGroup>

Constructors

PortalGroup(Nullable, Nullable, string, Nullable, Nullable, string, Portal, string, string, IReadOnlyCollection, string) Constructor

The group resource represents a group within the Portal.
ArcGIS Maps SDK for JavaScript

public PortalGroup(System.Nullable<dymaptic.GeoBlazor.Core.Enums.PortalGroupAccess> Access=null, System.Nullable<System.DateTime> Created=null, string? Description=null, System.Nullable<bool> IsInvitationOnly=null, System.Nullable<System.DateTime> Modified=null, string? Owner=null, dymaptic.GeoBlazor.Core.Components.Portal? Portal=null, string? PortalGroupId=null, string? Snippet=null, System.Collections.Generic.IReadOnlyCollection<string>? Tags=null, string? Title=null);

Parameters

Access System.Nullable<PortalGroupAccess>

The access privileges on the group which determines who can see and access the group.
ArcGIS Maps SDK for JavaScript

Created System.Nullable<System.DateTime>

The date the group was created.
ArcGIS Maps SDK for JavaScript

Description System.String

A detailed description of the group.
ArcGIS Maps SDK for JavaScript

IsInvitationOnly System.Nullable<System.Boolean>

If set to true, then users will not be able to apply to join the group.
default false
ArcGIS Maps SDK for JavaScript

Modified System.Nullable<System.DateTime>

The date the group was last modified.
ArcGIS Maps SDK for JavaScript

Owner System.String

The username of the group’s owner.
ArcGIS Maps SDK for JavaScript

Portal Portal

The portal associated with the group.
ArcGIS Maps SDK for JavaScript

PortalGroupId System.String

The unique id for the group.
ArcGIS Maps SDK for JavaScript

Snippet System.String

A short summary that describes the group.
ArcGIS Maps SDK for JavaScript

Tags System.Collections.Generic.IReadOnlyCollection<System.String>

User defined tags that describe the group.
ArcGIS Maps SDK for JavaScript

Title System.String

The title of the group.
ArcGIS Maps SDK for JavaScript

Properties

PortalGroup.AbortManager Property

Allows for transmitting CancellationToken cancel signals to JavaScript.

public dymaptic.GeoBlazor.Core.Model.AbortManager? AbortManager { get; set; }

Implements AbortManager

Property Value

AbortManager

PortalGroup.Access Property

The access privileges on the group which determines who can see and access the group.
ArcGIS Maps SDK for JavaScript

public System.Nullable<dymaptic.GeoBlazor.Core.Enums.PortalGroupAccess> Access { get; set; }

Property Value

System.Nullable<PortalGroupAccess>

PortalGroup.CoreJsModule Property

Reference to the Core JavaScript module.

public Microsoft.JSInterop.IJSObjectReference? CoreJsModule { get; set; }

Implements CoreJsModule

Property Value

Microsoft.JSInterop.IJSObjectReference

PortalGroup.Created Property

The date the group was created.
ArcGIS Maps SDK for JavaScript

public System.Nullable<System.DateTime> Created { get; set; }

Property Value

System.Nullable<System.DateTime>

PortalGroup.Description Property

A detailed description of the group.
ArcGIS Maps SDK for JavaScript

public string? Description { get; set; }

Property Value

System.String

PortalGroup.Id Property

A unique Id to identify this record in JavaScript.

public System.Guid Id { get; set; }

Implements Id

Property Value

System.Guid

PortalGroup.IsInvitationOnly Property

If set to true, then users will not be able to apply to join the group.
default false
ArcGIS Maps SDK for JavaScript

public System.Nullable<bool> IsInvitationOnly { get; set; }

Property Value

System.Nullable<System.Boolean>

PortalGroup.JsComponentReference Property

Represents the JavaScript component reference.

public Microsoft.JSInterop.IJSObjectReference? JsComponentReference { get; set; }

Implements JsComponentReference

Property Value

Microsoft.JSInterop.IJSObjectReference

PortalGroup.Modified Property

The date the group was last modified.
ArcGIS Maps SDK for JavaScript

public System.Nullable<System.DateTime> Modified { get; set; }

Property Value

System.Nullable<System.DateTime>

PortalGroup.Owner Property

The username of the group’s owner.
ArcGIS Maps SDK for JavaScript

public string? Owner { get; set; }

Property Value

System.String

PortalGroup.Portal Property

The portal associated with the group.
ArcGIS Maps SDK for JavaScript

public dymaptic.GeoBlazor.Core.Components.Portal? Portal { get; set; }

Property Value

Portal

PortalGroup.PortalGroupId Property

The unique id for the group.
ArcGIS Maps SDK for JavaScript

public string? PortalGroupId { get; set; }

Property Value

System.String

PortalGroup.Snippet Property

A short summary that describes the group.
ArcGIS Maps SDK for JavaScript

public string? Snippet { get; set; }

Property Value

System.String

PortalGroup.Tags Property

User defined tags that describe the group.
ArcGIS Maps SDK for JavaScript

public System.Collections.Generic.IReadOnlyCollection<string>? Tags { get; set; }

Property Value

System.Collections.Generic.IReadOnlyCollection<System.String>

PortalGroup.Title Property

The title of the group.
ArcGIS Maps SDK for JavaScript

public string? Title { get; set; }

Property Value

System.String

Methods

PortalGroup.FetchCategorySchema(CancellationToken) Method

If present, fetches the group’s category schema.
param options.signal Signal object that can be used to abort the asynchronous task. The returned promise will be rejected with an Error named AbortError when an abort is signaled. See also AbortController for more information on how to construct a controller that can be used to deliver abort signals.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<string[]?> FetchCategorySchema(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<System.String[]>

PortalGroup.FetchMembers(CancellationToken) Method

Fetches the current members of the group.
param options.signal Signal object that can be used to abort the asynchronous task. The returned promise will be rejected with an Error named AbortError when an abort is signaled. See also AbortController for more information on how to construct a controller that can be used to deliver abort signals.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Members?> FetchMembers(System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<Members>

PortalGroup.GetThumbnailUrl(int) Method

Get the URL to the thumbnail image for the group.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<string?> GetThumbnailUrl(int width);

Parameters

width System.Int32

The desired image width.

Returns

System.Threading.Tasks.Task<System.String>

PortalGroup.QueryItems(PortalQueryParams, CancellationToken) Method

Executes a query against the group to return an array of PortalItem objects
that match the input query.
param options An object with the following properties.
ArcGIS Maps SDK for JavaScript

public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Results.PortalQueryResult?> QueryItems(dymaptic.GeoBlazor.Core.Model.PortalQueryParams queryParams, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

Parameters

queryParams PortalQueryParams

The input query parameters defined in PortalQueryParams.

cancellationToken System.Threading.CancellationToken

The CancellationToken to cancel an asynchronous operation.

Returns

System.Threading.Tasks.Task<PortalQueryResult>