Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all 64797 articles
Browse latest View live

Microsoft Dynamics 365 Schedule Board

$
0
0
Hi Everyone, I am going to discuss what is included in the Field Services Schedule Board Let's gets started. Schedule Board : Drag and drop interface for scheduling and rescheduling. Filter by Resource...(read more)

Microsoft Dynamics 365 Field Services Manual Scheduling

$
0
0
Hi Everyone, I am going to share information how the Field Service Manual Scheduling will work Field Service Manual Scheduling Schedule Board can be customized out of the box as you can see on the image...(read more)

Microsoft Dynamics 365 Field Services View Customizations

$
0
0
Hi Everyone, I am going to discuss about the various views on the Field Service Schedule Board. Lets get's started. View Configuration Options : 1) There is one default schedule board for the organisation...(read more)

Editing PowerBI Reports in Business Central

$
0
0
Having embed PowerBI in Business Central is well known fact, but recently in Fall ’18 release, Microsoft made it even better because now you have already added PowerBI reports on all pages where...(read more)

Creativity at its Peak… Business Analysis Workshops

$
0
0
As a principal consultant, my favourite part of any implementation is the analysis phase. The business analysis workshops are usually conducted as one of the first activities of a project. The client doesn’t...(read more)

Running Microsoft Flow from within Dynamics 365 CE

$
0
0

Wouldn’t it be great if you could trigger a Microsoft Flow from within the Microsoft Dynamics 365 CE? Well, we have been able to do that since the V9.0 release. Unfortunately there hasn’t been too much information about how to set this up and do it. If you go to the online docs and search for embed Flow in Dynamics 365 you will either get a page that shows you how to enable the Flow button for Dynamics 365 or this doc that sort of explains how to get a Flow to appear in the flyout menu within Dynamics 365.

But unfortunately, they are skimpy at best and in the case of the 2nd document listed, a little incomplete at best or a little incorrect as of the writing of this blog.

Here is the main piece of information you need to know.

Only Flows that start with the  COMMON DATA SERVICE TRIGGER WHEN A RECORD IS SELECTED will appear in the Flyout. Button Flows, Recurrence Flows or Flows that start with any other trigger type will not appear in the Flyout. Additionally, as you would suspect the Flow has to be enabled before it will appear.

Note: in a future blog post I will explain how you can get around this limitation of only Flows using ‘when a record is selected’ trigger.

Now to the fun part. I will show you a Flow I put together that a user can run from within Dynamics 365.

The scenario is that you want to be able to send a broadcast Text Messages (SMS) to Contacts on a Marketing List. We will use the 3rd party service Twilio and the existing standard connector to execute this process.

Here is what the Flow looks like (if it looks a little scrunched on your screen, click on it to get a bigger view):

Send Text Messages using Microsoft Flow

 

One of the challenges in creating this Flow is that there is a N:N relationship between the Contact entity and the Marketing List entity. And as a result we kind of have to do a double loop through the List Records Action to get the information from the List to the intermediary entity and then to the Contact.

Let’s break down each step of the Flow:

  1. When a record is selected – this is the first event in the Flow and this Trigger allows the Flow to appear in the Flyout. It is connected to the Common Data Service (CDS) behind the environment it is running in. It will also prompt the user to enter in the message they want to send to the SMS recipients.

Microsoft Flow When a Record is Selected Trigger

This is how the triggering event will present itself to the user. Pretty cool, Huh? Kind of like the old CRM Dialogs but not very pretty though,

Send SMS User Prompt

2. Get Marketing List – In this action we get info about the Marketing List we selected that we will use in later actions.

Microsoft Flow Get Marketing List

3. Using a Condition Check we make sure that we have selected a Marketing List that is of a Contact Type. If not it will send a failure notification to the user. Just a little sanity check that we didn’t pick a list that is composed of Accounts or Leads. Also, note that this Flow is assuming we are working with a Static list, modifying for it to use a Dynamic list will be blogged about in a future post. FYI, Contact is a record type ‘2’.

Microsoft Flow Conditional Logic

Since the dynamic value is a little cut off, here is the full name.

Microsoft Flow Marketing List Type

4. Now here is where we start dealing with the N:N relationship and it gets a little dicey. This would be so much easier if I was just demonstrating how to send a SMS message to a selected number of Contacts in a grid view. The first List records and  Apply to each is designed to get all the listmember records associated with the selected Marketing List. This is the intermediary entity relationship.

Microsoft Flow Retrieving N:N Relationship

5. Now that we have the records from listmember, we need to loop through and get all the Contact Records that are connected to the listmember records.

Microsoft Flow Retrieve N:N Relationship

6. Now the last step in data retrieval is to get the Contacts records themselves so that we can use attribute data from their records to send out the bulk SMS message.

Microsoft Flow Get Contact Attribute Data

7. Finally, we are ready to send out the SMS message. We will loop through each of the Contacts from the previous steps, grab their mobile phone number and send them an individual SMS.

Microsoft Flow Twilio SMS Connector

Wrap up – There is much room for improvement in this Flow. We should set it up so that it knows who the user is that is invoking it and using a Dynamic Value for the From Phone number and in the Condition logic the recipient shouldn’t be hard coded in the TO: email field, it should also be a Dynamics Value. We ought to be trapping for Contacts that don’t have a valid mobile phone number or who might have opted out of Text Messages. Saving some stuff for a future blog post.

