function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Admin BlueJackAppsAdmin BlueJackApps 

Link to new enhanced Notes (ContentDocument) in Lightning

I'm trying to create a link that opens a new note (ContentDocument) in the enhanced editor in Lightning. Alternatively, a link that would take the user to a page that shows a read-only version of the note where they could open the enhanced editor would work.

Could someone point me in the right direction?
Best Answer chosen by Admin BlueJackApps
Admin BlueJackAppsAdmin BlueJackApps
Apparently, you have to link to the Notes viewer panel, like:
<base_url>/lightning/o/ContentNote/home?recordId=<record id>