Sunday, February 17, 2019

How to download email attachment from Exchange Server

The EWS Managed API provides a simple and full-featured interface for developing and extending applications that use Exchange Web Services (EWS). Whether you are using Visual Studio or another code editor to develop your EWS Managed API application, you will need to make a reference to the EWS Managed API assembly. If you haven't installed the EWS Managed API already, be sure to download the API.

https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-reference-the-ews-managed-api-assembly

Add required parameters  as per your requirements

You can get the code from here

https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-get-attachments-by-using-ews-in-exchange


Thanks,
Uma

Sunday, February 3, 2019

How to change date format in the PowerBI slicer

By default PowerBI Slicer for Date is displaying in mm/dd/yyyy. This slicer date format is based on the browser computer setting. Let’s say you want to change the format to something like dd/mm/yyyy
There are 2 places you might need to change in your computer, first one is regional setting in control panel as shown below.
The above setting mostly solve the problem, but some browsers might still show the old format. In this case, change your browser settings. Here is an example of how to change in everyone's favorite Google Chrome.
Cheers!
Uma