You are currently browsing the category archive for the ‘Dynamics CRM’ category.

As it stands right now, the CRM and former AX functionality has been wrapped under the Dynamics 365 umbrella. All nice, but with the changes made to the former Dynamics AX to bring it to a modern state, and a cloud model, the old style integrations have to be “adjusted”.

As announced by Microsoft, there is an integration planned, but few month into the new platform, we’re not seeing it just yet.

The roadmap site, at roadmap.dynamics.com is now publishing some details on the expected functionality. The integration is described under the heading “Prospect to cash integration of Dynamics 365 for Sales and Dynamics 365 for Operations”. As you can see, it now all follows the business functionality model familiar to the platforms.

The proposed integration leverages the somewhat recently released Common Data Service. If you still don’t know what that is, see the description HERE.

The idea of this proposed integration is to allow users to start the sales process in Dynamics 365 for Sales, and complete the order fulfillment on Dynamics 365 for Operations. This leverages both platform functionalities for their strengths. Or does it? Let’s look at the details available so far.

Accounts and Contact

For both Accounts and Contact, the plan is to sync these records from Sales to Operations.

Nagging question here being what happens if these records get updated on the Operations side, or simultaneously on both sides? No details yet.

Workaround is to have editable access only on the Sales side, and read-only on the Operations side. As such, financial or operations users must have a Plan 2 license most likely, or possibly get away with a Team Member license for light usage. For additional licensing implications see the licensing guides, as linked to in THIS earlier post.

Product Catalog

This is to be maintained in Operations, and synchronized back into Sales.

Question here is how bundles and packaged offerings for up-sell are going to be handled. An assumption is that these groupings will be created and maintained on the Sales side, which means that a user managing products must use both Sales and Operations for maintaining the product catalog. Or maybe have a team/user maintaining the products in Operations, and another team/user managing bundles and sales artifacts on the Sales side.

Again, licensing implications, as well as additional coordination between the platforms and/or users/teams.

Possibly 3rd party products might actually help here a little? There’s an opportunity.

Quotes

These are actually following the same model as in the previous versions with the integration. Quotes are fully created and managed on the Sales side.

One could argue why even synchronize them into Operations, but this is in line with the old model where you could jump to the former AX either at the Quote or the Order level. See the next paragraph on Orders.

Orders

Now it looks like the recommendation is to proceed all the way to the order generation in the Sales module, and then sync to Operations at the Order level. This should be ok for most situations.

Invoices

Invoices are to be generated and processed, as expected, on the Operation side. No issues here. They are to be synchronized back to Sales for visibility, so I would see the Invoice records as a complete read-only on the Sales side. The financials implications of changing an invoice can not really be handled on the Sales side to begin with, so there is no real reason to have these records editable on the Sales side.

Conclusion

While this puts us on the right path, somewhat, it is far from ideal for the following reasons:

Licensing implications could possibly require users to hold a more expensive license to be able to handle a complete business flow along with related needs.

This only covers a standard sales process. As soon as you step outside of this model, the amount of work involved could easily become similar to simply starting from scratch. This is just an assumption right now, we’ll see.

While leveraging the Common Data Service has it’s advantages, including the use of Flow and Power Apps, you now have data in flow in 3 places that must stay in sync. This brings up the next point.

Real-time or near-real-time possible issues. As discussed in Accounts and Contact, if you don’t lock the data on one side to be read-only, simultaneous updates to the same record, in Sales, Operations, etc. applications, could potentially result in unexpected results and overwrites. A robust solution with proper record locking on one side when edited on the other side becomes essential. The roadmap description does not hint to any of this. This is potentially the biggest problem here.

In the “Fast implementation” heading of the article, one work sticks out: templates. This begs the question: is this really going to be a production ready option? Or are we back to the “template” integration options available with the old versions, which almost all the times needed to be extended? Or maybe 3rd party solutions fill-in the gap? There’s an opportunity for 3rd party vendors here too.

Until additional details become clear, let’s look at this as what it’s described to be. A possible scenario, that is. A “template”.

Enjoy!

Advertisements

I’ve just done recently an install on-premise where I’ve encountered a number of issues. One of them is the following error message:

Action.Microsoft.Crm.Setup.Common.InstallWindowsSearchAction failed.

The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)

image

The message is pretty explicit, in that a service is not started. Turns out, after a little investigation, that for some reason the SQL Server Service as well as the SQL Server Agent Service are off. This could be the result of a failed SQL update I just got previously, or some other issue. Simply setting these services to Automatic and starting them allows the installation to proceed further with no issue.

