Tuesday, May 31, 2022

How to Copy Schema and Logical name in PowerApps

Introduction:


In this blog, we will see how to copy Logical name and Schema name in Dataverse/MSCRM canvas.


Implementation steps:

 

1. Navigate to https://make.powerapps

 

2. Click Solutions --> Open Solution where the table is Available else CLICK DataVerse --> Click Tables and Open Table

 

3. Now Click On Columns

 

rampprakash_0-1654001908579.png

 

4. It will take you to all the columns where the field is Available

 

5. Now Select One of the Field and then you can see a Button Will get Enable called TOOLS

 

rampprakash_1-1654001973956.png

 

 

6. Click on the Tools you will see two options called Copy Schema Name and Copy Logical Name

 

rampprakash_2-1654002019210.png

 

 

What is the Main Difference Between Logical name and Schema Name?

 

  • Schema name --> It will be in Casing in my Case Schema Name will be pac_AccountId
  • Logical name --> It won't be in Casing in my Case Logical Name will be pac_accountid

 

That's it :slightly_smiling_face:

Monday, May 30, 2022

Using Force Sync User to sync users – Power Platform / Dynamics 365

Introduction: 


In this Blog we will see how to Force Sync Users using Microsoft Flow with Dataverse environment.


Implementation Steps:

 

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

 

2. Search Users

 

3. Search User Name

 

rampprakash_0-1653903533831.png

 

4. Once the User page Loaded, search for Object ID, if the Object ID is Not Available, Click Edit Columns and Add OBJECT ID

 

rampprakash_1-1653903603548.png

 

 

5. Copy the GUID(Object ID) and Paste it in Notepad

 

6. Navigate to https://flow.microsoft.com

 

7. Click My Flow --> Select New Flow --> Select Instant Cloud Flow

 

8. Enter the Name and Select PowerApps

 

rampprakash_2-1653903701976.png

 

 

9. Once Select Click Create --> Once Page Loaded select Add Steps --> And Search for Power Platform For Admins

 

10. Search for Force Sync Users

 

rampprakash_3-1653903804150.png

 

 

11. Once Force Sync User selected it will ask you for Environment and Object ID

 

rampprakash_4-1653903853827.png

 

 

12. Input the Details and for Object ID (Select Ask in PowerApps)

 

13. That's it.. Now Click on Save --> And Click Run and Select Manually --> Click Test --> Click Continue

 

14. Now it will ask for Object id, Paste the Object ID from Point 5

 

rampprakash_5-1653904022154.png

 

 

15. Click Run Flow --> Click Done

 

rampprakash_6-1653904064301.png

 

16. Once done, you can check the synced user  in your environment.

 

That's it :slightly_smiling_face:

 

Monday, May 23, 2022

Convert String to Number using Power Automate

Introduction:


In this Blog we will see how to convert String to Number using Power Automate


Implementation Steps:

 

1. Navigate to https://flow.microsoft.com

 

2. Click My Flows --> Click New Flow --> Select Instant Cloud Flow (You can select based on your needs)

 

rampprakash_0-1653319410200.png

 

3. Input Flow Name and Select PowerApps as Trigger

 

rampprakash_1-1653319480092.png

 

 

4. Click Create

 

5. Click Add Step --> Search for Variables --> Select Initialize Variable --> Input Name and Select Type as String and Value as "10"

 

rampprakash_2-1653319639649.png

 

6. Then Again Click Add Step and Select Initialize Variable Again and Input Name and Select Type as Integer

 

rampprakash_3-1653319711313.png

 

7. Write below Expression to Convert string to Integer 

 

int(variables('STRING Values'))

 

rampprakash_4-1653319826892.png

 

8. Click Save --> Click Test (at the Top Right)

 

9. Select Manually --> Click Test --> Click Run Flow --> Then Click Done

 

rampprakash_5-1653320013830.png

 

10. That's it :slightly_smiling_face:


Thursday, May 19, 2022

Change Radio Button Layout from Vertical to Horizontal in Canvas App

Introduction:


In this Blog we will see how to Change Radio Button layout from Vertical to Horizontal in Canvas App.


Implementation Steps:

 

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

 

2. Click Apps

 

3. Click New Apps --> Select Phone or Tablet Mode

 

4. Input Name for the Apps and Click Done

 

5. Once the Page Loaded --> Click Insert and Radio Button

 

rampprakash_1-1652956743484.png

 

 

6. Once the Radio button added the LAYOUT for the Radio button will show in Vertical Manner

 

rampprakash_0-1652956630954.png

 

7. Now if I want to change it to Horizontal Manner --> We need to Select Layout as Horizontal

 

Change Value From :

 

rampprakash_2-1652956924506.png

 

 

To:

 

