Attachment Control – Dynamics 365


The new attachment control allows users to upload , download, delete, and view attachments that are added to a table through notes or emails or directly (for Case Table).

Below we have 2 attachments added to the case record.

We can see both the attachments there in the Attachments control along with an additional attachment directly added (Direct Upload) .

We can perform a search as well as change the view.

The Tile view –

The Delete option is only available in the case of files directly uploaded not the ones showing up from notes / emails.

For the Case table, the table column property is mapped to the Pre Create Entity Attachments Id field, which allows uploading attachments even before saving or creating the case record. (This is only available for the Case table)

Below we have uploaded attachments to a new case record.

We can add the Attachment Control to other tables as well.

Below we are adding it to the Contact form.

For tables other than Case, it can only be used to View the Attachments, we do not get the option to upload there.

Get all the details here

Due Open Activities Control – https://nishantrana.me/2023/05/09/due-open-activities-control-dynamics-365/

Notes Control – https://nishantrana.me/2023/05/10/notes-control-dynamics-365/

Hope it helps..

Advertisements

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..