Questions tagged [contentnote]
The contentnote tag has no summary.
68 questions
0 votes
0 answers
51 views
Preventing a Saved Note from being edited once created
I'm trying to prevent a saved note from being edited once it has been created. Below is the apex trigger I wrote to prevent editing which works but I'm running into a problem now where I can't create ...
0 votes
1 answer
909 views
How to Query ContentNote in Apex and show it in LWC Component
I am running the below SOQL to query to show 5 to 10 Notes records on in a LWC component based on certain conditions SELECT Id, Title, LatestPublishedVersion.VersionNumber, LatestPublishedVersion....
0 votes
1 answer
487 views
"Notes" related list is missing for PersonEducation object
We enabled notes in setup. Most objects have "Notes" in the related list. However, it is missing for PersonEducation. From the documentation, LinkedEntityId in ContentDocumentLink does ...
0 votes
1 answer
412 views
Clear Blob data from ContentNote Content to use in flow
Very new to Salesforce. I'm trying to put together a little Apex Class to use as an action in a Flow. The Goal is to take the Content from a contentNote and clear the Blob data to then display the ...
0 votes
1 answer
245 views
JSONDecodeError while accessing Salesforce's ContentNote content using simple-salesforce
I am trying to access the content from the contentnote object. I queried ContentDocumentLink where i passed account id as LinkedEntityId and got the ContentDocumentId. Using ContentDocumentId, I ...
0 votes
0 answers
466 views
Need help with a trigger to update custom field based on new ContentNote
I am having an issue getting this trigger to fire. The requirements are that when a new ContentNote is created on the Opportunity record, I need Opportunity.Last_Note__c to update with the Title of ...
0 votes
2 answers
166 views
What is the most performant way to check if Content Notes is enabled in a org?
Is there a more performant way to dynamically detect if Content Notes is enabled? I see that getGlobalDescribe can be used to check the presence ContentNote, if it present then is enabled. Usually, ...
7 votes
1 answer
365 views
How is the IsReadOnly attribute used on ContentNote?
I'm trying to create a read-only "enhanced note" and I see that there is a property on ContentNote for IsReadOnly which would work perfectly for the use case but unfortunately: Line: 1, Column: 17 ...