Configure Sales Hub from Centralized Location (General Settings Section added) for Dynamics 365 for Sales – 2020 Release wave 1

With 2020 Release wave 1 we have a new General Settings section add to App Settings for Dynamics 365 for Sales for easy configuration of the app from a centralised location.

In 2019 Release wave 2 à

There is no general setting section.

In 2020 Release Wave 1 à

We have the General Settings section added to App Settings

Below are the different configuration options available as a part of it.

  • Auto creating records for newly qualified leads

This feature was added as part of Release 2019 wave 2, which lets the Administrator configure which records to be created Account, Contact, and \ or Opportunity. Get more details below.

https://nishantrana.me/2019/11/22/lead-enhancements-in-dynamics-365-for-sales-2019-release-wave-2/

  • Custom fields on Opportunity Close Dialog Box.

In 2019 Release Wave 2 à This feature was added which finally allowed adding custom fields to Close Opportunity Dialog box.

https://nishantrana.me/2019/11/22/customize-opportunity-close-dialog-box-dynamics-365-for-sales/

  • Enhanced Email

In 2019 Release Wave 2 à The new feature added pop-up email window for the user to refer the main record. Get all the details below.

https://nishantrana.me/2019/11/23/contextual-email-communication-in-dynamics-365-for-sales-2019-release-wave-2-unified-client/

  • Business Card Scan

In 2019 Release Wave 2 à This feature allowed scanning of the business card, which auto-populated the configured fields in the form.

https://nishantrana.me/2019/12/23/scan-business-cards-in-dynamics-365-for-sales-2019-release-wave-2-unified-interface/

The PDF generation capability is available for additional entities earlier it was only available for Quote with version 9.0.1911.1009 of the product.

More on this

https://docs.microsoft.com/en-us/dynamics365/sales-enterprise/enable-pdf-generation-quote

  • Microsoft Team Integration

  • LinkedIn Integration

Check other blog posts on

  • Release 2020 Wave 1

https://nishantrana.me/2020-release-wave-1/

  • Release 2019 Wave 2

https://nishantrana.me/2019/12/31/dynamics-365-2019-release-wave-2-blog-posts/

Hope it helps..

Email template enhancements in Dynamics 365 for Sales – 2020 Release wave 1

With 2020 Release wave 1 we have new features added to email templates selection, which makes it more intuitive and easier for the users to pick the correct template.

In 2019 Release wave 2 à

Clicking on the Insert Template button will open up a dialog box to specify language and search for the template.

In 2020 Release wave 1 à

Clicking on the Insert Template button will open the Email Templates Dialog box which will list down templates for selection based on the recipient selected.

And if we have 2 different types of recipients it asks us to select the recipient first to populate the template accordingly.

Search option lets us filter the templates further

We can also preview the messages before applying the template.

Also click on the Email button on the Activities window, opens the new email form as model dialog

This slideshow requires JavaScript.

Also check out

Opportunity Product enhancements in 2020 Release wave 1

https://nishantrana.me/2020/02/10/opportunity-products-enhancement-in-dynamics-365-for-sales-2020-release-wave-1/

Hope it helps..

Opportunity Products enhancement in Dynamics 365 for Sales – 2020 Release wave 1

With 2020 Release wave 1 we have new features added to the experience of adding opportunity product (product line items) to an opportunity, which makes it easy to search, explore and add multiple products at once.

In 2019 Release Wave 2 à

Clicking on Add Product button

Opens the new opportunity line form

With 2020 Release wave 1 à

On click on Add Product button, we get the Add Opportunity Products dialog box.

Which lets us

Search à

See more details of the product à

Select multiple products à

See the recently used products for quick accessà

Add write-in products à

View all the selected products and remove them if required using the delete icon and to add multiple products through the Add to Opportunity button.

The above features are only for Opportunity Products, for Orders, Invoices and Quote it will still open the corresponding create form for creating/adding the record.

Also, check out the enhancements added to Products in the previous version

https://nishantrana.me/2019/12/28/opportunity-quote-order-invoice-product-related-enhancements-in-dynamics-365-for-sales/

And

Email Template enhancements in 2020 Release wave 1

https://nishantrana.me/2020/02/11/email-template-enhancements-in-dynamics-365-for-sales-2020-release-wave-1/

Hope it helps..

Microsoft.Crm.CrmException: Property ‘x’ isn’t declared on the control manifest in Microsoft Dynamics 365

We got this error while trying to save the form which uses the PCF Control.

This was because the name of the property was changed

And the updated solution was imported, while the control on the form was still referring to the old property name.

Fix is straightforward, remove the field using that control with old property name from the form and save the change.

Hope it helps..

PCF Control to show Twitter Likes Timeline

