Latest Microsoft Dynamics 365 Blogs | CloudFronts - Page 105

Expand & Collapse Matrix Row Headers in Power BI

Posted On November 14, 2018 by Admin Posted in

There are two ways you can expand/collapse row headers in matrix visualization. First one is through the Right-click menu. You will see options to expand/Collapse the specific record or row you clicked on, entire level or all down to the very last level of the hierarchy. In exactly same way you can collapse row headers as well. Right- Click -> Expand/Collapse Also, you can add +/- buttons to the row headers through the formatting pane under the row headers card. By default, the icons will match the formatting of the row header. Additionally, you can format it with the color and size. Once you have turned on the icons, it will work similarly to the icons of drill-down.

Share Story :

Send Custom Emails using SendGrids API

Introduction: In this blog we will demonstrate how to send custom emails using SendGrids API. Scenario: If we want to send custom emails to customers stored in Dynamics 365 with different email body for every customer based on their data stored in CRM, it is not possible to do so by using the normal Email Editor as it has some limitations while displaying dynamic content. One way of doing this is by creating a console app which will use SendGrids API to send out custom emails for every customer. Pre-Requisites: Visual Studio SendGrid Account Implementation: Step 1: For this demonstration we will see how to send out a mail to a single email. First we create a Console App in Visual Studio Step 2: Once the Project is created Right Click on the Project and select Manage Nuget Packages Browse to the latest Nuget packages and install SendGrid package Step 3: Next we have to create an API Key in SendGrid. Just give a name for a key and Click on Create Key which will generate a unique key. Store this key which will be used in the Code Step 4: Below is the Code to send email: using SendGrid; using SendGrid.Helpers.Mail; using System.Threading.Tasks; namespace SendGridConsoleApp { class Program { static void Main(string[] args) { string sendGridAPIKey = “EnterKeyHere”; Execute(sendGridAPIKey).Wait(); } static async Task Execute(string _apiKey) { var client = new SendGridClient(_apiKey); var from = new EmailAddress(“test@gmail.com”, “From UserName”); var subject = “MAIL Send Through SendGrid”; var to = new EmailAddress(“test@gmail.com”, “To UserName”); var plainTextContent = “Example PlainText”; var htmlContent = @”<!DOCTYPE html><html><head><style> table { border-collapse: collapse; width: 100%; } th, td { text-align: left; padding: 8px; } tr:nth-child(even){background-color: #f2f2f2 } th { background-color: #4CAF50; color: white; } </style></head><body><h2>Important Details</h2> <table><tr> <th>Firstname</th> <th>Lastname</th> <th>Email Address</th></tr> <tr><td>Peter</td><td>Griffin</td><td>pgriffin@gmail.com</td></tr> <tr><td>Lois</td><td>Griffin</td><td>Lois@gmail.com</td></tr><tr> <td>Joe</td><td>Swanson</td><td>joe@gmail.com</td> </tr><tr><td>Cleveland</td><td>Brown</td> <td>clev@gmail.com</td></tr></table></body></html>”; var msg = MailHelper.CreateSingleEmail(from, to, subject, plainTextContent, htmlContent); var response = await client.SendEmailAsync(msg); }}} Step 5: Once the Console App is run the email is send below shown is the sample of the Email sent While running this for multiple customers we can create different HTML body content for each customer and pass it to the CreateSingleEmail function.This approach can also be used to send bulk emails to customers.

Share Story :

How to search for a Content in Office 365?

Introduction: You can use the Content Search eDiscovery tool in the Office 365 Security & Compliance Center to search for items such as email, documents, and instant messaging conversations in your Office 365 organization. You can search for – Exchange Online Mailboxes SharePoint Online and OneDrive for Business sites Microsoft Teams Office 365 Groups Create a Search: Go to Office 365 Security & Compliance. In the left pane, click Search & Investigation > Content Search. Click New +, to create a new search. Provide a name for the Search (name must be unique). Choose the content locations that you need to search. You can search mailboxes, sites and public folders in the same search. Search everywhere – Select this option to search content from all location in your Office 365 organization. You can choose all mailboxes (including mailboxes for all Office 365 Groups and MS Teams), all SharePoint and OneDrive for Business sites (this includes sites for all Office 365 Groups and MS Teams) and Public Folders. Custom location search – Select this option to select mailboxes and sites that you want to search. After choosing mailboxes and Sites, click Next. On the New Search page, you can add keywords and conditions to add a search query. You can specify keywords, message properties such as sent and received dates, or document properties such as file names or the date that a document was last changed. You can use a more complex query that use a Boolean operator, such as AND, OR, NOT, NEAR, or ONEAR. You can also search for sensitive information (such as social security numbers) in documents, or search for documents that have been shared externally. Under Conditions, add conditions to a search query to narrow a search and return a more refined set of results. Click Search to save the search settings and start the search. The search is started. When the search is completed, the following information is displayed in the details pane. Preview Search Results –After a search is successfully run, you can preview search results by click Preview Search results (see below image). Result preview will look like this (see below image) Export Search results – After a search is successfully run, you can export the search results to a local computer. When you export email results, they’re downloaded to your computer as PST files. After generating the report, the report can be downloaded, click on Download exported results. A new window will open, click Download Results (see below image) If you are prompted to install the Microsoft O365 eDiscovery Export tool, click install. In the eDiscovery Export Tool, paste the export key from the download export results window. Click Browse to specify the location where you want to download the search result files. Click Start to download the search results to your computer. Conclusion: In this way, you can search for your contents in Office 365. You can quickly view the statistics. Preview the search results or download the results to a local computer.

Share Story :

Keep access to Assigned records in D365

Introduction: At times, you are asked to assign certain CRM records to other users and you just have to do it as a part of the process. But let’s face it, you still wonder what might have happened to the record after you assigned it to them but your security roles won’t let you access those. There’s a general D365 setting for this too! You can share your D365 records with other but still retain rights to yourself so keep track of what happened with those later on Setting: Navigate to Settings > Administration > System Settings In General tab, look for the Setting where it reads as ‘Set whether reassigned records are shared with the original owner’ (quite self-explanatory) Assign Record and check Share Rights: Now, assigning a records from Priyesh to John as shown below – Priyesh would still have rights to the record. Check the Share status of the same. The record will be owner by John but will be shared with Priyesh too.

Share Story :

Using MS Flow and D365 App For Outlook To Track Proposals and Win Opportunities Without Leaving Outlook

For every sales person, getting a signed contract from the client is a euphoric moment. You finally closed the deal, and everything seems right. But the process after winning the deal is cumbersome for many of us. This article documents how we made this process a lot less painful through MS Flow and the D365 App for Outlook. Hopefully you find it very useful as well. I will first walk you through my old process – Once I got the signed contract as a Word or PDF attachment in my email, I would download it and save it to my OneDrive under the respective client folder. I would then open D365, go to the opportunity, then browse to the Documents folder and create a new SharePoint document folder. Then I would click the upload button and browse to the document location the OneDrive folder on my computer and attach the proposal. I would then finally mark the opportunity as Won, which would send out internal emails to our Delivery Team (for Project creation), Accounts Team (for billing details) and our HR team (so they can keep an eye on recruitment needs). Here is what we achieved through the implementation of the new process using MS Flow and D365 App for Outlook – Once I got the signed contract in my email, I would track this email using the D365 App in Outlook. I would also set the regarding field as the Opportunity that this proposal is for. The above action would trigger an MS Flow that would do the following in near real time – It would check if the Opportunity already had a folder created and if not, it would first create the SharePoint document folder on the Opportunity. It would then upload the proposal to the above folder. It would remove the attachment from the tracked email (saving valuable space!) I would then open the Opportunity right from my D365 App for Outlook and mark it as Won. The step by step directions for setting up the MS Flow are documented in this blog article from Krishna Bhanushali from our D365 team – https://www.cloudfronts.com/move-attachments-from-tracked-email-to-sharepoint-using-microsoft-flow/. In conclusion, the above implementation has benefited us through – Significantly reduced number of steps post winning a deal. Time saved by not having to leave Outlook which is where most of us are spending our time. A better process that makes pipeline management easier for sales people, thus driving adoption. If you want to discuss your sales processes further or provide any feedback for improvement, I can be reached at ashah@cloudfronts.com.

Share Story :

To create a Customer Record from Microsoft PowerApps to Microsoft Dynamics 365 Business Central and vice-versa.

Introduction: This blog explains how to create an application in  Canvas PowerApps that can integrate the data from the App to Business Central and vice-versa.  I have created an app that on creation of a Customer record will create the record in Business Central and the same in opposite direction. Pre-requisites: Microsoft PowerApps Microsoft Dynamics 365 Business Central Steps: 1. Go to PowerApps, select create an app from blank and select the Business Central connection of your tenant. 2. Select the Company and the Customer table. 3. The basic design of the screen is created where you can view the list of customers, you can also edit the view as per your requirements. 4. The ‘+’ sign on the screen is used to add a new customer record. Logic behind the button is: NewForm(EditForm1);Navigate(EditScreen1, ScreenTransition.None) 5. Add the Customer Details and click on the submit button to submit the record or cancel button to go back to the main screen. Logic for submit: SubmitForm(EditForm1) Logic for cancel: ResetForm(EditForm1);Back() 6. The Customer record is created both in the PowerApps as well as Business Central. 7. Now create a new Customer Record in Business Central. 8. Now go to Powerapps, on the main screen click on the Refresh button the customer record will be created in the list. Logic for Refresh: Refresh(customers)

Share Story :

Positive Pay Export having multi-length Void Check Indicator in Business Central for Santader Bank.

Introduction: There is a client requirement where the Positive Pay Export has a void-check indicator which needs to be 3 Text character. Although there is 1 Text character field for Void Check Indicator in standard positive pay, I couldn’t get it to convert to the desired format by using Transformation Rules or Text Padding. Thus I have made few customizations and is demonstrated below. Pre-requisites: Microsoft Dynamics 365 Business Central. Working understanding of Positive Pay Export. Refer(https://www.cloudfronts.com/setup-positive-pay-export/) Demonstration: As per requirements for Santander Bank, Void Check is indicated by *26 Print Check is indicated by *10 Whereas in standard we get, Void Check is indicated by ‘V’ Print Check is indicated by ‘<blank>’ Using transformation rules such as replace V with *26 and <Blank> with *10, the transformation rules only converts the first character which is V to * and  <Blank> to *. 1. There is an existing codeunit(1704) which is used as Pre-Mapping Codeunit in field Mapping in Positive Pay Data Exchange Definition. 2. Create a Table Extension for Table  1241( Positive Pay Detail)and added a text field name ‘VoidStatusIndicator’ of size 50 3. Thus I exported the codeunit to text and converted to AL using Text-To-AL and added the lines as follows in PrePosPayDetail function. 4. Map the newly added field VoidStatusIndicator in the field mapping and chnage the Pre-Mapping codeunit value to the ID of newly created codeunit. Output: *2623137269100000000008935713384000000500710241800000010205 *1023137269100000000008935713384000000500910241800000010201 Conclusion: This is how we can do Positive Pay customization can be done. This method is not limited to Positive Pay but with all the Data Exchange methods. In my next blog, I’ll be writing about the customization for ACH.

Share Story :

How to set a default chart in a view’s Chart Pane

Introduction: This blog explains how to set a default chart in a view’s Chart Pane Scenario: We have created custom chart on order named as Order by printing status. We want this chart should get open when user click on charts pane Steps: Go to Customization –> Order –> Charts. Click on More Actions –> Export Chart. .xml file will get download. Open that file with notepad. Search isdefault and set its value to true. Save Click on More Actions –> Import Chart Import the customized chart. Replace and Import Chart. Publish Customization. Now you can see that chart as default chart.

Share Story :

How to recover deleted or modified content in SharePoint Online and OneDrive for Business?

Introduction: In this article, we are going to see how we can recover content which has been deleted or modified. Each time a document subject to a retention policy is edited or deleted, a version is copied to the Preservation Hold Library. Though, we can use SharePoint Online permissions level so that we can restrict users from deleting any content (Understand Permission Level) but then there is also a solution so that we can recover deleted or modified content. Preservation Hold Library – A Preservation Hold Library is created when you include a SharePoint site or a OneDrive account in a Retention Policy and is visible only to Site Collection administrators. Pre-requisite: Retention Policy needs to be applied to SharePoint Online and OneDrive from Office 365 Security & Compliance center. Note – Preservation Hold Library will not be automatically created after applying Retention Policy to SharePoint or OneDrive site, it will be created after the first time the content has been modified or deleted. SharePoint content recovery through Preservation Hold Library: Site Administrator can recover deleted files from Preservation Hold Library (Only Site Administrator can access Preservation Hold Library folder) Go to SharePoint Online Site for which you want to recover content. Site > Site Contents > Preservation Hold Library. Select the content and download. OneDrive content recovery through Preservation Hold Library: As OneDrive is used as a personal storage location, users have the permission to recover deleted items. When a file is deleted it will be stored in Preservation Hold Library. (In the below images, I am deleting a doc) Sign in to portal.office.com and open OneDrive. After opening OneDrive, in URL replace “_layouts/15/onedrive.aspx” by “_layouts/15/viewlsts.aspx” https://domainname-my.sharepoint.com/personal/agupta_cloudcfs1_onmicrosoft_com/_layouts/15/viewlsts.aspx You will be redirected to site content and if you have any deleted or modified files, you will be able to see Preservation Hold Library folder. (see below image) Conclusion: With this simple process, you will be able to recover deleted or modified content from SharePoint Online & OneDrive for Business and avoid losing your important contents.

Share Story :

How to Create Azure DEVOps URL

Introduction: In this blog article, we will learn how to create Azure DEVOps URL. Steps: 1. Go to visualstudio.com and sign in using Microsoft account.Create a new project 2. Go to Organization settings –> Overview 3. Under organization information you will see a link. Turn off the on toggle and a new link will appear on the screen. Now the VSTS link will be generated. This link itself is dev ops URL.

Share Story :

SEARCH BLOGS:

FOLLOW CLOUDFRONTS BLOG :


Secured By miniOrange