Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js-advanced-commenting Migrate existing comments (programmatically) #5352

Open
sanjeevba opened this issue Nov 22, 2024 · 5 comments
Open

js-advanced-commenting Migrate existing comments (programmatically) #5352

sanjeevba opened this issue Nov 22, 2024 · 5 comments

Comments

@sanjeevba
Copy link

Disclaimer

Yes

Sample

js-advanced-commenting

Contributor(s)

@hugoabernier

Question

Hi Hugo,
I'm migrating a legacy web app to SPO and I would like to migrate existing comments. Is there an easy way to do this? I imagine your webpart stores everything in a SP list.? Would I just programmatically load data into that list?

Sanjeev

@sanjeevba
Copy link
Author

Hi @sudharsank,

Would you be to able answer my question above?

Or maybe @wideserg, @a1mery?

Sanjeev

@a1mery
Copy link
Contributor

a1mery commented Nov 28, 2024

Hello @sanjeevba ,

This is a complex question ;)
You could indeed load your existing data in the SharePoint list used by the web part. But I guess the complex part would be to update your data architecture so that your legacy data (source data) matches the data architecture required by the web part.

@sanjeevba
Copy link
Author

sanjeevba commented Nov 28, 2024

Hi @a1mery,

I don't quite understand why I'd have to 'update my data architecture'. The only fields I'd be migrating would be: Comment txt, Author, and Created date.

I was hoping I could look at an existing list item created by the web part and programmatically create additional (similar) list items for the migrated comments.

Sanjeev

@sudharsank
Copy link
Contributor

sudharsank commented Nov 28, 2024 via email

@sanjeevba
Copy link
Author

It does!

Thank you!

Sanjeev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants