cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shwetapathak
Level: Powered On

Update CRM entity when DB is updated

Hi

 

Can we update/create a record in CRM when  db fields are updated. My data source is SQL db.

1. I need a button on App which creates a new record in CRM

2. provide a button on App to update field values in CRM if there is any update in db.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Update CRM entity when DB is updated

Hi shwetapathak,

 

You may need to create connections to both the two connectors, CRM and SQL DB.


I assume that you will submit data from PowerApps to SQL DB using SubmitForm function, after the SubmitForm function, use a separate operator “;”, then use Patch function to patch the corresponding data to CRM.

 

About Patch function, please see more details at here:
https://powerapps.microsoft.com/en-us/tutorials/function-patch.


Please try it on your side, if you need more help, please feel free reply.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Update CRM entity when DB is updated

Hi shwetapathak,

 

You may need to create connections to both the two connectors, CRM and SQL DB.


I assume that you will submit data from PowerApps to SQL DB using SubmitForm function, after the SubmitForm function, use a separate operator “;”, then use Patch function to patch the corresponding data to CRM.

 

About Patch function, please see more details at here:
https://powerapps.microsoft.com/en-us/tutorials/function-patch.


Please try it on your side, if you need more help, please feel free reply.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 64 members 3,525 guests
Please welcome our newest community members: