Windows Service calling a CRM form
-
Tuesday, February 26, 2013 12:59 PM
I would like to know if it's possible to open a CRM page of any entity I want (Including the custmized Entities) from a Window Service, I've been searching in everywhere but I couldn't find an anwer yet.
Can anyone help me?
PS: I'm working with a Online CRM 2011.
Thanks in advance.
All Replies
-
Tuesday, February 26, 2013 4:26 PMModerator
Hi,
MsCRM 2011 is a web application where every form have it's own address, so you should be able to open form by referring their address, just you need to make sure you are able to access your crm online organization and how you are going to handle log-ins, refer this post it will help you to launch crm 2011 form.
HTH
Contact Me
Follow me on Twitter
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. -
Tuesday, February 26, 2013 5:20 PM
Thanks for your answers, you cleared my mind!
Now, I'm trying to connect a Windows Form Application with the CRM ONLINE, but I just find how to do this with a Asp net Project. I don't even know if it is possible actually. I already made this connection using Console Application, I think if it is possible it should be almost the same way. Would you give me another idea?
Thanks
-
Wednesday, February 27, 2013 11:49 AM
Hi Bruno,
What do you want to accomplish? Normally, a Windows service would consume the organization service endpoint of CRM, not the form url's.
The CRM SDK contains quite a number of examples on using this endpoint from .NET code.
Regards,
Henk
If this post is an answer or helpful, please do not forget to vote!
-
Wednesday, February 27, 2013 12:19 PM
Hi Henk,
I will try to explain you.
My Problem: That Windows Service will keep monitoring a parameter (Phone Number) an when it has some value for example 1111-2222 It will make a saerch in Contact, Account or any other Entity I want, If it finds something an contact for example It'll open that register, else it'll create a contact or anything else I want.
Resolution: Create a Windows Service which will keep monitoring the current computer where it was installed.
Was I clear?
As you can see I don't speak english very well yet, I'm sorry for that.
Thanks
-
Wednesday, February 27, 2013 1:45 PM
Is it correct the service must present the record, which it found or created in CRM, to a user?
Henk
If this post is an answer or helpful, please do not forget to vote!
-
Wednesday, February 27, 2013 4:19 PM
We're working work with calls, when this service finds any call (Another process) We have to open the register related with this number or even create one.
Step by Step
1- Henks calls to the enterprise.
2- A Serviçe that we are not talking about will receive this call and redirect it to some especific computer for example to Bruno's Computer.
3- At Bruno's computer will run this WINDOWS SERVICE that is waiting for a parameter, receiving this parameter (A phone number ex: 1111-2222) it will search for a record in CRM that contains this number (Our Bussines Rules) and if find something it will open this record if not, It will probably open a new Record that we will define...
My question is! Is it possible to do it?
Thanks for your attention Henk!
-
Wednesday, February 27, 2013 9:45 PM
Hi Bruno,
This sounds like a CTI solution (Computer Telephony Integration). There are several CTI addons in the market for Dynamics CRM. If you want to build CTI into CRM yourself, I would advise you to look for examples of SignalR and push notifications.
I think Windows services will not serve your needs.
Best regards,
Henk
If this post is an answer or helpful, please do not forget to vote!
-
Thursday, March 14, 2013 2:37 PM
Thanks for you attention Hank!
I gave up this idea. I will try working with WPF.
Regards,