Microsoft CRM Dynamics, Microsoft Dynamics 365, Microsoft Dynamics CRM, Power platform

Nested gallery not returning more than 500 records in canvas app

Recently we were using a nested gallery in Canvas app and displaying some data from CDS(Dataverse/ Dynamics CE).

Although connection to CDS is delegable i.e. under the hoods the connector grabs more data as it is displayed on the canvas app but that is not the case if you are using a nested gallery.

Our data set had a max of 1400 records, so for us what worked is a global setting on the app.

The setting is defaulted to 500, you can find it in the settings area of the Canvas App:

The max it can be increased to is 2000

Update of this setting helped us fetch all 1400+ records.

PS: If you have more than 2000 records, then you have to fall back on implementing pagination(Get 500 records at a time and then get the next 500 on trigger of an event.)

CRM, Microsoft CRM Dynamics, Microsoft Dynamics 365, Microsoft Dynamics CRM

Querying entity/attribute metadata in Dynamics 365 from browser

We all usually go to a solution or the customization area to see the entity metadata, may it be attributes or properties related to the entity like auditing etc.

There are also tools that a lot of developers use like the Entity metadata browser, which is a solution that you install in your environment and can browse through the metadata in an easier manner.

What I find most productive is to query the metadata from the browser itself by forming the URL specific to the entity I am looking for.

So let’s say I want to see what all attributes/fields which are available on the account entity, here’s the URL that I would use:

https://{Organization base URL}/api/data/v9.1/EntityDefinitions(LogicalName=’account’)?$select=LogicalName&$expand=Attributes($select=LogicalName;)

This is how the output would look like:

You can use any JSON formatter of your choice to better present the data if you want:

Hope it helped :-)!

Dynamics 365 Field Services, Field service, Microsoft Dynamics 365 Field Service, Microsoft Dynamics CRM

Scheduling dependent requirements using RSO in Dynamics 365 Field Service

As part of the April 2020 wave 1 release for Dynamics 365 Field Service you can now have dependent requirements and these can be scheduled in sequence using RSO (Yes this feature is not available for manual or any bookings done using schedule assistant).

You can define relationship between requirements using the successor relationship of a resource requirement

Once you define the the relationship between the requirements and run RSO, RSO is going to schedule the requirements in sequence and the same would reflect on the schedule board too. This is how it’s going to look like on the schedule board:

Dynamics 365 Field Services, Microsoft CRM Dynamics, Microsoft Dynamics 365, Microsoft Dynamics 365 Field Service, Microsoft Dynamics CRM, Resco Field service Mobile

Connecting to your D365 Field Service instance from Field service mobile app

If you are trying to connect to your Field service instance using the FS mobile app you need to first setup the Field service mobile configuration tool (a.k.a. woodford) , install the Default base mobile template project and then derive a customizations project which would hold your Mobile customizations.

This can be setup following the guide on Microsoft docs:

But even after following the guide if you try connecting to FS mobile, you may end up getting few errors.

Your organization has not created a Bookable Resource for your account and set it to be “Enabled for Field service Mobile”

The issue here is that if you want to access FS mobile app, your user account should have a corresponding Bookable Resource with “Enabled for Field service Mobile” flag checked.

Here I have created a Bookable resource and enabled it for FS mobile:

Once you setup the Bookable resource, try to connect to FS mobile app again, you may get another error message:

Your organization needs to configure Field Service Mobile. There may not be a published mobile project or the mobile project is not configured for a security role assigned to you.

If you remember while setting up the FS Mobile project in woodford, the project was enabled for Field Service related Security roles, you need to make sure the User trying to login to the FS mobile app has at least one of those security roles. Once you give FS related security role to the user you should be able to access FS mobile app.

Happy Field servicing 🙂

Dynamics 365 Field Services, Field service, Microsoft Dynamics 365 Field Service, Microsoft Dynamics CRM

Not able to see Requirement groups on the schedule board – Dynamics 365 Field service

If you are working with Requirement groups and want to schedule them using the schedule board and not able to find them on the board, you are at the right place.

Resource requirements don’t appear on the Schedule board by default, it has to be configured from the Schedule board settings area.

Let’s see how to do it:

If you see the default Schedule board, there’s no view configured for Requirement groups. Click on the Schedule board settings icon:

Go to Requirement Panels settings area:

Add a view by selecting View type = Requirement Group

You should now see another view for scheduling Resource Requirements

Microsoft CRM Dynamics, Microsoft Dynamics 365, Microsoft Dynamics 365 Field Service, Microsoft Dynamics CRM

Restricting resources for customers in Dynamics 365 Field service

I have used Preferred Resource for Accounts in Field services a lot many times, which basically means that you can configure if the customer has some preferred resources and it helps the dispatcher to schedule those resources (if available) for a better customer experience.

Recently I came across how to configure if the customer doesn’t want a Resource to be allocated for their work orders.

How we do it is using the same Resource Preferences records but instead of choosing “Preferred ” preference type we use “Restricted”.

Adding Resource preferences:

Create a Resource preference of type “Restricted”

On schedule assistant, the restricted preferences will be applied and the resources would be filtered on the scheduled board if they are Restricted for a customer.

Dynamics 365 Field Services, Microsoft CRM Dynamics, Microsoft Dynamics 365 Field Service, Microsoft Dynamics CRM

How to show Crew on the schedule board in Dynamics 365 Field Services

If you have configured Crews in Field Services and trying to figure out why they aren’t showing on the Schedule board then you are in the right place.

The schedule board has few default filters and the default filter settings don’t have Crews configured to be shown on the board.

Let’s open the Filter settings in the board settings. Here is what the default settings look like:


Let’s open the Filter layout and scroll down to see the section which lists various resource type ids that should be displayed on the board:



Now, if we want to add Crew to this list, we need to add another item with value 6 in this list. Here’s how the config looks after the change:



Save the config and give it a name and apply. You should now see Crews in the Resource type in the filter pane:




Dynamics 365 Field Services, Microsoft CRM Dynamics, Microsoft Dynamics 365 Field Service, Microsoft Dynamics CRM

Setup Work Hour templates in D365 Field services

Although setting up Work hour templates in Field services isn’t that hard but it isn’t very intuitive either.

The first step is to configure work hours for one of the Resources in the system.




Once you are done configuring work hours for a resource, you can go to Work hour templates in Resource scheduling and create a new template using the resource you just configured in the previous step.





Next step is to apply the template to the resources in the system.


PS: You can apply the work hour template to maximum of 25 resources at a time, if there are more than 25 resources you’d have to do it in steps 🙂



CRM, Dynamics 365 Field Services, Microsoft CRM Dynamics, Microsoft Dynamics CRM

Not able to connect to D365 Tenant from Plugin registration tool

I recently created a new D365 CE Trial instance and was able to work with it.

However, when I tried connecting to it using Plugin registration tool, it failed to connect, giving an Authentication error(401).

Seems like there has been a recent change how Microsoft allows users to connect the CRM org.

Microsoft will support only TSL 1.2 or above going forward. So in case, you try connecting to your newly created org using an older version, you will get authentication issue.

Download the latest SDK tools using from the following link and try connecting again:


Dynamics 365 Field Services, Microsoft CRM Dynamics, Microsoft Dynamics CRM

Configuring Sync filters in Resco CRM Mobile app for Microsoft Dynamics 365 Field Services

Sync filters define what records should be synched in offline mode.

Basically only these records will be stored in local app DB.
In online mode, all records would be flown in as a stream, if you want to restrict them, either create view filter or select Apply sync filter in online mode for the view.