rampprakash_3-1652956948065.png

 

 

That's it :slightly_smiling_face:

Wednesday, May 18, 2022

How to Set Model Driven App theme in PowerApps Canvas

Introduction:


In this Blog we will see how to set Model Driven App theme in PowerApps Canvas


Implementation Steps:

 

Model Driven Apps:

 

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

 

2. Click Gear Icon at the Top --> Select Advance Settings 

 

3. Once the Page Loaded --> Click Customization --> Select Theme --> You will see Default Theme ( You can see only one default theme for an Application)

 

COPY THE NAME OF THEME

 

rampprakash_0-1652872015072.png

 

4. Now go to https://make.powerapps.com

 

5. Click App --> And Provide the Name for the App and select Tablet or Phone Mode based on your needs --> In this i have selected Tablet Mode

 

rampprakash_1-1652872425930.png

 

6. Click DataSource --> Select Theme DataSource

 

rampprakash_2-1652872577998.png

 

7. Once the DataSource Added In the On Start of App Paste the below code

 

Set(getThemeValues,LookUp(Themes_1,'Default Theme'='Default Theme (Themes_1)'.Yes));

 

  1. Get the Value from Lookup in Theme with Default Theme as Yes

 

8. Add Multiple Labels in the Form

 

rampprakash_3-1652872738660.png

 

9. Now Based on the Theme we can load the values(getThemeValues)

 

10. Now Add one by one to the LABEL : FILL and Label Text

 

rampprakash_4-1652872838797.png

 

ColorValue(getThemeValues.'Legacy Accent Color')
ColorValue(getThemeValues.'Navigation Bar Fill Color')

 

11. Based on the Above code we can use the color in different places according to Model Driven App

 

Final Output

 

rampprakash_6-1652873257380.png

 

 

That's it :slightly_smiling_face:

 


Monday, May 9, 2022

What's my IP for Microsoft Flow?

Introduction:


In this blog, we will see how to Retrieve IP Address for Microsoft Flow


Scinario:

 

I want to get Response from WebService, that service is restricted to some of the IP Address. I need to get that Service Using Microsoft Flow, So i need to get IP Address of Microsoft Flow to add that IP Address manually to service to get the values.

 

Let's see how we can achieve this.

 

 

Implementation Steps:

 

1. Navigate to https://flow.microsoft.com

 

2. Click New App --> Select Instant Cloud Flow

 

rampprakash_0-1652086160420.png

 

 

3. Input Name For the Flow and Select PowerApps

 

rampprakash_1-1652086203787.png

 

4. Select HTTP Trigger

 

rampprakash_3-1652086268645.png

 

5. Select Method as GET and Input URI as

 

 

 

https://api.ipify.org/?format=json

 

 

 

6. Now Save the Flow 

 

7. Click Test at the Top Right and Select MANUAL trigger --> Select Run Workflow

 

That's it :slightly_smiling_face:

 

rampprakash_4-1652086554079.png

 

 

8. You can see the IP address in BODY of result.

Monday, April 25, 2022

How to Retrieve More than 256 Rows from Excel using Microsoft Flow

Introduction


In this Blog we will see how to retrieve More than 256 Rows from Excel using Microsoft flow


Implementation Steps:

 

1. Create an Excel or Upload the Existing Excel in OneDrive.

 

2. Open the Excel and Check How Many Rows Available. in my case i have 373 Rows Available

 

rampprakash_0-1650869401774.png

 

3. I Uploaded it in OneDrive

 

rampprakash_1-1650869425619.png

 

4. Once Done ---> Navigate to https://flow.microsoft.com

 

5. Click Instant Cloud Flow and Select PowerAutomate and Input Name for the Flow

 

rampprakash_2-1650869494356.png

 

6. Once Clicked On Create --> Select Excel Online (Business) --> Then Choose List Rows Present in Table

 

rampprakash_3-1650869629504.png

 

7. Then Select the location Where the Excel is Available

 

rampprakash_4-1650869741699.png

 

8. Now for Testing Purpose i will Add a Apply For Each to Check How Many Rows its Retrieving.

 

rampprakash_5-1650870506453.png

9. Now We are done --> Click Test --> And Expand Apply to Each 

 

rampprakash_6-1650870708019.png

 

10. Now you can see only 256 Record Retrieved

 

11. Let's See how we can change this

 

12. Click On Three Dots in Excel (List Rows Present in the Table) and select Settings

 

rampprakash_7-1650870804833.png

 

13. Turn On Pagination and Select Threshold Value to 1000(it Depends) and Click DONE

 

rampprakash_8-1650870859381.png

 

 15. Now --> Save the Workflow and Test Again

 

16.  Now you can see all the Rows from Excel.

 

rampprakash_9-1650870963609.png

 

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...