Answered by:
Open a Selection Screen

Question
-
Hi Everybody,
I'm currently facing an Issue whit a solution I'm creating.
I'm will call a javascript via a button or .net plugin, this code will send values to a webservice which will send me back different possibilities.
How can I create a prompt with kind of selectbox to let the customer select his choice?
Best regards,Gaëtan Fisse
Wednesday, February 12, 2014 6:49 AM
Answers
-
Hi,
With a plugin you have no chance to open a window for the user. The better solution is to call the JavaScript function from a ribbon button, then use the REST endpoint to retrieve data. Then, based on the retrieved data you could open your own window, form or dialog. Have a look at this or this link or use the SDK examples.
- Proposed as answer by Payman BiukaghazadehEditor Wednesday, February 12, 2014 9:12 AM
- Marked as answer by Payman BiukaghazadehEditor Tuesday, February 18, 2014 1:00 PM
Wednesday, February 12, 2014 9:12 AMModerator -
Hello,
As suggested above, you can use JS code for this requirement, you can develop a html web resource where you can design your html page according to your requirement and use js to call CRM or custom webservice to get result for you.
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 Payman BiukaghazadehEditor Wednesday, February 12, 2014 12:53 PM
- Marked as answer by Payman BiukaghazadehEditor Tuesday, February 18, 2014 1:00 PM
Wednesday, February 12, 2014 12:45 PMModerator
All replies
-
Hi,
With a plugin you have no chance to open a window for the user. The better solution is to call the JavaScript function from a ribbon button, then use the REST endpoint to retrieve data. Then, based on the retrieved data you could open your own window, form or dialog. Have a look at this or this link or use the SDK examples.
- Proposed as answer by Payman BiukaghazadehEditor Wednesday, February 12, 2014 9:12 AM
- Marked as answer by Payman BiukaghazadehEditor Tuesday, February 18, 2014 1:00 PM
Wednesday, February 12, 2014 9:12 AMModerator -
Hello,
As suggested above, you can use JS code for this requirement, you can develop a html web resource where you can design your html page according to your requirement and use js to call CRM or custom webservice to get result for you.
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 Payman BiukaghazadehEditor Wednesday, February 12, 2014 12:53 PM
- Marked as answer by Payman BiukaghazadehEditor Tuesday, February 18, 2014 1:00 PM
Wednesday, February 12, 2014 12:45 PMModerator