cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MiteshGovan
Helper III
Helper III

unable to patch collection

Hi 

 

I am unable to patch collection on OnSuccess.

 

Patch('Stationery Order Request',Defaults('Stationery Order Request'),{Title:User().FullName,Description:ForAll(ShoppingCart,ItemDescription)})

 

Can you please assist?

 

Thank you

2 ACCEPTED SOLUTIONS

Accepted Solutions
gabibalaban
Super User II
Super User II

Hi @MiteshGovan ,

 

There is an incorrect usage of ForAll, please use Concat instead like this:

 

Patch('Stationery Order Request',Defaults('Stationery Order Request'),{Title:User().FullName,Description:Concat(ShoppingCart,ItemDescription&";")})

View solution in original post

gabibalaban
Super User II
Super User II

Hi @MiteshGovan again 😊,

 

Please don't forget to mark as solved if my solution meets your expectation.

View solution in original post

3 REPLIES 3
gabibalaban
Super User II
Super User II

Hi @MiteshGovan ,

 

There is an incorrect usage of ForAll, please use Concat instead like this:

 

Patch('Stationery Order Request',Defaults('Stationery Order Request'),{Title:User().FullName,Description:Concat(ShoppingCart,ItemDescription&";")})

View solution in original post

gabibalaban
Super User II
Super User II

Hi @MiteshGovan again 😊,

 

Please don't forget to mark as solved if my solution meets your expectation.

View solution in original post

Thank you 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (38,805)