24 May 2013

Orchard CRM - A concept of Dynamics CRM Portal Solution

The purpose of this article is to introduce a portal solution for Microsoft Dynamics CRM; The concept can be used on other business software + portal, such as ERP, SCM etc.

From the solution perspective, there are two types of portal:
  • Stand-alone Portal - this is a dedicated portal website for CRM, it handles all CRM users security access, CRM interactivity, portal users authentication and authorisation etc.
    Example for this stand-alone portal solution: the CRM SDK has a portal sample from AdxStudio, which fits in  this solution. You can even manage the portal website within CRM - it treats CRM as a CMS system.
  • Integrated Portal - this is an existing website with CRM portal integration, the website manages its own security access and users, CRM portal is an add-on functionality that handles the CRM interactivity.
    Example for this integrated portal solution: Imagine you have an existing company website that needs accept customers order, feedback etc. and send these requests into CRM directly. You might also want the customers can interactive with some CRM data.
The solution I'm going to introduce is the latter. It uses Orchard as the host website, then add CRM portal as an add-on function (call "Module" in Orchard, which effectively is an "Area" in ASP.Net MVC. ) on the website. This is not the how-to article about Orchard, but here's some background information of why I choose Orchard as the host for the CRM portal solution. The whole solution can sit on any .Net hosting provider, such as Windows Azure.

So let's call it "Orchard CRM" from now on - start with Orchard:

Orchard

