Is there an easy way to retrieve item approval status (moderationStatus) inside the edit form? During display of edit form I need to know wheather the currently edited item was approved or not. I see that the information is not reflected in a hidden column or else. I have the following ideas:
- Custom flag column that indicates if the item was approved.
- Get the current item via js rest call and check OData__ModerationStatus.
I just want to know if there is an easier way to get the moderationStatus of the item I am editing.
Thank you!

0 commentaires:
Enregistrer un commentaire