cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sumaira
Post Prodigy
Post Prodigy

Save user image in CDS

Hello Community Experts,

There is an urgent requirement where i should update user image from power apps to CDS 

 

In CDS We have user entity and in power apps I have below 3 controls, i should be able to update image from power apps to CDS on a button click

UserImage.png

How do i achieve this requirement

Kindly guide

Best Regards

Sumaira

1 ACCEPTED SOLUTION

Accepted Solutions
krishnags
Responsive Resident
Responsive Resident

@Sumaira you can try below approach...

 

on Button Click: 

Patch(Students,Defaults(Students),{'Profile Image':imgP.Image},{'Student Name':"Krishna GS"})

 

Profile Image.png

 

Preview.png

 

View solution in original post

3 REPLIES 3
krishnags
Responsive Resident
Responsive Resident

@Sumaira you can try below approach...

 

on Button Click: 

Patch(Students,Defaults(Students),{'Profile Image':imgP.Image},{'Student Name':"Krishna GS"})

 

Profile Image.png

 

Preview.png

 

@krishnags Thanks a lot for the response

I'm getting below error

Please help @krishnags 
I want to update current logged in users image @krishnags 

UsersErr.png

Best Regards,

Sumaira

@krishnags Thanks my issue is resolved

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (6,085)