編輯

共用方式為


DataService type

Important

The finance and operations (Dynamics 365) mobile app and platform are no longer supported. The platform components supporting the mobile app will be removed in a future update. The mobile app has also been removed from app stores. Previously installed instances of the app will continue to work. For more information, see Removed or deprecated platform features.

Provides ability access data under the application workspace.

Hierarchy

DataService

Index

Methods

Methods

findEntityData

findEntityData(entityType: any, propertyName: string, propertyValue: any, includeChanges?: boolean): any

Parameters

Name Type Description
entityType any
propertyName string
propertyValue any
includeChanges? boolean

Returns any

getEntityData

getEntityData(entityType: any, entityId: string): any

Parameters

Name Type Description
entityType any
entityId string

Returns any

getPageData

getPageData(pageId: string, context: any, filter: any, allowedStaleness: number): Promise <PageData>

Parameters

Name Type Description
pageId string
context any
filter any
allowedStaleness number

Returns Promise <PageData>