image

No, you do not have to restart the installation, just make sure the services are running properly.

Smooth sailing afterward.

Enjoy!

I recently reviewed an ideation platform, and looking at the new features added to Dynamics CRM 2016 Update, the Feedback features caught my attention.

Starting with the latest update, we now have a built-in entity called Feedback. Here’s the official documentation:

https://msdn.microsoft.com/en-us/library/mt728949.aspx

So, now we can not only collect feedback, but also rate records. And this applies to all records in the system, both system and custom, where enabled.

Enable entity for Feedback

First step is to enable an entity for feedback. The easy way (you can do it programmatically too) is to navigate to the solution storing your entity definition, and on the entity property tab to find the Communication & Collaboration section on the General tab. You will find there the option to enable Feedback.

Note that for new entities, this is enabled by default. If you don’t use it, make sure to disable it. I would not want that enabled for most entities probably, so I think it should be off by default.

image

Note also that this is one of the options that, once enabled, it can not be disabled.

Configuration

Once you have this feature enabled, you will find in your entity the relationship to feedback, as seen below:

image

Observe that, by default, you can track feedback from both internal and from an integrated portal, if you have one. So far, this serves me well for the ideation platform.

Within the feedback record, you can first observe that, by default, there is in place the ability to have the status as Proposed or Accepted. This is nice, as you can enforce an approval process for feedback, and only take into consideration approved feedback. This can be beneficial for feedback from public, captured from a portal.

image

The rating is what I was looking for. It is by default just a text field, but you can enforce rules to make sure you only capture the format you need. Let’s say I want to have a rating on the portal with 5 stars, so I’m only going to capture a value from 0 to 5.

Now that I can capture feedback and rating, I want to roll-up the rating. I want to display on the idea record the average of all ratings from the feedback.

On the Idea entity, I can add a simple roll-up field. I defined it as a Whole Number Rollup field, and added the following definition:

image

And once it’s saved and published, I modify the default idea form to add this field, and the default view to add this column.

Result

Looking at a record view of ideas, now I can quickly see the ratings, sort and filter by rating, etc. And all this without a single line of code. Sweet!

image

Enjoy!

A new feature introduced with Dynamics CRM 2016 Update on both online and on-premise is the ability to use word templates. This makes simple reporting a lot easier now, as well as provides assistance with various data print jobs. A very welcomed feature added.

But let’s have a look at what this is and how to use it.

One common question back in the day was: How do I print this record? Can I just do a print? Do I do a print screen?

Not any more. Now, with a simple template, we can print a nicely formatted record, showing exactly the information we need, in a layout that’s pleasant to both users and customer.

The process involves a few steps. Let’s have a look at the steps involved:

  • Create a template
  • Define the template (design)
  • Upload the template to CRM
  • Generate a document (test before you release)

Creating a Word template

The first step is the creation of a Word template. This is a process we start from within Dynamics CRM. Navigate to More (…) > Word Templates.

image

From the fly-out menu select Create Word Template.

Follow the prompts and select Word for template and the entity you started from. Next slide in the wizard shows you all the relationships active on the selected entity. This is a very important part of the wizard. Select the relationships you intent to use to bring into your template data fields from related record. You should understand the data model for Dynamics CRM.

If you only need to bring into your template data fields from the current record alone, nothing needs to be selected here.

Once done, click on Download Template and save it locally. Now comes the editing part.

Define the template

With the template provided saved on your machine, now it’s time to define how the final output will look like. You can make it as fancy as you need, your knowledge of Word editing being the limit.

When you open the template file you downloaded, it will show you a blank page. That’s normal!

Next, enable the Developer tab in Word. You do that from File > Options > Customize Ribbon.

As all new products, a few issues are documented by Microsoft as possibly causing crashes. They are:

  • Auto-correct – might lead to freezes when customizing word templates. Turn off auto-correct if that happens.
  • Content types – use only plain text or picture.

On the Developer tab find and select the XML Mapping option. Make sure to select from the drop-down the correct schema as seen in the screenshot below:

image

Create your page design using tables, images, headers and footers, etc. Introduce the CRM data fields at the correct locations from the XML Map.

When you are satisfied with the layout and format, you are ready to push the template back to CRM and make it available to users.

Upload the template to CRM

Now here comes the flexibility. You do not have to be an admin to use this template yourself. You can actually create your own custom templates, and use them yourself.

