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
@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')
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
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')
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
26 | |
26 | |
24 | |
23 | |
23 |
User | Count |
---|---|
61 | |
51 | |
44 | |
31 | |
27 |