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

Saving the value of a selected optionset where the option set was dynamically built

$
0
0

I'm having problems with the following...

I can build a dynamic option set based on an onchange related to another field

unfortunately when the record is saved the option selected is not saved with the record. from what I've been able to determine it has something to do with even though the option set was created it's not really a part of the form.

The issue is that the option set has to be dynamic. I was wondering if I entered the text for each option via the form control (design) but during the onchange where I was building the complete option set  I now just update the values for each option. Would I then be able to save the selected option with the record?

I'm also noticing that anytime I try an Xrm related operation on any of the dynamically added options it acts as if they are not there.

                                                   Xrm.Page.getAttribute("bldgoptions").getSelectedOption().text;

Does not work if the selected option was also one of the dynamically added ones.

 

Thx for any ideas and help.

 

 

 


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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