0

I am referring below blog to copy one Task List item to another archival List in SP 2013 Portal. While copying the list items from source list the Comments field value for each item in source is retrieved as blank. https://www.sharepointdiary.com/2015/10/copy-list-items-between-sharepoint-lists-using-powershell.html

Can you please guide me why this is happening so.

Thanks in advance!

3
  • Are you able to get Approval Status column using this script? Dec 12, 2020 at 6:52
  • Yes, I am able to get the "Status" field value. Dec 12, 2020 at 9:21
  • @KailashSahoo Did you run into any error message when executing the script? Dec 14, 2020 at 8:16

1 Answer 1

0

I have tested with the script and it works as expected, for Comments field as well.

Make sure you have the same type of columns (Multiple lines of text, for example) added to the two lists.

You can add the default Site Column Comments via List settings > Columns > Add from existing site columns > Comments to avoid mismatch.

4
  • Thanks for the guidance!. I cross checked based on your suggestion and all settings are fine. The script is also working fine for me , but only for few records the comments field value is coming as blank. Dec 14, 2020 at 9:02
  • @KailashSahoo Might be something wrong with the fields themselves. Try update them manually and watch for special characters, etc. Dec 14, 2020 at 9:11
  • Thanks for the input Dec 14, 2020 at 9:28
  • Hi, When the comments field gets fetched , then it comes along with html elements. is there anything I need to follow to get the actual commented text instead of along with Html elements. Dec 15, 2020 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.