I'm trying to force a refresh on a page using JS without resorting to location.reload.
I COULD use the OLD API and invoke crmForm.SubmitCrmForm(59, true, true, false), but this is deprecated and I'd rather do this by the books.
So, I'm trying to mark an attribute as dirty using page.getAttribute()[0].setSubmitMode("always"). However, doing this doesn't change
page.data.entity.isGetDirty(), which is still false, and subsequently,
page.data.entity.save() doesn't do anything.
What am I doing wrong?