If you want to make the templates available to all users, you need to either be an admin, or have an admin perform the template load for you.

As a user, to load the template for personal use, you follow the same steps we covered in extracting the base template from CRM. You navigate to a record. This defines the record type for the template. From the Create Word Template wizard select Upload and load your template. Once done, this template will be available for you to use on any record of that selected type.

In order ta make a template available to all users, as an admin, go to Settings > Templates > Document Templates and upload the template there.

This makes it available to all users that have permissions to use it.

Generate a document

As mentioned before, always test before you release. You can test by loading the template for yourself only first. Once you are satisfied with the output, load it through the Documents Template menu in Settings.

Now you have a nicely formatted way of printing records. All users of Dynamics CRM should take advantage of this feature to create nicely formatted print-outs for reporting or for customer communication.

Enjoy!

Preview features are constantly being added to Microsoft Dynamics CRM Online, and as old ones roll into full features, new ones take their place. As such, this is one of the areas I like to keep an eye on to see what’s coming.

We enable preview features by navigating in our Dynamics CRM instance to Settings > Administration > System Settings. Find the Previews tab and check the “I have read an agreed to the license terms” checkbox, as seen below.

0003-01

Once you have that enabled, you can start selecting the features you want to enable. I’m going to focus now on the Organization Insights Preview feature. The feature description is available at

https://technet.microsoft.com/library/mt703628.aspx

In a nutshell, this is a new dashboard that allows us to get insights into the key CRM metrics for your organization. This feature was added as a preview with Dynamics CRM Online 2016 Update 1.

Like all preview features, this might not be complete, fully functional, and is not meant to production use. With that in mind, there is no real risk in adding a new dashboard to the organization, if used sparingly and only by the administrators of the organization.

With the feature enabled, go into any of the modules to the Dashboards section and find in the dropdown the Organization Insights Dashboard. Once selected, you are presented with a screen similar to the one below.

0003-02

As you can see, it’s a standard layout with 6 sections, just like the default dashboard. You can find this dashboard now in the organization listing of dashboards, as you can open it in edit mode. But this is where the similarities end.

The six charts displayed are not editable. First indication on the difference is the way they render, with a JavaScript fly out when hovering over elements that’s quite different from the standard dashboard experience. I would expect that this the result of the feature being in preview, and it will be aligned with the rest of the system.

You can create new dashboards, or edit this existing dashboard. You can change the order of the elements, remove them and re-add them by clicking on a section and selecting from the toolbar the Organization Insights button or the new icon, as seen below.

0003-03

So, if you remove one chart, not all is lost. You can re-add it, just not as a regular chart (that’s where I looked first).

Looking at the individual charts, we have the ability to filter the data by the time intervals provided of 2 hours, 48 hours and 30 days. Nothing in between for now.

Interesting enough, each chart has a help link at the top right in the form of a question mark in a blue circle. They all lead to the same TechNet help article located at:

https://technet.microsoft.com/library/mt703628.aspx

There you’ll find a description of each chart, as well as a description of the data aggregation intervals for each time filter criteria.

The default selection for time interval filtering is set at 2 hours (2H). Even if you try to change it when creating or editing the dashboard, once you publish it defaults back to 2H.

Likes:

  • I like how the fly-outs are bordered with the same color border as the element highlighted. This makes it so much easier to read.
  • I like the rendering and responsiveness of these new charts.
  • I like the ability to select the loopback (time filter) period.

Looking forward to:

  • Ability to customize the charts and create new ones. You are really limited to 6 out of the box right now.
  • Ability to customize the Lookback. It would be nice to not only change the lookback intervals, but default specific lookbacks per chart.
  • Remove the link to help. This is fine for a preview feature, I hope it’ll be removable once ready for production, especially since all point to the same article.
  • Refreshing it defaults you back to 2H lookback. This is really annoying.

We’ve always had to resort to all kind of tweaks to generate any kind of administrative dashboard. This is a good step in the right direction. Once this feature is completed, this kind of dashboard would be invaluable in a command and control center monitoring the environment. Throw it on a screen on the wall and have almost real-time data.

Enjoy!

 

One of the most common question driven by the push to Cloud is: How do I get my on premise accounts working with the cloud services I am using now?

From the perspective of Microsoft Dynamics CRM, but not only, SMBs typically have an on premise infrastructure, with a local Active Directory setup. For those that have not yet embraced Office 365, but want to take advantage of Microsoft Dynamics CRM, this process might seem a little daunting. Yet, it needs not be.

