“Does not contain data” filter in Advanced Find in Dynamics 365 July 2017 Update

With July 2017 Update in Dynamics 365, Advanced Find view now supports Does Not Contain Data filter for related record.

So basically, we can now write a query like “Find all the lead records which doesn’t contain any related task”. However, we cannot define any filter conditions for the related record though.

The other interesting thing that we observed that in the case of N – N relationships it throws exception.

For e.g. if we want to find all the contacts that are not associated to marketing list

We get the following exception à

Also,

The does not contain data filter isn’t available while defining marketing list members in marketing list.

Hope it helps..

Incorrect attribute value type System.String in Dynamics 365 (CRM)

We were getting the below error while creating an entity record through a C# Console Application.

This occurred because the code was trying to set string value to one of the decimal type field.

Parsing the string value to decimal and then setting it fixed it.

Hope it helps

MultiSelect Option Set in Dynamics 365

With July 2017 update, we can now finally create multi-select option set in Dynamics 365.

We can also use Existing Global Option Set while defining our Multi Select Option set.

This is how control looks within the form.

Within Advanced Find View

We can use the existing option set client-side methods on Multi Select Option Set.

https://msdn.microsoft.com/en-us/library/gg334409.aspx#Anchor_1

getSelectedOption() – for new_weekday multiselect option-set with value Thursday and Friday selected –

Hope it helps..

New View Designer inside App Designer in Dynamics 365 July Update

The Dynamics 365 July Update new includes a new View Designer.

It includes the drag and drop capabilities for adding columns from Primary or Related Entity.

Filter Criteria, Sorting and Column Properties can be defined in the same designer canvas without having to open a new window for that.

Filter Criteria :

Setting sorting and column properties.

Hope it helps..

Specify Web resource dependencies in Dynamics 365 July Update

For JavaScript and HTML Web Resource now we can define dependencies, this makes sure that all the required dependent resources are loaded properly.

For HTML and JavaScript, we can define dependencies on other web resources type like CSS, HTML, JavaScript Libraries, RESX and XML. In case of JavaScript Web Resource we can additionally define dependencies on attributes of a specific entity (selected) as shown below.

Hope it helps..

Tab got renamed after solution import in Dynamics 365 (CRM)

Recently after moving one of our managed solution from Dev to Test environment we started getting below Jscript error.

We figured out that error was getting created by this line of code.

The strange thing was that name of the tab was proper in Dev

However, in our Test it got added with the name tab_3 which caused the issue.

The reason I can see for this issue could be that we had multiple forms for that entity. And in one of the forms that tab name was tab_3, however, we weren’t using that form, it was inactive in our dev environment.

Hope it helps..