Book Image

Extending Dynamics 365 Finance and Operations Apps with Power Platform

By : Adrià Ariste Santacreu
Book Image

Extending Dynamics 365 Finance and Operations Apps with Power Platform

By: Adrià Ariste Santacreu

Overview of this book

Uncover the synergy between Microsoft Power Platform and its integration with Dynamics 365 Finance & Operations (F&O) with this essential guide to implementing low-code and no-code concepts to not only extend and enhance F&O but also improve maintainability and speed up development. Systematically exploring Power Platform, this book covers topics such as Dataverse, Power Automate, Power Apps, and Power BI using real-world scenarios in Dynamics 365 F&O to offer practical insights. You’ll then master the integration of F&O and Power Platform using dual-write and virtual tables, and delve into process automation with Power Automate. The book further deepens your proficiency in Power Apps by showing you how they can be used to extend the F&O functionality and incorporate artificial intelligence using AI Builder and its pre-trained AI models ready to use with your data. Throughout, you’ll gain a solid understanding of the diverse components of Power Platform and how they can transform your Dynamics 365 F&O experience. By the end of this book, you’ll be equipped with the skills and knowledge necessary to fully harness the immense potential of Power Platform and Dynamics 365 F&O.
Table of Contents (18 chapters)
Free Chapter
1
Part 1: Dynamics 365 Finance and Operations and Power Platform
4
Part 2: Extending Dynamics 365 F&O with Power Platform
11
Part 3: Adding AI to Your Flows and Apps
13
Part 4: Dataverse and Power Platform ALM

Parsing a JSON file

To start, we need to convert the base64 string into a human-readable version. Thankfully, Power Platform offers some built-in functions that allow us to decode and encode base64.

Add a new Compose block and change to the Expression tab (see Figure 5.5):

Figure 5.5 – Power Automate expression editor

Figure 5.5 – Power Automate expression editor

First, add the decodeBase64 function, then the base64 function, since we need to understand that the content is not just a string but an encoded base64 text. Finally, change to the Dynamic content tab and click on the File Content output of your FTP connector. The full line should look like this:

decodeBase64(base64(outputs('Get_file_content')?['body']))

In this formula, the Get_file_content piece is equal to the name of the FTP action that retrieves the file.

This will return the content of the file, which for this example is as follows:

[
    {
     &...