Multiple ways to call azure function in Dynamics 365.


vikrants's avatarDynamic's 365 Blogs

Nowadays, multiple organizations are storing their data everywhere, it is in Cloud or On-premise and it is increasing day by day with the help of internet connectivity. Organizations are asking their developers to respond with highly-scalable solutions. Solutions that often require developers to implement on-demand or scheduled batch jobs to reconcile transactions, ingest and process data, or react to events in real-time. To accomplish this huge demand we have Azure functions.

Azure Functions is a serverless compute service that lets you run event-triggered code without having to explicitly provision or manage infrastructure.

Today we will see how to call an azure function from the below components.

  1. JavaScript
  2. Plugin & Custom Workflow
  3. Power Automate

  • JavaScript: There are many scenarios where we need to execute complex logic from the client-side code.

You can use below jquery code in your JavaScript to trigger azure function and you can also pass the expected parameter…

View original post 277 more words

How to set Date Picker as Blank (Null)- Canvas Apps / Dataverse


If no dates are selected the Date Picker control will display a default date.

This comes from the InputTextPlaceholder property

We can update the formula to set the field as blank.

If(IsBlank(Self.SelectedDate), Text(Blank()))

Hope it helps..

Advertisements

Enable email address validation (preview) in the Model Driven app / Dynamics 365


To enable the new email address validation feature (preview), log in to Power Platform Admin Center >> Settings >> Features >> Data Validation


Switch On – Data Validation. (Interestingly in one of the environments enabling this setting was enough to get the smart email validation working however in another environment had to enable the below settings as well to get that working)

Next open the Model Driven App in Maker Portal – App Designer and switch on  Enable Smart Email Address Validation Control 

EmailOn

Below we can see it validating the email address while we enter its value

We get the below messages

And this works for the email field in a custom entity as well.

Refer – https://learn.microsoft.com/en-us/power-apps/maker/data-platform/data-validation-email-column

Also, check the similar feature we have for Sales Hub App

Hope it helps..

Advertisements

Fixed – Exception in creation of lead (Dynamics 365 Marketing)


Recently we were getting the below error in one of our marketing forms for form submission record.

Exception in Creation of lead – Activity id: 40ff82fc-bb10-4d30-8671-12683392ccdf, Request id: AsChkx2zn5IKrjHVC4cTb6j-ZkB23D0PqgCdxwi8kEE_0, Exception: An item with the same key has already been added.

This was because we had mistakenly added first name fields twice as the form-matching attribute in the form-matching rule used for that form.

Deleting that extra field resolved the issue for us.

Hope it helps..

Advertisements

How to – Extend (Recover) the trial environment (Dataverse / Dynamics 365)


On logging into Power Platform Admin Center, we would see our trial environment as expired

And then within one day or so, we would see them deleted inside Recently deleted environments

Select the deleted environment and Select Recover

Within 10 -15 minutes we can see the environment recovered with the trial extended for 13 more days.

Hope it helps..

Manage Security Roles using the new modern UI (preview) – Power Platform Admin Center


Security roles can be now managed using the new modern UI (preview).

Select Security Roles (See all) for an environment, within Power Platform Admin Center.

Select Edit for a security role.

We can see here Display only parent security roles option is On by default.

We can see the different options.

  1. Filter based on table or privileges

2. Specify Member’s privilege inheritance option

https://learn.microsoft.com/en-us/power-platform/admin/security-roles-privileges#define-the-privileges-and-properties-of-a-security-role

Nicely explained here –

https://debajmecrm.com/team-members-privilege-inheritance-what-is-this-doing-in-security-role-screen-of-dynamics-365/

3. Tabs for Table specific, Miscellaneous, and Privacy-related privileges

4. Filter privileges further by all, assigned or unassigned.

5. Collapsible

6. Option to Copy Table Permission to another table(s) and apply predefined Permission Settings i.e. Access Levels.

Copy table permissions to multiple tables

Permission Settings (Access Levels)

7. Specify Access Level for Privileges

Get all the details here – Security Roles and new modern UI

Hope it helps..

Advertisements