-
Notifications
You must be signed in to change notification settings - Fork 15
Tutorial 9
PhuocLe edited this page Aug 27, 2018
·
12 revisions
- When a lead qualified, send an email (with an email template) notification to all team members of the current user belong to teams
- Finish Tutorial 1: Plugin
- Finish Tutorial 2: Unit Test Plugin
- Finish Tutorial 3: WebResource
- Finish Tutorial 4: Unit Test WebResource
- Finish Tutorial 5: Custom Workflow
- Finish Tutorial 6: WebApiClient
- Finish Tutorial 7: Custom Action
- Finish Tutorial 8: Plugin and Unit Test Plugin
This tutorial is the combine of these tutorials: 5, 6, 7, 8 that make the final solution the customer want
- User create a new lead then send an email to all team members
- If user has security role "Qualify Lead", they can see the button "QUALIFY"
- User click button "QUALIFY", it create Account and Contact then redirect to Account created
- Process "QUALIFY" should copy field Field1, Field2, Field3 from lead to account
- When lead qualified then send an email to all team members
- Hide
4
button in theHomepage
ofLead
entityMscrm.HomepageGrid.lead.ConvertLeadAs
Mscrm.HomepageGrid.lead.ConvertLeadAs.Web
Mscrm.HomepageGrid.lead.ConvertLeadQuick
Mscrm.HomepageGrid.lead.ConvertLeadQuick.Web
- Hide
4
button in theForm
ofLead
entityMscrm.Form.lead.ConvertLeadAs
Mscrm.Form.lead.ConvertLeadAs.Web
Mscrm.Form.lead.ConvertLeadQuick
Mscrm.Form.lead.ConvertLeadQuick.Web
- Copy button
-
Mscrm.Form.lead.ConvertLeadAs
and paste as namepaz.Mscrm.Form.lead.ConvertLeadQuick
-
Mscrm.Form.lead.ConvertLeadQuick.Web
and paste as namepaz.Mscrm.Form.lead.ConvertLeadQuick.Web
-
- Edit
Customise Command
of2
buttonpaz.Mscrm.Form.lead.ConvertLeadQuick
,paz.Mscrm.Form.lead.ConvertLeadQuick.Web
- Add
enable rule
-
Id
:paz.lead.EnableRule.HasRole
- CustomRule
-
Default
:True
-
FunctionName
:isNaN
-
Library
:$webresource:paz_/lib/WebApiClient.js
-
- CustomRule
-
FunctionName
:formLead.HasRole
-
Library
:$webresource:paz_/entities/Lead.js
-
String Parameter
:Qualify Lead
-
-