Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

replacing old code in a library

$
0
0

Noob here...trying to find out what is wrong with a single field.

I'm using the following in a library to forcesubmit a calculated field that is read only:

crmForm.all.new_estprofit.ForceSubmit = true;

Since the latest update the calculated read only field is not saving. It looks find when I click save but when I open up the Opportunity later the field is blank.

 

I've read up on the issue and found I need to use the following:

Xrm.Page.data.entity.attributes.get("<fieldname>").setSubmitMode("always");

Can I use this object in the same library or do I have to create an entirely new library for it? Any assistance is appreciated. Since I am new to much of this please let me know if you need clarification.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>