Answered by:
CRM Dynamics 2011 : Display Message box during save action with YES-NO option using C#

Question
-
Hello,
I would like to ask how to create a message box with yes-no values in crm dynamics 2011 during save action. the scenario was, i have an entity named parts details and a related entity vendor details. during creation of parts detail record, i will select a related vendor detail record value on a look up. When saving the record there must be a message box that will show, containing the validity date of the vendor detail. if the user selected the YES value of the message box the system must be able to retrieve the vendor details information and display to the parts details entity. if NO has been selected the record will not be saved.
appreciate any response/support on this request.
thanks and regards,
Honey
Monday, October 28, 2013 8:00 AM
Answers
-
Above solution for JS only, Please check SDK it has sample code for using html webresouces under ("sdk\samplecode\js")
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.- Marked as answer by HIMBAPModerator Sunday, November 24, 2013 2:12 PM
Monday, October 28, 2013 8:40 AMModerator
All replies
-
Hello,
you can use JS confirm prompt to ask yes/no and can create a html webresource where you could write your logic to get vendor details and stop save event in ms crm 2011.
Check MS CRM SDK for creating html web resource.
HTH
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.- Proposed as answer by HIMBAPModerator Monday, October 28, 2013 8:10 AM
Monday, October 28, 2013 8:10 AMModerator -
hi,
im really new to crm dynamics 2011.. how can i create that using jscript. i have already a plugin for the same entity which is used for other requirements on the entity. how will i link the jscript to the plugin that once i save the record if one requirement was not met the record will not be saved.
thanks and regards,
Honey
Monday, October 28, 2013 8:31 AM -
Above solution for JS only, Please check SDK it has sample code for using html webresouces under ("sdk\samplecode\js")
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.- Marked as answer by HIMBAPModerator Sunday, November 24, 2013 2:12 PM
Monday, October 28, 2013 8:40 AMModerator