tag:blogger.com,1999:blog-3205106077896157207.post4950474375780768360..comments2023-05-19T07:02:41.549-07:00Comments on Dynamics 365: Multi Select Checkbox in MS CRM 2011 using JavaScriptRavi Vakalapudihttp://www.blogger.com/profile/03277179478801302292noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-3205106077896157207.post-29506061294355279652017-07-05T06:02:19.988-07:002017-07-05T06:02:19.988-07:00This is not supported as we are using dom in this ...This is not supported as we are using dom in this scenario. But Microsoft is releasing CRM 9 (next version) mostly in july end, in that release they are introducing multi select control. Hope this will helps. <br />Ravi Vakalapudihttps://www.blogger.com/profile/03277179478801302292noreply@blogger.comtag:blogger.com,1999:blog-3205106077896157207.post-40901605082188965982017-06-14T12:06:32.477-07:002017-06-14T12:06:32.477-07:00Is this a supported method?Is this a supported method?Anonymoushttps://www.blogger.com/profile/07890720416059488194noreply@blogger.comtag:blogger.com,1999:blog-3205106077896157207.post-76245922619898977162016-07-05T12:42:02.457-07:002016-07-05T12:42:02.457-07:00Hi ravi ..am trying multiselect from optionset.
A...Hi ravi ..am trying multiselect from optionset.<br />Am getting error "cannot read property 'nextsibling of null at onsave "<br /><br />Anonymoushttps://www.blogger.com/profile/01355234994622145868noreply@blogger.comtag:blogger.com,1999:blog-3205106077896157207.post-78717365236943517132015-10-24T08:35:53.203-07:002015-10-24T08:35:53.203-07:00Because we are storing all the selected values in ...Because we are storing all the selected values in a hidden field, we need to save the form before refreshing. Is it still throwing an error even after save?Ravi Vakalapudihttps://www.blogger.com/profile/03277179478801302292noreply@blogger.comtag:blogger.com,1999:blog-3205106077896157207.post-37020654170618727512015-10-20T20:35:02.705-07:002015-10-20T20:35:02.705-07:00I have done everything mentioned above, however, w...I have done everything mentioned above, however, when i refresh the form with the checkbox, all of my selections are cleared, with the a error message saying dynamics crm encountered a problemAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3205106077896157207.post-21837715218597473382015-02-04T14:19:55.178-08:002015-02-04T14:19:55.178-08:00I might be doing something wrong but is there any ...I might be doing something wrong but is there any way to have the form read the value field OnLoad to re-check the options you had set already set as although they are being stored as text the table clears each time I open the form?Barry Lowenoreply@blogger.comtag:blogger.com,1999:blog-3205106077896157207.post-91764037929717899992014-09-04T10:22:44.574-07:002014-09-04T10:22:44.574-07:001. I would like to see the code to help you on thi...1. I would like to see the code to help you on this error.<br />2. Picklist itself will give you the option of selecting only one option at a time. But if you want this code to allow the user to select only one option then it requires a bit code change. Let me if you still have that requirement. Ravi Vakalapudihttps://www.blogger.com/profile/03277179478801302292noreply@blogger.comtag:blogger.com,1999:blog-3205106077896157207.post-38239621664568809592014-09-04T10:17:44.960-07:002014-09-04T10:17:44.960-07:00Thank you.Thank you.Ravi Vakalapudihttps://www.blogger.com/profile/03277179478801302292noreply@blogger.comtag:blogger.com,1999:blog-3205106077896157207.post-11559030492386091572014-09-04T10:17:14.893-07:002014-09-04T10:17:14.893-07:00Ideally it won't support. It needs an extra ef...Ideally it won't support. It needs an extra effort from developer for reporting in this scenario.Ravi Vakalapudihttps://www.blogger.com/profile/03277179478801302292noreply@blogger.comtag:blogger.com,1999:blog-3205106077896157207.post-80035316575617217592014-08-18T01:07:32.557-07:002014-08-18T01:07:32.557-07:00Thanks.. it's really Help FullThanks.. it's really Help FullAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3205106077896157207.post-91454072597290300602014-08-13T04:52:57.356-07:002014-08-13T04:52:57.356-07:00Thanks for the code, it worked fine for the first ...Thanks for the code, it worked fine for the first "multiline text type field (checkbox)" and the first "option set type field". Please help me with two more doubts or errors:<br />1. While I tried to create second "multiline text type field" and the second "option set type field" the same way, in the same form, I got an error message like "unable to get the value of the property 'getElementsByTagName' : object is null or undefined".<br />2. In the created "Multi Select Checkbox", I can select more than one option at a time but I would like to select only one option maximum at a time.Anonymoushttps://www.blogger.com/profile/04192010099736650644noreply@blogger.comtag:blogger.com,1999:blog-3205106077896157207.post-79885794705225527842014-07-24T11:54:08.035-07:002014-07-24T11:54:08.035-07:00Excellent work! I am new to coding in Java script....Excellent work! I am new to coding in Java script. Hence found it very useful. <br /><br />I made the following changes. <br />1) The first check box that should be getting the value from the option set was empty . So I made the following change in<br /><br /> // Initialise checkbox controls<br /> for (var i = 1; i < OSX.getOptions().length; i++) {<br /><br />--Changed the var i = 0<br /><br />2) When I select a check box , the value did not get added into the text field. Instead the selected value got added as a new check box value. SO i made the following change in the OnSave function :<br /><br /> var var_sc_optionsetvalue = "new_multipicklistoption";<br /><br />changed to <br /> var var_sc_optionsetvalue = "new_multipicklistvalue"; <br /><br />With this change I obtained my requirements. <br /><br />Thanks for the code.B.kahttps://www.blogger.com/profile/16642358049660966294noreply@blogger.com