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 Import Data from Excel to Multiple tables in PowerApps

Introduction:   I have created a view on how to import data from excel to multiple tables in Canvas PowerApps   Implemented Steps: ...