I am wondering if someone can assist me with this flow I am creating.
I am basically trying to migrate a SharePoint list and all it's columns to a new site/list.
All the items get created along with all the columns except for my "notes" column. The notes Column is a Multiple Lines of Text Column that has Append Changes to Existing Text enabled (Versioning)
Is it possible to copy over all the items of this column from the old list column to the new list column or at minimal at least the very last time added?
Here is my flow, I have selected the Notes column to bet the "Get Items/Notes" Column but when the item is created in the new list, its blank.
I highly appreciate anybody can help me accomplish this task
Solved! Go to Solution.
Hi @WC-KSTILL,
You could use Request API to get these versions of SharePoint item to extract these note history.
_api/web/Lists/getbytitle('List Name')/items(itemID)/versions
Then you will get all versions of the item via following expression:
outputs('Send_an_HTTP_request_to_SharePoint')?['body']['d']['Results']
Then use Select action to only get the notes:
After all, you could convert these notes into a string and append it into the new item in the other SharePoint list.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @WC-KSTILL,
You could use Request API to get these versions of SharePoint item to extract these note history.
_api/web/Lists/getbytitle('List Name')/items(itemID)/versions
Then you will get all versions of the item via following expression:
outputs('Send_an_HTTP_request_to_SharePoint')?['body']['d']['Results']
Then use Select action to only get the notes:
After all, you could convert these notes into a string and append it into the new item in the other SharePoint list.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I will give this a try today and let you know if it worked.
Thank you so much for replying
Do I add the Send an http request to SharePoint action within the same apply to each?
This is what I have now. Now sure if its correct but I still don't know how to get it into the create item. Do I need to set a variable or something?
Hi @WC-KSTILL,
Ok, please add these step to convert history notes into a string:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can you help me with a similar issue I'm facing.
I'm trying to export the conversation history in a multi line text with appended changes into excel. It always results in a blank field. If I create a similar flow to convert the text to a string, will I then be able to export to the excel file?
Thanks,
Yousra
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
6 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
7 | |
6 | |
6 | |
5 | |
5 |