PATCH A SharePoint Single Line Text Column In Power Apps

PATCH A SharePoint Single Line Text Column In Power Apps 

PATCH A SharePoint Single Line Text Column In Power Apps!

Overview:

This blog post provides a step-by-step guide on how to PATCH a SharePoint single-line text column using Power Apps. Beginning with creating a custom list on SharePoint, the tutorial then transitions into designing a canvas app on Power Apps. It covers the specifics of establishing a connection between your Power App and SharePoint, adding text inputs, and incorporating a patch function.

Open to the SharePoint list https://Sharepoint.com

Generate a new SharePoint list by creating a new custom list. 

New sharepoint creation for the single line text column PATCH In PowerApps

Select the list. 

In the SharePoint interface, kindly select the option to create a new blank list. 

Selecting the option create a new blank list in PowerApps for a single line Patch

Please enter the name of your SharePoint list in this field. 

Generate a new column using the ‘Create New Column’ functionality.

Creating New Column' for Patch functionality

To create a single-line text column, please select ‘Text’ from the available options and proceed. 

Single-line text column select 'Text' from the options for Patch Functionality

Specify the column name to be incorporated into the ‘Name’ property. 

Proceed to the next step by creating your Power App  https://make.powerapps.com

Please select the ‘Create’ button. 

In order to initiate the creation process, please select the ‘Blank App’ option. 

Creating the PowerApps third step to perform Patch single line text

To initiate the creation of your canvas app, kindly proceed by selecting the ‘Canvas’ option. 

Creating the PowerApps fourth step to perform Patch single line text

Please input the name of your application into the designated field and also make a selection for the desired formatting, either ‘Tablet’ or ‘Phone’. 

Naming the PowerApp to perform the patch a single line column

Tailor the application to align seamlessly with your specific requirements and preferences.

Establish a connection between your Power App and your designated data source.

Add a Data Source:
In the Power Apps studio, go to the “Data” tab in the left-hand menu.

Database connecting to PowerApp to perform the patch a single line column functionality step-1

Select a Data Source: 
Click on “Add a data source” to browse and select your data source. Common options include SharePoint 

Database connecting to PowerApp to perform the patch a single line column functionality step-2

Connect to Your Data Source:

  • Depending on your chosen data source, you’ll need to provide connection details, such as the SharePoint site URL 
  • Copy your SharePoint list link and paste it into this input field. 

 

Add text inputs “I will be adding three text inputs because I have three columns to patchfrom the insert field. 

Adding text input in PowerApp to perform the patch a single line column functionality

Incorporate a button to enable the ‘Patch‘ operation. 

Adding button in powerApps to perform Patch a single line Text column

Compose a PATCH function within the On Select property of the button. 

				
					Patch( 

    'PATCH Single Line Text', 

    Defaults('PATCH Single Line Text'), 

    { 

        Name: Nameinput.Text, 

        Address: Addressinput.Text, 

        'Phone number': Numberinput.Text 

    } 

); 

Notify("Data has been successfully applied or updated.",NotificationType.Success) 
				
			
A Succesfull View of PowerApps after performing Patch a single line Text column functionality

Conclusion:

With Power Apps, integrating and updating data from SharePoint becomes a streamlined process. By following this guide, users can easily PATCH a single-line text column from SharePoint, making data management more efficient and user-friendly.

If you want to learn more about the Power Apps, feel free to explore our other informative articles and tutorials.

Have additional inquiries? Our team is here to assist. Please don’t hesitate to reach out!

About The Author