In short, Orchard is a free, open source CMS system that built on the cutting-edge version of ASP.Net MVC platform  (that's what I really like about Orchard). It can be extended using "Modules" ( majorly on the functional side) and "Themes" (majorly on the look&feel side).

Orchard Project Mission

Install Orchard 

You can install Orchard locally using the following ways:
  • Install it using the Microsoft Web Platform Installer.
  • Install it from Microsoft WebMatrix as shown in Working with Orchard in WebMatrix.
  • Download the Orchard .zip file and install it as described in Manually Installing Orchard Using a zip File.
  • Enlist in the Orchard source code and build Orchard from the command line or in Visual Studio.
Note: You can also quickly build a Orchard site in Windows Azure website gallery directly.

Build a default Orchard site from the source code

If you want to write your own module or modify an existing module like Orchard CRM, you need the Orchard source code.
  1. Download Orchard source file and extract to a local folder, i.e. D:\Orchard.Source.1.6.1\
  2. Use Visual Studio to open the solution file: D:\Orchard.Source.1.6.1\src\Orchard.sln
  3. Build the solution, then Run it - it will load the Orchard website "Get Started" page.
  4. Type in the site information then click the "Finish Setup" button. The default Orchard site is now created.
  5. You can mange the Orchard site by clicking the 'admin' link on the bottom.
Default Orchard Site

Install and Configure the CRM module

You can install a module via the Admin Dashboard by clicking the "Dashboard" link on the homepage, or just type in the URL, i.e.: http://localhost:30320/OrchardLocal/Admin ,

In the Admin Dashboard, click the Modules link on the left navigation bar, then click the "Gallery" tab, search for "Dynamics CRM".

Then click the "Install" link, after the module has been installed, click "OK" to enable the module.
Now, you should see the "Dynamics CRM" menu under "Setting". Click the link and then input the CRM connection string, for example:
  • CRM Online: "Server=https://crmurl/yourorgname; Username=domain\crmservice; Password=servicepassword"
  • CRM OnPrem: "Server=https://crmurl/yourorgname; Username=domain\crmservice; Password=servicepassword"

Finally click the "Save" button on the bottom.
I suggest you create a brand new CRM instance (or use the CRM Online trial) to run it first.


Orchard CRM Setting
Now the CRM module has been enabled and configured, try to browse the following link to see if it works: http://localhost:30320/OrchardLocal/DynamicsCRM

Because this is the first time you run Orchard CRM and there isn't any data in the CRM system, so the page will relocate to the /DynamicsCRM/Account view, so you can input your information, and save it. Once saved, a Contact record will be auto-generated with all information you input on the page, as well as the user identifier value (Orchard User ID).
Orchard CRM - Profile Page
So next time, when you login to Orchard CRM, your profile will be identified.
Dynamics CRM - Contact

Add Navigation Item

The following CRM functions are available in this module (v1.0)
  • My CRM Profile - My profile in CRM, url: /DynamicsCRM/Account
  • My Cases - My cases in CRM, url: /DynamicsCRM/Case
  • My Customers - My sub-contacts in CRM, url: /DynamicsCRM/Customer
  • Orders - Orders from me and my sub-contacts, url: /DynamicsCRM/Order
  • Articles - All published CRM articles, url: /DynamicsCRM/Article
You can add navigation menu for them on the homepage. On the Admin portal, click the Navigation menu, then add "Custom Link":

Orchard Navigation
 Type in Menu text and Url, then click "Save". (repeat this step to add all links)
Orchard Menu Item
On the Navigation page, click "Save All".

The module can be downloaded here (open source NuGet package): https://gallery.orchardproject.net/List/Modules/Orchard.Module.DynamicsCRM

Note: this is an open source package I built for the the community and demo purpose; you can extend the functionality and enhance the security further to support your business case.

In the next post I will discuss the application design of the Orchard CRM.



51 comments:

Daniel Cai said...

Excellent stuff, gotta check out sometime, thanks for sharing.

CSurieux said...

Interesting work but you use Orchard as a simple MVC application...

Unknown said...

Good stuff, Thanks..

Boonyasak said...

Interesting , But I have some Issue about Microsoft.Identify that say is wrong version..
Can you help me please .

Boonyasak said...

Now, I have no problem and fixed it already.


http://www.microsoft.com/en-us/download/confirmation.aspx?id=17331

Anonymous said...

Hi Wang,

Nice Article on Dynamics CRM Portal Solution .Thanks for sharing this information .





Dynamics CRM Developers

Jose A said...

I followed your instructions and the module installed successfully. Thank you. Now, would you kindly post the approach you followed to implement the module? That would be very helpful.

Unknown said...
This comment has been removed by the author.
Unknown said...

hi ,
if i want to run in my localhost , What should i put in the crm connection string ? and what is this crm connection string for ?
thanks

Sterco said...

Nice post. Thanks for sharing with us.


crm it solutions

Unknown said...

Microsoft dynamics California helps you in marketing and customer relation.

Unknown said...

Every interesting help to understand the Business software solution about CRM portal and concept of portal solution.

Unknown said...

Every interesting help to understand the Business software solution about CRM portal and concept of portal solution.

Unknown said...

Hi! Jim
Great project! just have an issue with seeing CRM tab after installing it. I had enable it and disable it but still wont show as an active tab. Any advice?
Thanks!

Unknown said...

Hi! Jim
Great project! just have an issue with seeing CRM tab after installing it. I had enable it and disable it but still wont show as an active tab. Any advice?
Thanks!

CRM Software said...
This comment has been removed by the author.
CRM Software said...
This comment has been removed by the author.
Unknown said...

very nice blog

Unknown said...

I really appreciate spending some time to talk about that, I believe firmly regarding this and so really enjoy understanding more about this kind of subject.This is also a very good post which I really enjoyed reading. It is not everyday that I have the possibility to see something like this. CRM Software || MLM Software in Mumbai || ERP Software || System Software in Mumbai

Unknown said...

Keep up the fantastic piece of work, I read few blog posts on this web site and I believe that your site is real interesting and has lots of great information. ERP Software in Mumbai || System Software || CRM Software in Mumbai || MLM Software

Unknown said...


I am sure this post has touched all the internet viewers,its really really pleasant piece of writing on building up new weblog.
Application development company

KAMRAN AFZAL said...

Hi, great work.
I am very new to this, i have one question :
Is it possible to deal with Lead Entity, from this module or by modifying some thing in the code.

Quân Đào said...

học kế toán thực hành cấp tốc
học kế toán thực hành cấp tốc
học kế toán thực hành tại cầu giấy
học kế toán thực hành tại thanh xuân
]học kế toán thực hành tại hà đông
học kế toán thực hành tại long biên
học kế toán thực hành tại long biên
học kế toán thực hành tại hải phòng
học kế toán thực hành tại bắc ninh
học kế toán thực hành tại tphcm
học kế toán thực hành tại quận 3
học kế toán thực hành tại hải phòng
học kế toán thực hành tại bắc ninh
học kế toán thực hành tại bình dương
học kế toán thực hành tại biên hòa
học kế toán thực hành tại vinh
học kế toán thực hành tại vinh
học kế toán thực hành tại huế
học kế toán thực hành tại đà nẵng
học kế toán thực hành tại đà nẵng
học kế toán thực hành tại đà nẵng
học kế toán thực hành tại hải dương
học kế toán thực hành tại hưng yên
học chứng chỉ kế toán
học kế toán ở đâu tốt

