cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MarthaMM
Regular Visitor

Appending text to a SharePoint Text field

Hi there,

 

I foolishly thought this would be a simple one...

 

I have text in a SharePoint column but need to add more text to it, appending it without losing the existing content. 

 

I have another flow that does this in a really complicated way am sure someone told me it had got easier since so wanted to try the new way - all I can remember is there was a T with a box round it, 

 

Hoping someone can help or point me in the right direction, google has not helped with this one!

 

TIA

5 REPLIES 5
annajhaveri
Super User
Super User

@MarthaMM , you can use Concat function in expression to add more text to existing value. I understand that you will get the existing value from trigger body or get items action, see below for example of expression that you can use in Compose action and then use output of compose action in the update item action to update the value

 

Here in first expression I am getting Title value from Get Items action in the apply to each loop, if you want to get the existing value from trigger body, use the second expression

concat(items('Apply_to_each')?['Title'], ' text to append')

concat(triggerOutputs()?['body/Title'], ' text to append')

 

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Thank you for the response @annajhaveri - will this work if the text I want to append is in another SharePoint Column. Sorry I didn't explain myself well. 

@MarthaMM , yes it will work with another SharePoint column

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.
MarthaMM
Regular Visitor

Great - I started with a get items to get that data - how do I reference it using that please?

Use below expression in the compose action, replace the Title with your column name in it.  

concat(items('Apply_to_each')?['Title'], ' text to append')
Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,216)