Directory integration is the way to tackle scenarios where an on premise directory service needs to integrate with Microsoft Azure Active Directory, aka Microsoft Azure AD. Some of the benefits touted by Microsoft for this hybrid deployment scenario are:

  • Simplified administration
  • Streamlines sign-in experience
  • Unified administration experience for both user and device identities
  • Unified application administration
  • Leverage single sign-on to cloud based solutions

Specific scenarios are supported for a hybrid identity infrastructure. Choosing one of the supported scenarios depends on the type of service you want to offer your users. The following table provided by Microsoft at https://msdn.microsoft.com/en-us/library/azure/jj573649.aspx describes the difference between two common deployment scenarios. But let’s first have a look at the available options.

Directory sync

Directory sync (directory synchronization, DirSync) is the configuration that allows management of directory objects from your on premise Active Directory. The changes are synchronized up to your tenant.

The downside to this approach is that users will have separate user id and passwords between the on premise and cloud services. Not ideal, other than for unified administration experience.

 DirSync with Password Sync

As the next step up from plain vanilla directory sync, DirSync with password sync allows users to use the same username and password across all services, cloud based and on premise. This already makes life easier for users, by reducing the need to memorize another username and password. It also leverage the same unified administration experience, making it easy enough for administrators to deal with account changes.

DirSync with Single Sign-On

Taking the previous scenario a step further, in DirSync with single sign-on users not only use the same account and password, but seamless authentication with cloud services is available when locally logged in with the provided account credentials. This means no authentication prompts at all when accessing both local and cloud resources with your Active Directory account credentials.

The setup in this scenario is a little more complex, requiring the organization to have not only the typical on premise Active Directory, but also to provide a security token service hosted on premise. Typically this is ADFS (Active Directory Federation Services).

From a Dynamics CRM perspective, you will required this setup anyway if you intend to deploy your on premise hosted Dynamics CRM in an IFD (Internet Facing Deployment) scenario.

Multi-forest DirSync with Single Sign-On

Extending on the previous scenario, this scenario requires a similar setup, but offers synchronization across multiple forests. The Active Directory structure is comprised typically of a few logical components, including Organizational Units (OUs), Domains, Domain Trees, Forests. For details on the structure and components of Active Directory you can have a quick look at the following link, but it is advisable to talk to an AD expert for deployment/configuration.

https://technet.microsoft.com/en-us/library/cc759073(v=ws.10).aspx

With all this information in mind, when launching on the journey to extend your services to cloud, take into consideration what type of Hybrid Identity Infrastructure you need to implement. Err on the side of caution, and go with the minimum required scenario.

Toolset

Azure AD Connect is the newest kid on the block for hybrid integration tools. For an introduction to the tool, as well as a link to other tools comparison see the following knowledge base (KB) article in the official documentation:

https://azure.microsoft.com/en-us/documentation/articles/active-directory-aadconnect/

NOTE: This has been an awareness overview, always involve your AD Administrator or an AD expert when making any changes to your Active Directory infrastructure.

Enjoy!

With the release of Dynamics CRM 2016 Update 1, now we have the ability to add SLAs to all custom entities and selected system entities. Prior to this release, SLAs were only available to incidents represented by the Case entity.

The following system entities now support SLAs in addition to the Case entity:

  • Activity entities
  • Account
  • Contact
  • Invoice
  • Opportunity
  • Quote
  • Lead
  • SalesOrder

Enabling a custom entity for SLAs is done from the Entity Definition form. Scroll down to the Communication & Collaboration section, and find all the way at the bottom the check box for Enable for SLA (Fields will be created). Note that this is one of the settings that, once enabled, it cannot be disabled. Make sure you really need to enable SLAs on this entity.

0002-01

NOTE: The MSDN documentation at one point states that you must have Business Process Flows enabled on the entity in order to enable SLAs for a custom entity. This is not true, as you can enabled SLAs without having Business Process Flows enabled. There is no relationship between BPF and SLAs.

Once you have the configuration in place, go ahead and create the SLAs and the SLA KPIs as needed, same way you would have done it for a Case entity before. Choose the default SLA also. Alternatively, you can programmatically apply the correct SLA by setting the SLAid attribute based on a condition.

With SLA functionality, the following limitations are enforced in CRM Online:

  • Maximum 5 SLA KPIs per entity for active SLAs.
  • Maximum 7 entities will support SLAs at the same time.

One any of these limits is exceeded, you will be prompted with an error on activating the SLA.

Enjoy!

