Very tiny suggestion, and you can close this off as soon as it is seen, I'm sure ... but could the concern about data integrity for custom charts and their inherent 'editability' be waylaid by sending a PATCH request with the following settings to make it read only?
URI:
https://YOUR_DOMAIN.sharepoint.com/_api/web/lists/GetById(guid'YOUR_LIST_ID')/Views/GetById(guid'YOUR_LIST_VIEW_ID')
Method:
Header:
{
"Content-Type": "application/json;odata=nometadata",
"Accept": "application/json;odata=nometadata"
}
Body:
( I performed my tests in Power Automate, hence the generous header setup allowing minimal fuss )
Obviously I could be way off, maybe you need the 'edit' ability in order for them to work ... but it's just a thought.
@'ing @Fedes365 as it's their amazing looking view sample
Very tiny suggestion, and you can close this off as soon as it is seen, I'm sure ... but could the concern about data integrity for custom charts and their inherent 'editability' be waylaid by sending a PATCH request with the following settings to make it read only?
URI:
Method:
Header:
{ "Content-Type": "application/json;odata=nometadata", "Accept": "application/json;odata=nometadata" }Body:
{ "ReadOnlyView": true }( I performed my tests in Power Automate, hence the generous header setup allowing minimal fuss )
Obviously I could be way off, maybe you need the 'edit' ability in order for them to work ... but it's just a thought.
@'ing @Fedes365 as it's their amazing looking view sample