Hi
Can we get a list of updated fields on an entityform on Portal by using Javascript
Thanks
Hi
Can we get a list of updated fields on an entityform on Portal by using Javascript
Thanks
Hello,
I don't think that there is a OOB solution for this.
What you can do is, add a JavaScript where you add the onchange event on all the editable fields of the EntityForm and for each changed field, add its id/name to an array that you can loop them in a later stage.
Hello Moin,
I believe that you can create a ticket to MS support to ask them specifically for the Portal entity form.
Thank you
Hi Jean
i need the dirty fields on dynamics portal form not in CRM form
Hello Moin,
To get the dirty field, you will have to use this method
//get list of dirty fields
oppAttributes = Xrm.Page.data.entity.attributes.get();
if (oppAttributes != null) {
for (var i in oppAttributes) {
if (oppAttributes[i].getIsDirty()) {
listofDirtyAttri += oppAttributes[i].getName() + "\n";
}
}
}
You can find more here:
André Arnaud de Cal... 291,703 Super User 2024 Season 2
Martin Dráb 230,433 Most Valuable Professional
nmaenpaa 101,156