With the new update to Dynamics CRM, one the last outstanding issues with small footprint but big impact is the addition of a Customer field type. Where before we had to hack all kinds of approaches to reference either an Account or a Contact, now we can easily do it on any entity type. Hurray!

In order to add a Customer field, modify an existing form or create a new one, and add a new field. In the data type select from the drop-down Customer, as seen below.

0001-01

Once you do that, you can select the naming preference for the new relationships that are added. As seen in the screenshot below, new relationships are added to both the Account and Contact entities.

0001-02

Looking into the N:1 Relationships, you will find these new ones as seen below:

0001-03

With the field added to the form, we can now select either a Contact or an Account, as seen below:

0001-04

The Customer lookups that were already available on the following entities will remain the same, and function just as before:

  • Contract
  • Incident
  • Lead
  • Quote
  • Opportunity
  • SalesOrder

If you need to create this lookup programmatically, you can call new CreateCustomerRelationshipRequest message. For the technical details see the MSDN documentation available at:

https://msdn.microsoft.com/en-us/library/gg509035.aspx#BKMK_createcustlookup

For the class details see:

https://msdn.microsoft.com/en-us/library/microsoft.xrm.sdk.messages.createcustomerrelationshipsrequest.aspx

Enjoy!

Update: Book has been officially released. Find it either at Packt or at major online bookstore retailers.

My new book just became available for pre-order. Due to the great feedback received from the previous edition, I am releasing a new and improved version to the Dynamics CRM Customization book. This new edition includes coverage of the newly added features up to Dynamics CRM 2016.

BookCover

The book will be available through the usual channels. I will be adding more links here as they become available:

Packt Publishing

Amazon.com

Enjoy!Winking smile

One of the new features made available in preview is the Task Flow functionality. This applies to creating logical business flows to execute on mobile devices (both phones and tablets). One example provided in the documentation is the post-meeting steps to be executed after a client meeting.

The official documentation is available at:

https://www.microsoft.com/en-us/dynamics/crm-customer-center/preview-feature-create-a-new-task-flow.aspx

As per the note, a preview feature is not to be used in production, as it might not only change, but it might contain incomplete features.

In order to enable preview features, you must be an administrator. Go to Settings > System Settings. Find the Preview tab all the way to the right.

clip_image002

Here make sure you check the agreement check box, and then switch the Task Flows for Mobile Preview radio button to Yes. Click OK when done.

The provided steps in the documentation demonstrate how to create a new flow. Observe the following change to the process flow creation:

clip_image003

Once the process flow is created, the configuration interface is very similar to any other process flow. You have the usual features, like adding fields, steps, branching, pages etc.

On the Task Flow Details section, once you expand it, you can set an image and a description.

The paging concept is similar to that of a classic Dialog, where we guide the user through several screens to get to a final point.

Branching works again just like with other processes, where conditions are set to dictate the correct path to follow.

clip_image005

Don’t forget to Save and Activate the new process. It will show up in your My Processes/All Processes view, depending on the owner you assign.

clip_image007

With the Task Flow activated, once you refresh the mobile application it will be available to use.

clip_image009

The refresh will take a short while. Once it’s done, since we created this task flow on the contact entity, let’s navigate to a Contact. We can trigger the newly created Task Flow by selecting the symbol at the bottom-left of the screen.

clip_image011

Observe the image we selected appears as the background for our Demo task Flow. Select this flow. It will take you through the following screens.

clip_image013 clip_image015

That same image is in each form header. The title shows up right on top, as defined for each form.

Enjoy!

Microsoft Business Solutions MVP

Reviewed Book

Implementing Microsoft Dynamics 365 for Finance and Operations

Implementing Microsoft Dynamics 365 for Finance and Operations

Reviewed Book

Microsoft Dynamics 365 Extensions Cookbook

Microsoft Dynamics 365 Extensions Cookbook

Check out my Book

Microsoft Dynamics CRM 2016 Customization - Second Edition

Microsoft Dynamics CRM 2016 Customization - Second Edition

Check out my Book

Microsoft Dynamics CRM Customization Essentials

Microsoft Dynamics CRM Customization Essentials

Check out my Book

Microsoft Dynamics CRM 2011 Scripting Cookbook

Microsoft Dynamics CRM 2011 Scripting Cookbook

Reviewed Book

Microsoft Dynamics CRM 2011: Dashboards Cookbook

Microsoft Dynamics CRM 2011: Dashboards Cookbook

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 429 other followers

Follow TheCRMwiz on WordPress.com