Rose Maria said...

How to start a small business?
Guide for small business

Anonymous said...

excellent information provided by you it's amazing. online crm software

bondcleaningtime said...

I truly appreciated this wonderful blog. Make sure you keep up the good work. All the best.Bond cleaning brisbane

Sreelatha said...

Thank you for sharing this post. OPAL CRM Software for Insurance Company

Marfa Technologies said...

Amazing blog.
This is a nice article which is good informative for me. Thanks for sharing.
CRM software solution dubai

Unknown said...

nice blog...Crm software for small business

Aruna Ram said...

Superb content, This is very helpful for gain my skills and keep posting...
Unix Training in Chennai
Unix Training Fees in Chennai
Advanced Excel Training in Chennai
Oracle DBA Training in Chennai
Tableau Training in Chennai
Oracle Training in Chennai
Unix Training in T Nagar
Soft Skills Training in Chennai
JMeter Training in Chennai
Appium Training in Chennai

Радомир Эра said...

If you had financial problems, then it is time for you to smile. You only need to contact Mr. Benjamin  with the amount you wish to borrow and the payment period that suits you and you will have your loan in less than 48 hours. I just benefited for the sixth time a loan of 700 thousand dollars for a period of 180 months with the possibility of paying before the expiration date. Make contact with him and you will see that he is a very honest man with a good heart.His email is lfdsloans@lemeridianfds.com and his WhatApp phone number is + 1-989-394-3740 

Anonymous said...
This comment has been removed by the author.
divya said...

Amazing Post. keep update more information.keep it up guys thnak a lot guy
Ai & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai

Anonymous said...

It is really amazing and thanks for sharing this.

Bis Consultant

Jesmin Alaiya said...

Nice blog! Blog is very informative and useful for everyone. BRJ provides completely secure and reliable CRMSoftware, has gained enough attention from the best industry experts and is still performing efficiently in providing one-stop solutions to various small and medium sized business houses.

Huongkv said...

Mua vé máy bay tại Aivivu, tham khảo

Vé máy bay đi Mỹ

mua vé máy bay đi sài gòn

vé máy bay tết 2020 sài gòn hà nội

vé máy bay đi đà lạt bao nhiêu tiền

máy bay từ mỹ về việt nam

thuê xe đi sân bay nội bài

Sumit said...

Great! Thanks for the valuable information shared with clarity. I have read your post which is very helpful, this blog improved to my knowledge, if someone wants to know more about link building services

Unknown said...

DataLinks Is Focused On Increasing Sales with the help of multiple tools like Dynamics Marketing, AI, and Internate of things. Datalinks helps you to connect with your customer, Forecast customer need and apply different strategy to grow your business.

Pisces said...

I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. crm for small business

Dr Sandeep jha - Liver Specialist Delhi said...
This comment has been removed by the author.
childspecialistnoida said...

www.drnalinagarwal.com
"Address- Ayushman Medicare,
D 83, Sector 26, Behind Nithari Police Chowki, Noida 201301, Uttar Pradesh, India"

Best Child Specialist in Noida
Best Pediatrician in Noida
child doctor near me

dr abhishek mishra said...

dr sudhir kumar is best general surgeon in noida .he is the piles doctor in noida and best hernia surgeon in noida.he is best doctor for anal fistula treatment in noida .if you are searching for anal fissure treatment in noida then click on https://www.drsudhirkumar.in

Dr Sandeep jha - Liver Specialist Delhi said...
This comment has been removed by the author.
Cyberz Pc said...

i'm incapable of reading articles online particularly frequently, however Im happy I did nowadays. it is selected adroitly written, and your points are adeptly-expressed. I demand you harmoniously, entertain, dont ever lower writing. Free Reimage Repair License Key

Cyberz Pc said...

i'm incapable of reading articles online particularly frequently, however Im happy I did nowadays. it is selected adroitly written, and your points are adeptly-expressed. I demand you harmoniously, entertain, dont ever lower writing. Reimage Repair License Key thankssss

dr sandeep jha said...

