Git Product home page Git Product logo

Comments (5)

asitu14 avatar asitu14 commented on June 20, 2024

Hi Doug,

Was wondering if you've had a chance to review my issue yet? Thanks for your help!

from sfdc-convert-notes-to-chatter-notes.

douglascayers avatar douglascayers commented on June 20, 2024

Hi @asitu14,

Thanks for the screen shot. For those following along at home, this issue is related to this earlier conversation on my blog post: https://douglascayers.com/2017/05/08/convert-notes-to-enhanced-notes/#comment-3816

Could you tell me who the owner is of the original Note in the "Notes & Attachments" list? My guess is Peter Burke (who is shown as the Created By in the new "Notes" list) is the owner of the original note also.

Thanks,

Doug

from sfdc-convert-notes-to-chatter-notes.

asitu14 avatar asitu14 commented on June 20, 2024

Original:
image

Enhanced:
image

from sfdc-convert-notes-to-chatter-notes.

asitu14 avatar asitu14 commented on June 20, 2024

The original Created By indicates Boris Perlin but the new enhanced note shows Peter Burke. Was this by design? You were correct about the the original owner was - Peter Burke - and this reflected in the new enhanced note too.

from sfdc-convert-notes-to-chatter-notes.

douglascayers avatar douglascayers commented on June 20, 2024

Thanks for the confirmation. Yes, by design the Owner of the original Note becomes the Owner and Created By of the converted Enhanced Note.

This is because Salesforce requires when we create Enhanced Notes (ContentNote object) that both the Owner and CreatedBy be the same person. And since the Owner field is something users can change on their records that gave the most flexibility if the admin needed to swap out for an active user or different user than the original CreatedBy.

99% of the time the original note's Owner and CreatedBy are the same but sometimes they are not.

In your case, I recommend changing the Owner of the original Notes to be the desired CreatedBy of the converted records then run the conversion. I know it's a bit unintuitive, sorry.

If you have already converted notes in your production org and you need to re-convert them after changing ownership then simply delete the converted enhanced notes then re-run the conversion.

from sfdc-convert-notes-to-chatter-notes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.