Share via


IXrmContext interface

Interface defining the XRM context shape

Properties

context
WebApi

Property Details

context

context: { getClientUrl() => string, getVersion() => string }

Property Value

{ getClientUrl() => string, getVersion() => string }

WebApi

WebApi: { createRecord(entityLogicalName: string, data: TRequest) => Promise<TResponse>, deleteRecord(entityLogicalName: string, id: string) => Promise<void>, execute(request: TRequest) => Promise<TResponse>, retrieveMultipleRecords(entityLogicalName: string, options?: string, maxPageSize?: number) => Promise<TResponse>, retrieveRecord(entityLogicalName: string, id: string, options?: string) => Promise<TResponse>, updateRecord(entityLogicalName: string, id: string, data: Partial<TRequest>) => Promise<TResponse> }

Property Value

{ createRecord(entityLogicalName: string, data: TRequest) => Promise<TResponse>, deleteRecord(entityLogicalName: string, id: string) => Promise<void>, execute(request: TRequest) => Promise<TResponse>, retrieveMultipleRecords(entityLogicalName: string, options?: string, maxPageSize?: number) => Promise<TResponse>, retrieveRecord(entityLogicalName: string, id: string, options?: string) => Promise<TResponse>, updateRecord(entityLogicalName: string, id: string, data: Partial<TRequest>) => Promise<TResponse> }