dr sandeep jha is the Best Gastroenterologist in Delhi and Best Gastroenterologist in Dwarka.He is the best Gastro Doctor in Manipal Hospital and Liver Doctor in Delhi Dwarka also.he is the Best Sugeon in Manipal Hospital Delhi.www.drsandeepjha.com Dr Sandeep Jha | Liver Transplant Hospital in Delhi | Fatty Liver Treatment | Best Gastroenterologist in Dwarka, Delhi
Room no. 55, OPD 2, Floor 1, Manipal Hospital Delhi, Sector 6 Dwarka, New Delhi, Delhi 110075 map address https://www.google.com/search?q=dr%20sandeep%20jha%20manipal%20dwarka%20delhi&rlz=1C1CHBF_enIN882IN882&oq=dr+sandeep+jha+manipal+dwarka+delhi+&aqs=chrome..69i57j33i160l5.7436j0j7&sourceid=chrome&ie=UTF-8&tbs=lrf:!1m4!1u3!2m2!3m1!1e1!1m4!1u2!2m2!2m1!1e1!2m1!1e2!2m1!1e3,lf:1&tbm=lcl&sxsrf=ALiCzsZnn32ADcr0pAftV4tiDxhpjqwPqQ:1655122244703&rflfq=1&num=10&rldimm=1929827512193080281&lqi=CiNkciBzYW5kZWVwIGpoYSBtYW5pcGFsIGR3YXJrYSBkZWxoaUjn6ZL2_rOAgAhaORAAEAEQAhADGAAYARgCGAMYBBgFIiNkciBzYW5kZWVwIGpoYSBtYW5pcGFsIGR3YXJrYSBkZWxoaZIBB3N1cmdlb26aASRDaGREU1VoTk1HOW5TMFZKUTBGblNVTXlkbVF0YTNkblJSQUKqASUQASohIh1kciBzYW5kZWVwIGpoYSBtYW5pcGFsIGR3YXJrYSgA&ved=2ahUKEwiHhtLrsqr4AhWfSmwGHVSGAl4QvS56BAgWEAE&sa=X&rlst=f#rlfi=hd:;si:1929827512193080281,l,CiNkciBzYW5kZWVwIGpoYSBtYW5pcGFsIGR3YXJrYSBkZWxoaUjn6ZL2_rOAgAhaORAAEAEQAhADGAAYARgCGAMYBBgFIiNkciBzYW5kZWVwIGpoYSBtYW5pcGFsIGR3YXJrYSBkZWxoaZIBB3N1cmdlb26aASRDaGREU1VoTk1HOW5TMFZKUTBGblNVTXlkbVF0YTNkblJSQUKqASUQASohIh1kciBzYW5kZWVwIGpoYSBtYW5pcGFsIGR3YXJrYSgA;mv:[[28.598682999999998,77.2178718],[28.5304924,77.0611838]];tbs:lrf:!1m4!1u3!2m2!3m1!1e1!1m4!1u2!2m2!2m1!1e1!2m1!1e2!2m1!1e3,lf:1

Artem said...

Hi, thanks for sharing this informative article
visit us for some online engineering course
Online AUTOCAD Course in Hyderabad
STAAD PRO Online Training in Hyderabad
Ansys Workbench Course in Hyderabad Chennai, Kerala, and Bangalore with Certification
Online Ansys Course in Hyderabad Chennai, Kerala, and Bangalore with Certification
Hypermesh Online Course in Hyderabad,Chennai,Kerala, and Bangalore with Certification

Thomas smith said...

PayPal alternatives security is a crucial aspect to consider when choosing a payment gateway for your business. While PayPal has robust security measures in place, other payment gateways have their own unique security features.

Anil said...

Advanced topics in STAAD. Pro, offered by APTRON, delve into the intricacies of structural analysis and design software. These advanced courses are tailored for professionals and students seeking a deeper understanding of this powerful tool.

Digital Arnav said...

APTRON Solutions in Noida is the ideal place to embark on your journey to becoming a skilled STAAD.Pro professional. Our holistic training approach, experienced instructors, and industry-focused curriculum set us apart as a leading STAAD. Pro Training Institute in Noida. Don't miss this opportunity to advance your career in structural engineering. Enroll today and take the first step toward a brighter future in the field. Your success starts here at APTRON Solutions.

Commercial Noida said...

Ace YXP

Fairfox EON

Splendor Onyx Blue

Golden I

Golden Grande