deleteRecord
Deletes a table record.
Available for
Model-driven apps & portals.
Syntax
context.webAPI.deleteRecord(entityLogicalName, id).then(successCallback, errorCallback);
Parameters
Name | Type | Required | Description |
---|---|---|---|
entityLogicalName | String | Yes | The table logical name of the record you want to delete. For example: "account". |
id | String | Yes | GUID of the table record you want to delete. |
successCallback | Function | No | A function to call when a record is deleted. An object with the following properties will be passed to identify the deleted record:
|
errorCallback | Function | No | A function to call when the operation fails. |
Return Value
Type: LookupValue[]
Related articles
Web API
Power Apps component framework API reference
Power Apps component framework overview
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho