entity.save (Client API reference)
Saves the record synchronously with the options to close the form or open a new form after the save is completed.
Syntax
formContext.data.entity.save(saveOption);
Note
This method is deprecated and we recommend to use the formContext.data.save method.
Parameters
Name | Type | Required | Description |
---|---|---|---|
saveOption |
String | No | Specify options for saving the record. If no parameter is included in the method, the record will simply be saved. This is the equivalent of using the Save command. You can specify one of the following values: - saveandclose : This is the equivalent of using the Save and Close command.- saveandnew : This is the equivalent of the using the Save and New command. |
Example
To open a new form after the save is completed:
formContext.data.entity.save("saveandnew");
Related articles
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기