The post Running Microsoft Flow from within Dynamics 365 CE appeared first on CRM Innovation - Microsoft Dynamics 365 Consulting and Marketing Solutions.

Convert URL to Short Bitly URL in Dynamics 365

$
0
0

When marketing website promotions or news to customers we typically send messages through appropriate channels such as email, LinkedIn or SMS messages. Usually these messages contain URL links to a website where more detailed information can be found on the promotion or news. These messages can contain URL links with more than 30 characters and having a long URL in a SMS message is not ideal when viewing on mobile devices.

A solution which we had added to the SMS Connector is to convert URL links within a SMS message to a short Bitly URL, this bitly URL opens the website once a user clicks on it.

image

Here are the steps required to convert a URL in Dynamics 365 to a Bitly URL:
1. Sign up for a free Bitly account at https://bitly.com/a/sign_up.
2. Navigate to the Settings area.

image

3. Click on your user icon to navigate to the Edit Profile area.
4. Click on Generic Access Token button to navigate to the Generic Access Token area.
5. Enter your password and click on Generate Token.

image

6. An access token will be generated, this token is required at the next step in order to generate the Bitly URL.

image

7. Create a HTTP GET request to the Bitly API endpoint.

image

8. The Bitly API endpoint will respond in the following HTT Response.
The body of the response will contain the Bitly converted URL.

image

The following is a C# method demonstrating how to generate a Bitly URL using standard .NET class and can be applied to Dynamics 365 plugins.

Limitations of Business Rule with Mobile App

$
0
0
Originally posted on Phani Rajasekhar : One of our customer reported that couple of Business Rules are not working in Mobile app which are working perfectly in Web application. Spent so much time to understand...(read more)

SSMS: Integration Services Catalog node not visible

$
0
0
Recently, while working on Azure SQL Server to execute SSIS package, we found a strange issue. We created the Azure SQL Server from Azure Portal. We designed the SSIS package using SSDT. To deploy...(read more)

Limitations of Business Rule with Mobile App

$
0
0
This is very informative Phani Rajasekhar One of our customer reported that couple of Business Rules are not working in Mobile app which are working perfectly in Web application. Spent so much time...(read more)

Power BI Desktop November 2018 Feature Summary

$
0
0
We have a massive Power BI Desktop update this month. Composite models, which allow you to combine direct query and import sources together in one model, is now generally available. Two of the top feature requests on UserVoice, expand/collapse on the ...read more

WPC 2018: Dynamics 365 Business Central is here and you should join me!

$
0
0
Yes… Dynamics 365 Business Central appears on the list of topics of the main Microsoft developer-oriented conference in Italy. From 27 to 29 of November, at Centro Congressi Milanofiori in Assago (MI)...(read more)

MB6-898 Use the Employee and Manager self-service features

$
0
0
The last point in the first of the four areas,  Understand the Dynamics 365 for Talent Environment (25 – 30%), is; Use the Employee and Manager self-service features Describe features for employee...(read more)

Getting Started With Kingswaysoft – Part Two

$
0
0
Now we will continue on from Part One of this series. Once you’ve indicated on the destination CRM environment that the error handling should go to an error output, you need to set where those errors...(read more)

Perform Retrieve using Alternate Key and SDK in Dynamics 365

$
0
0
Alternate keys have been implemented some time back and by now I think most of the consultants working with Microsoft Dynamics are familiar with the concept of alternate keys. In case you are new to...(read more)

Dynamics 365 Installation – Part 3 – Installing required components on servers

$
0
0
Open server manager from startup on dynamics CRM server and install these components. Restart required after this installation, so restart this server once That’s it!(read more)

Tip #1192: Quick Create for custom entities in Unified Interface

$
0
0

Remember the problems with viewing custom activity in Timeline? The unified monster

Do I need to sell my left or my right kidney to make the feature X work in Unified Interface?

is back. This time, Quick Create was not showing up for custom entities neither for me nor for Guido “Future Olive Farmer” Preite. False alarm. Make sure that

  1. Entity is enabled for Quick Create (it’s a subtle checkbox on the “classic” entity properties dialog)
  2. At least one Quick Create form is included in your app (using App Designer). Apps seem to be now not showing what’s not included.

Build: 9.1.0.638

(Facebook and Twitter cover photo by David Clode on Unsplash)

Microsoft Dynamics GP Documentation Now on Microsoft Docs

$
0
0

Microsoft Dynamics GPThe documentation for Microsoft Dynamics GP is being added to the Microsoft Docs libary. Some of the documentation is already there and Microsoft have announced that more will be addee through time. Hopefully, this will be accompanied by the documentation being brought up-to-date as much of it has not been updated since Dynamics GP 2013.

Microsoft have also opened the documentation for contribution by the community. The documentation is available for contribution via a public GitHub repo.

Read original post Microsoft Dynamics GP Documentation Now on Microsoft Docs at azurecurve|Ramblings of a Dynamics GP Consultant

Field Security Profile Issue

$
0
0
While working on Field Security Profiles, You may face issue. You user is created properly with proper role assigned to it. Field is also marked as “fields security” as true. And I...(read more)

Role based Canvas Apps

$
0
0
The inspiration for this post is this post from Geetha -> https://svaghub.wordpress.com/2018/11/03/role-based-security-in-powerapps-using-spgroups/ . The idea is to basically use Flow to check what...(read more)
Viewing all 64797 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>