Hi,
I'm trying to understand how setFormDirty method works. Didn't find description of it in SDK, got couple samples from internet, but still not clear. What I'm trying to achieve: I want to mark form like it has some Unsaved Changes.
function SomeFunction()
{
alert(Xrm.Page.data.entity.getIsDirty());
Xrm.Page.data.setFormDirty(true);
alert(Xrm.Page.data.entity.getIsDirty());
}
In both alerts I'm getting False. Looks like I'm using setFromDirty method in a wrong way. If so, any other suggestion?
Or the only way it's to change some field on the form, so it will be marked for AutoSave?
Thanks in advance.
*This post is locked for comments
I have the same question (0)