Hi all,
When trying to perform a JS save in a custom entity, we are getting the following error:
"This form can't be saved due to a custom setting."
Here is the code on which i'm getting it:
formContext.data.refresh(true).then(
function ()
{
console.log("Success");
},
function (error)
{
console.log(error);
}
);
As you guys can see, the actual code is very simple and straight forward, however, since I need to perform a refresh right after the async save is done, the errorcallback is frecuently getting this error. Probably the most interesting point is the fact that the error is not always consistent. The only document that I found that mentions this issue is a MS Document which explains that this could be related to some fixes that are being done, but not sure if this still on progress, here is the link: https://support.microsoft.com/en-us/help/4523125/service-update-94-for-microsoft-dynamics-365-9-1-0. Also, looks like this happens when updating any field, as even by changing just the name the error is appearing. Last but not least, all plugins for this message are disabled.
Is there anyworkaround to fix this problem?
Thanks in advance!