In the same line as Profile Timeline PCF Control, we can use the same concept to create a control that shows likes timeline that displays the recently like tweets of a specific public Twitter Account.

More on this

https://developer.twitter.com/en/docs/twitter-for-websites/timelines/guides/likes-timeline

Here we have specified the public twitter account nishantranacrm in this case, it will show all the tweets that are liked by that profile.

We can have both the Profile Timelines and Like Timelines control for the profile that we are interested in for a lead, contact or account record.

Get it here

https://github.com/nishantranacrm/PCFTwitterLikesControl

Hope it helps..

PCF Control to show the Twitter profile timelines

Created a simple PCF Control to show the twitter timelines for the profile. It basically uses embedded tweets.

Get the control here

https://github.com/nishantranacrm/TwitterPCFControl

Simply enter the twitter profile in the text field and it will render the latest tweets of that profile.

Inside an account form à

For the contact record à

Embedded timelines make it extremely easy to embed the Tweets on a web page.

We can navigate to publish.twitter.com to generate the code.

Here I have searched from my profile, which then next gives us the display options to select.

Here we selected the Embedded Timeline display option, which generated the code for us.

The code that we are using inside our PCF Control.

Read more about it here

https://developer.twitter.com/en/docs/twitter-for-websites/timelines/overview

Hope it helps..

Best resources to start with Power Apps Code Component (PCF)

There are so many outstanding blogs, videos out there for learning PCF, below my favourite resources for someone who is just starting with development of Power Apps custom code components

https://debajmecrm.com/2019/04/26/in-depth-end-end-walkthrough-develop-your-custom-controls-using-power-apps-component-framework-and-use-it-on-your-crm-interface/

https://powermaverick.dev/2019/05/18/create-custom-controls-using-powerapp-component-framework/

https://www.xrmvirtual.com/meeting-details/?id=766fc80b-70cf-e911-a860-000d3a537884

PCF Academy 

Thanks Debajit, Danish , Andrew Butenko and Roohi

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/community-resources

and after you have developed an awesome component submit it here

https://pcf.gallery/

Thanks to Guido for managing it.

Very simple PCF Control to show Gravatar

The Gravatar or globally recognised avatar is basically an image associated to our email id, which appears besides our comments, blogs posts, sites etc.

https://en.gravatar.com/site/implement/

To request an image of Gravatar, we need to first calculate hash of the email id and pass it to the URL

The format à

https://www.gravatar.com/avatar/{HASH}

e.g.

https://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50

https://en.gravatar.com/site/implement/images/

Using this information, just created a PCF control for single line of text – email type that will show the Gravatar associated to it. It was more from learning perspective than trying to implement a business case or requirement.

This is how the control looks like within the form.

For another email id, it shows the corresponding avatar image.

For cases where there are no gravatar associated it shows the default image

And as we are using it for the email type of text field, the usual validation provided by the platform works seamlessly.

Get the tool here

https://github.com/nishantranacrm/GravatarPCFControl

Hope it helps..

Configure Customer lookup to show either contacts or accounts in Canvas Apps

Debajit's Dynamic CRM Blog

Happy new year to all my blog readers and this is my first blog of 2020. And how about starting with a simple one and that too on canvas apps!

So this was my customer requirement. They were designing a canvas app for their business users which was basically kind of contact management. And while designing the contact edit form, they needed to show a form similar to the below one.

image

important fields to consider in the above screenshot are “Parent entity” & “Is company contact”.

Parent Entity field is nothing but the Company name (parentcustomerid) field of the contact. “Is Company Contact” is a custom field of type boolean.

In short the requirement was if that if the contact is a company contact, then the Parent entity field should allow users only to select Accounts else it should allow users to select only contacts. We…

View original post 287 more words

Advanced condition builder in Power Automate (Microsoft Flow)

Was just exploring the advanced condition builder added to the Power Automate (Flow) beginning of the last year.

The new conditional builder makes it very easy to write complex conditional logic compared to using expressions.

We can easily add row (conditions) and group them

The row (condition) can be grouped by either And or Or.

To simplify the view, the group can be collapsed.

The group can be deleted, moved up or down along with ungrouping.


For complex expression, we use the regular Dynamic Content expression builder to enter in the left side of the row as shown below.

Example of its usage – https://nishantrana.me/2020/01/02/using-power-virtual-agent-and-power-automate-flow-to-create-a-simple-bot-for-cases-in-dynamics-365-for-customer-service/

Total 10 conditions can be added after which the option of adding more option gets disabled.

We can add a group as the 10th row and again add conditions in that row.

Similarly, 10 group as row can be added

Similarly, we can have 5 nested groups

The below post by Benitez Here explains it best, and includes comparison with the workflow designer.

http://benitezhere.blogspot.com/2019/02/flow-condition-builder-how-tos.html

Hope it helps..