Wednesday, March 1, 2023

How to Convert Speech to Text from Canvas PowerApps (Part II Azure)

Introduction:


In this blog we will see how to Configure Microsoft Azure for Converting Speech to Text


Lets see this in 3 Different Blogs, Here we start with Microsoft Azure

 

Pre-Requisites :

 

 

1. Navigate to https://portal.azure.com

 

2. Click Search and Search for Resource Group

 

rampprakash_0-1677647304786.png

 

3. Input the Resource Group name and Click Review and Create

 

4. Once the Resource Group is Created then Click On Search at the Top and Search for FUNCTION APP

 

5. Now Create a New Function App like below Image

 

rampprakash_1-1677647435677.png

 

6. Now Click Review and Create

 

7. Once Function App Created Open the Function App and Search for Functions --> Select Create --> Select HTTP Trigger --> Select New Function and Click Create

 

rampprakash_2-1677647551701.png

 

8. Once the Function App is Created, In the Function App Search Search for Advance Tools  and Click GO

 

9. It will Open a POP-UP Click DEBUG and Select CMD

rampprakash_3-1677647847326.png

 

10. Once Page Loaded Click Site Folder --> wwwroot

 

rampprakash_4-1677647895087.pngrampprakash_5-1677647928265.png  

 

11. Once the WWWROOT Loaded Select NEW and Select New Folder

 

rampprakash_6-1677647985501.png

 

 

12. Name it as "webm-to-wave"

 

13. Now go this Link and Select Windows and Download the File

 

14. Once the File is Downloaded Extract the File and GO to BIN and You can see Below Three Files

 

rampprakash_7-1677648188133.png

 

15. Drag and Drop it to the Folder which we Created

 

16. Once the File is Uploaded Go one Step Back there you can See the AZURE FUNCTION WHICH YOU CREATED

rampprakash_8-1677648247202.png

 

17. Open that and Click New and Create a File function.json / readme.md / run.csx

 

18. Here is my GITHUB link you can see the Files which need to be available in function.json/readme.md and run.csx 

 

19. Once Done Click Save.

 

20. Now Again Navigate to https://portal.azure.com

 

21. Search for Speech Services

 

rampprakash_9-1677648439244.png

 

 

22. Create a new Speech Services like below and Click Review and Create 

 

rampprakash_10-1677648499694.png

23. Once the Speech Service is Created Open it and Select KEYS and ENDPOINT

 

24. Copy the KEY and ENDPOINT

 

rampprakash_11-1677648613872.png

 

That's it For Azure :slightly_smiling_face:

 

In Next Blog, we will see how to Write Microsoft Flow to Achieve Speech to Text

How to Convert Speech to Text from Canvas PowerApps (Part I Canvas App)

Introduction:


In this Blog, we will see how to Convert Speech to Text From Canvas PowerApps with Part 1 Canvas Apps


Lets see this in 3 Different Blogs, First we Start with Canvas PowerApps

 

Pre-Requisites :

 

 

1. Canvas PowerApps :

 

rampprakash_1-1677500143211.png

  • And Click Create
  • Select Insert --> Select Microphone

rampprakash_2-1677500322386.png

  • In the OnStop of the Microphone Input the Below Values

rampprakash_3-1677500433705.png

 

 

 

ClearCollect(
    AudioCollection,
    Microphone1.Audio
);
Set(
    JSONValue,
    JSON(
        AudioCollection,
        JSONFormat.IncludeBinaryData
    )
);

 

 

 

Here Microphone1 is name of Microphone media

 

  • Now Click Insert and Add Audio

rampprakash_4-1677500525759.png

 

  • Select Audio And Click Media and Paste the Below Code

rampprakash_5-1677500595748.png

 

 

 

Microphone1.Audio

 

 

 

This Code Uses when ever you tired to Record By Speech you can hear Back from AUDIO option by Playing

 

  •  Now Add a Button and Name it as SUBMIT (or) Convert to Text
  •  Select Power Automate at the Left Side of the Tab and Click Add New Flow

rampprakash_0-1677646789273.png

  • You will see in Next Blog How to Create a MICROSOFT FLOWS in Next Blog

Friday, February 24, 2023

Switch Statement using Power Automate

Introduction:


In this blog we will see how to use Switch Statement using Power Automate


Implementation Steps:

 

1. Navigate to https://make.powerautomate.com

 

2. Click Flows

 

3. Click My Flows --> Click New Flows --> Click Build Your Own

 

4. Select PowerApps

 

