dont allow enduser to open phone call from contact.
-
2012. május 8. 7:23
hi i have a custom entity(website) 1:N on contact form
when user create a phone call activity if this contact has a website i dont want to allow enduser to open phone call from contact.
how can i perform this task?
thx for reply.
Crm Software Specialist
Az összes válasz
-
2012. május 8. 7:46
HI devcrm,
You can create a plugin and register it in the pre stage of the create event in the phonecall entity, if the contact has a website then throw an exception with a descriptive message. If you want to learn more how to create a plugin you can read this article http://msdn.microsoft.com/en-us/library/gg695782.aspx.
Regards,
Damian Sinay -
2012. május 8. 8:06
HI devcrm,
You can create a plugin and register it in the pre stage of the create event in the phonecall entity, if the contact has a website then throw an exception with a descriptive message. If you want to learn more how to create a plugin you can read this article http://msdn.microsoft.com/en-us/library/gg695782.aspx.
Regards,
Damian Sinaycan i use fetchxml query ?
can i control it by using js?
Crm Software Specialist
- Szerkesztette: devcrm 2012. május 8. 8:20
-
2012. május 8. 8:26
Hi devcrm,
If you are in CRM 2011 you better use ODATA if not you can use fetchxml.
Regards,
Damian Sinay -
2012. május 8. 11:13
Hi devcrm,
If you are in CRM 2011 you better use ODATA if not you can use fetchxml.
Regards,
Damian Sinayis there any example about odata in crm 2011?
Crm Software Specialist
-
2012. május 8. 11:55can i use plugin on load event?(on form load)
Crm Software Specialist
- Szerkesztette: devcrm 2012. május 8. 11:55
-
2012. május 8. 15:45
Hi,
You can find samples of ODATA with javascript in the CRM SDK in the sdk\samplecode\js\restendpoint folder, you can download the SDK from http://www.microsoft.com/en-us/download/details.aspx?id=24004
Regards,
Damian Sinay -
2012. május 8. 15:48
Hi,
You can use a plugin and attach to the Retrieve message which would fire in the onload event.
Regards,
Damian Sinay -
2012. május 8. 16:08Moderátor
Would this plugin be executed during opening of creation form?Hi,
You can use a plugin and attach to the Retrieve message which would fire in the onload event.
Regards,
Damian SinayMicrosoft CRM Freelancer
My blog (english)
Мой блог (русскоязычный)
-
2012. május 9. 6:30
can we execute plugin on form load? i am not sure about that?Hi,
You can use a plugin and attach to the Retrieve message which would fire in the onload event.
Regards,
Would this plugin be executed during opening of creation form?
Damian Sinay
Microsoft CRM Freelancer
My blog (english)
Мой блог (русскоязычный)
Crm Software Specialist
-
2012. május 9. 6:53
Hi Andrii,
No, it won’t work for new records but it will for existing records.
Regards,
Damian Sinay -
2012. május 9. 6:54
Hi devcrm,
Only for existing records you can use plugins on the retrieve message, but not for new records.
Regards,
Damian Sinay -
2012. május 9. 6:57
Hi devcrm,
Only for existing records you can use plugins on the retrieve message, but not for new records.
Regards,
Damian Sinaywhich is the easiest way to perform this task using fetchxml,Odata or whatelse?
hi i have a custom entity(website) 1:N on contact form
when user create a phone call activity if this contact has a website i dont want to allow enduser to open phone call from contact.
Crm Software Specialist
- Megjelölte válaszként: devcrm 2012. május 9. 12:19