Tag Info

Hot answers tagged


You have to explicity get all fields with var fields= oList.get_fields(); ctx.load(fields) you can then loop over all with var fieldsenum = fields.getEnumerator(); while (fieldsenum.moveNext()) { var field = fieldsenum.get_current(); var fieldname = field.get_internalName(); }


I think what your looking for is this: using rest var value = SP.File.get_checkOutType() https://msdn.microsoft.com/en-us/library/office/jj244900.aspx https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.checkouttype.aspx Example $.ajax({url: "/_api/web/getFileByServerRelativeUrl('" + pageUrl + "')/checkOutType", headers: ...


For this little requirement you do not need to create any CSOM or workflow. Just use the Alert of SharePoint. It's default feature. See the steps of alert sending here


You can create an SP designer workflow for sending email. You need to activate the workflow on update event only.

Only top voted, non community-wiki answers of a minimum length are eligible