rampprakash_0-1677241785738.png

 

5. And Select Power Apps Trigger and Click Next --> Select Switch Statement and Click OK

 

6. It will open a Popup 

 

FOR DEMO AM USING A VARIABLE to SWITCH STATEMENT

 

 

7. Once Opened Click + (New Step) and Select Initialize Variable and Select Type as Integer and provide Value as 1

 

rampprakash_1-1677241950661.png

 

8. Now Add another Variable to Set the Value in Switch Statement

 

rampprakash_2-1677241982315.png

 

9. Now in the Switch Statement Select On as the Variable which we declared in Step 7

 

rampprakash_3-1677242032459.png

 

10. Now in the Case input Value as 1 and set the Value

 

rampprakash_4-1677242073453.png

 

11. Now Click + Button for adding another Case and Add a value like below

 

rampprakash_5-1677242149464.png

 

12. If you have any default value Input the Value in Default

 

rampprakash_6-1677242178581.png

 

13. Now Save the Flow and Click Test and Trigger manually Now as we have Value Hardcoded as 1 now the Switch Case will Navigate to Case 1

 

rampprakash_7-1677242324279.png

 

 

That's it :slightly_smiling_face:

Thursday, February 9, 2023

How to Install Smart Buttons for Ribbon Workbench using XrmToolBox

Introduction:


In this blog we will see how to install Smart Buttons for Ribbon Workbench using XRMToolBox


Implementation Steps:

 

1. Navigate to https://make.powerapps.com

 

2. Click Solutions

 

3. Select Import Solutions and import Ribbon Work Bench (Download here)

 

rampprakash_0-1675941386216.png

 

4. Once Solution Imported then Click Gear Icon at the Top and Select Advance Settings

rampprakash_1-1675941569755.png

 

5. Select Solutions --> You will find Ribbon Work Bench

rampprakash_2-1675941615754.png

 

6. Click the Ribbon Work Bench it will open PopUp like below

 

rampprakash_3-1675941639663.png

 

7. At the Left side you can see the Smart Button but it does not contain any values

 

Let's see how to show SMART Buttons

 

8. Now Click Below Link

 

https://ribbonworkbench.uservoice.com/knowledgebase/articles/896958

 

9. Once You Opened Link you will find another Link

 

https://github.com/scottdurow/RibbonWorkbench/releases

 

10. Once you clicked on Above Link you will redirect to Github and Download the Highlighted Solution

 

rampprakash_4-1675941975263.png

 

11. Now again go to Solutions (Follow Point 1 and 2)

 

12. And Import Solution downloaded from Point 10

 

13. Select the Solution and Click Import

 

rampprakash_5-1675942059376.png

 

14. Now again go to Legacy Mode and Click on Solutions and Select Ribbon Work Bench Again

 

15. Once page loaded you can find the Smart Buttons.

 

rampprakash_6-1675942238015.png

 

 That's it :slightly_smiling_face:

 

Wednesday, February 8, 2023

How to Filter Gallery with SharePoint with Blank Values Without Delegation Warning

Introduction:


In this Blog we will see how to Filter Gallery with SharePoint with Blank Values Without Delegation Warning.


Implementation Steps:

 

In this Blog am using Back End as SharePoint.

 

1. Navigate to https://make.powerapps.com

 

2. Click Apps 

 

3. Select Canvas App and Select Type as Either Phone Mode or Tablet Mode and input Name

 

rampprakash_0-1675845894941.png

 

4. Click Create

 

5. Add Data Source (Here in my scenario am selecting Data Source as SharePoint)

 

rampprakash_1-1675846039989.png

 

6. Add Gallery and Select Items as SharePoint

 

rampprakash_2-1675846163653.png

 

7. Now Select the Items as SharePoint List

 

rampprakash_3-1675846208613.png

 

 

8. Now Consider I need to filter the Title as Blank without Delegation Warning

 

9. If i use IsBlank then it will cause Delegation Warning

 

rampprakash_0-1675849999563.png

 

 

Delegation Code : Filter('Account List - New',IsBlank(Title))

 

10. Based on Below Code we can avoid Delegation

 

rampprakash_1-1675850072560.png

 

 

Non-Delegation Code: Filter('Account List - New',Title = Blank())

 

That's it :slightly_smiling_face:

How to Run Microsoft Flow for Every one Month

Introduction: In this Blog we will see how to Run Microsoft Flow for Every one Month. Implementation Steps:   1. Navigate to  https://make.p...