Why make a network request when you don't have to? Call this function on a list form page and it will return an object with the Schema Data for that view. Wunderbar!
jQuery's ajax method. If you aren't a fan of using SP.RequestExecutor, chances are good that $.ajax is used heavily to query and post data to SharePoint's REST API in your SharePoint customisations. There's nothing wrong with jQuery's $.ajax method. In fact, it's been incredibly reliable over the past five years for my work. But we … Continue reading Using Fetch with SharePoint Online