Comments (7)
Hello @douglascayers ,
I did some tests using the data loader method to figure out what was causing the issue.
What I've found that the notes that had an empty body also gave the HTML/non-escaped character error.
Apparently inserting nothing/space/line feed character will not do the trick, but an nbsp does.
Hope you can consider this, and add it into the code.
Thank you in advance!
from sfdc-convert-notes-to-chatter-notes.
Hello @douglascayers I ran your tool yesterday to convert all our notes. It stopped dead at 3,000 records. Turns out record # 3001 had a copyright symbol in the text of the note. This was enough to make it fail and not process the rest of the records. Downloading the remaining notes (including body) via Data Loader and searching for the (c) symbol and then creating new notes with and without the symbol and then submitting the single parent record for conversion was how I finally found and isolated the problem. I rescheduled the job and the remaining 2,093 notes were converted. Thanks for this great tool Doug it has really helped. Next is the Files conversion using your other tool. Before the end of the month we will be rid of Notes & Attachments.
from sfdc-convert-notes-to-chatter-notes.
Hi @gaborarany,
Thanks for trying my conversion tool, sorry you ran into an issue. Unfortunately when Salesforce errors out like that it tends to be fatal error and code isn't able to complete a transaction to save off any logs.
Another user, Rachel Park, said on Success Community that she had to export all the Notes via Data Loader, replaced special characters in the spreadsheet, then updated the Notes back in Salesforce. You might ping Rachel on Success Community or follow up on this thread to see what specific changes she had to make.
Until people provide me samples of the Notes with the kinds of special characters that are failing there isn't a whole lot I can do in the code to help prevent the error. I do do some special character handling but obviously there are some characters I'm not catching.
Doug
from sfdc-convert-notes-to-chatter-notes.
Hello Doug,
Thank you for your response. I would still like to use your tool for migration :)
I will try to find the problematic notes by narrowing down the notes to be converted. If I can find the problematic characters, would you be able to add handling them in your code?
Thank you again!
from sfdc-convert-notes-to-chatter-notes.
Yes @gaborarany, if you find the problematic characters please let me know and I'll update the conversion tool.
I'll go ahead and close this issue for now, but feel free to comment back with any new info you find.
Thanks! Good luck!
from sfdc-convert-notes-to-chatter-notes.
That's a great find, thank you! I'll update the code for next release to handle this edge case. Thanks!
from sfdc-convert-notes-to-chatter-notes.
Thanks @certifycrm, this is great info. I'll make sure to include this with the special character conversion code.
from sfdc-convert-notes-to-chatter-notes.
Related Issues (20)
- Thank you! HOT 1
- Conversion is Simply not Happening HOT 2
- Note body is empty HOT 3
- Cannot see item in log HOT 3
- Share Private Notes to Parent Records
- Warn about non ASCII characters
- Been running process for days but now get Salesforce System error HOT 4
- Enhanced Note Created By is not the same as original Created By HOT 5
- Invalid content ids specified HOT 10
- Can't install getting an error HOT 1
- Note Not Editable After Conversion HOT 2
- Unable to install in Production environment HOT 3
- Batches are failing HOT 5
- Weird behavior on migrating notes HOT 1
- I want to track notes conversion in a large org. HOT 2
- How to mass pull note ID's? HOT 1
- Newlines being converted to <br> text HOT 2
- Install Failed: Dependent class is invalid and needs recompilation HOT 2
- All notes not getting converted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sfdc-convert-notes-to-chatter-notes.