Questions tagged [notes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

ContentDocumentLink Trigger for Sharing with Admin

I ran into an issue where users have been using the standard notes object in Salesforce and when it came to pull a report I was not able to find any notes. After looking into it further, I discovered ...
0
votes
0answers
15 views

Migrate Images in content notes to other ORG

We are trying to migrate content note from one org to other org(destination ORG uses text area so will upload images in notes to attachments)I want to read all the images in content notes and extract ...
0
votes
2answers
17 views

How to import Note(Note) for existing contacts

I have many contacts, need to connect existing notes from .csv file. To import the note will I need to use the Note(Note) object or Note(ContentNote)? I need help to import notes from CSV file for ...
0
votes
0answers
26 views

Notes Component on Campaign Member Layout

I see that the Notes component is available on most Objects except the Campaign Member Object. I'd like to add the notes component to the Campaign Member page layout and lightning page. Is there are ...
0
votes
1answer
33 views

'Enable Notes' strange behaviour

When in Notes Settings 'Enable Notes', there are some strange situation. They stop appear like Note records, and i don't know what object they represent now. And, logically, they don't appear in '...
0
votes
2answers
69 views

Migrating Notes Into Salesforce

I am trying to migrate notes from another CRM into Salesforce. Based on the salesforce documentation (link below) it seems to imply I need to have my notes in text file format to import them into the ...
0
votes
0answers
21 views

Notes migration from Salesforce ORG showing html tags

Migration of Notes: we migrated .notes from DEV org to PROD org but when I open the notes in the PROD I'm getting html tag along with the notes something like this: > <p>&nbsp; &nbsp; ...
0
votes
0answers
179 views

Unable to create notes for task object in Community, Invalid Cross Reference Key

I have a screen flow that takes some input from the users on case screen and creates a task on case and then creates a note on the task created in previous step. Issue is, when i am trying to do this ...
1
vote
1answer
510 views

Enhanced Notes in salesforce Lightning

We have enabled the Enhanced Notes in our Instance and added the related list in to the page layout. When our users add a note using the enhanced notes other users can only view them and cannot edit ...
0
votes
0answers
29 views

How to export content note for other users via data loader

When I export Content Notes via Data Loader I only get the records I own. How can I export ContentNotes for other users? Here is the query: Select Content, ContentSize, CreatedById, CreatedDate, ...
0
votes
2answers
55 views

New Note saved in a Note&Attachment relatedList

I want to save a new Note to a Lead via apex. I create a new Note : Note n = new Note(); n.Body = body; n.Title=title; n.ParentId = Id.valueOf(s); // Lead Id n.IsPrivate = false; Insert n; But ...
1
vote
1answer
82 views

CreatedById Doesnt Work

I am currently developing an external application that uses the Salesforce REST API to consume. The POST method to the endpoints /services/data/v47.0/sobjects/ContentNote&& /services/data/...
0
votes
1answer
26 views

Notes & Files related questions

Have a few queries regarding the new Notes . I have searched a few documentation . But havn't foun how this can be removed? How can we restrict Notes sharing option for any particular profile?
0
votes
2answers
691 views

Trigger on ContentDocument/ContentVersion Firing before "After Insert"

So I've seen related questions to this about triggers not firing on ContentDocument, however my trigger is firing - just before the record is saved. I am trying to make an After Insert Trigger on ...
0
votes
1answer
18 views

Notes not getting saved due to html characters

I am trying to escape all html characters with this function : strNotes.replace(/&/g,'&amp;').replace(/'/g,'&apos;').replace(/"/g,'&quot;').replace(/</g,'&lt;').replace(/>/...
1
vote
0answers
90 views

How to restrict user from adding images to Enhanced Notes in Lightning for some custom objects

Is it possible to restrict user from adding images in the Enhanced Notes for specific custom objects. The image button is highlighted as shown in the below image. As we in Lightning have requirements ...
1
vote
1answer
129 views

How to remove Notes & Attachments from all layouts now that I have Files and Enhanced Notes?

Is there an easier way than to go to each Page Layout in Salesforce and remove manually from each? like maybe to un check something on the profile or the User? I already have Files and also Enhanced ...
0
votes
0answers
123 views

While converting classic notes to Lightning enhanced Content Notes getting UNSAFE_HTML_CONTENT error on versionData field.!

We are migrating from Classic to Lightning, In this process we are converting classic Notes to Lightning supported Note (ContentVersion). We have a batch which does this job, getting below error: ...
1
vote
1answer
1k views

Inserting of Notes using Workbench

When I try to insert a note using Workbench, I get the following error: "UNKNOWN ERROR: Too many object types to load: 146." with the following fields rendered: Body IsPrivate OwnerID ParentID If I ...
4
votes
1answer
5k views

Export and Import of Salesforce Files and Notes from one production org to another production org

I have completed a data export of an org we acquired through the following steps: In Setup, navigate to Data Management | Data Export Click on either Export Now or Schedule Export button, whichever ...
-2
votes
2answers
325 views

Trying to prevent deletion of a Note with a before delete trigger. Below code is not working [closed]

Please find the below code: trigger DeleteNote on Note (before delete) { for(Note N : trigger.old){ if(Trigger.isDelete){ N.adderror('Note Cannot be deleted'); } ...
0
votes
1answer
134 views

Notes. Mass Upload. Hitting some limit and getting "Note can't be saved"

I'm doing data migration and need to upload ~500k Notes. 192k Notes were uploaded and now I'm getting Note can't be saved error via API and Note contains characters that can't be saved when trying to ...
0
votes
1answer
50 views

How to attach files related to SObject in the LEX Email composer?

At the moment, it is not possible to use files attached to an SObject under the Notes and Attachment (through the Attachment API) in the LEX Email composer. The need to download these files and re-...
0
votes
1answer
305 views

Is it possible to add a mass quick action/button to Account listview to create a Note?

I created a new quick action to Add a Note on the Account object, but even though I go to the Search layout/List this action is not available there. Is it possible to do this? I would like to select ...
1
vote
1answer
175 views

Note related list on Account does not show any input

I try to find the object for the Note related list on Account (NOT the notes and attachments list!). We have input in Notes, but when I query on the standard object Note no data is shown. Where can I ...
1
vote
2answers
1k views

"Note can't be saved" error on ContentNote insert

I'm trying to create ContentNote records from Note ones but it's always giving me this particular error: FATAL_ERROR System.UnexpectedException: Note can't be saved Code: List<Note> noteLIST ...
1
vote
0answers
397 views

Permission missing for creating Notes in Lightning Experience

I have a custom link to redirect the user to create a new note. In Salesforce classic, the custom link works and the user is able to create a note. When I switch to Lightning Experience and click the ...
0
votes
0answers
37 views

Notes and Attachment Issues

I have a Custom Object record that I went ahead and added an image attachment to and I also created a note related to that user. I am having two problems: 1) I tried using this solution in the dev ...
0
votes
0answers
150 views

Unable to view the complete PDF document in salesforce classic Preview and Lightning Quick View

We have PDF document attached in the Opportunity notes and attachment section in salesforce. When we click on Preview in salesforce classic it wont show us Page 5 and 6 of the PDF. Similarly, In ...
2
votes
1answer
297 views

Possible to Prevent Users from Deleting Their Own Notes

I have enabled Notes from "Note Settings" and am using them with Accounts I understand that access to notes is controlled by access to the associated object/record, and sharing settings for the note. ...
0
votes
0answers
150 views

Partner portal user unable to see notes created by Salesforce users on leads

Leads have been passed from Salesforce users to Partner portal user but Partner portal users with Partner community license are unable to see notes created by Salesforce users on the lead however ...
2
votes
1answer
54 views

How to verify in APEX if the organization has notes enabled?

To be more specific, I am talking about the 'new' notes introduced with the Summer '15 release link Would it be enough to verify if ContentNote is available by using: Boolean isNotesEnabled = ...
2
votes
1answer
498 views

Magic Mover Conversion Tool

I installed the Magic Mover conversion tool. We're looking to convert in sandboxes first then convert our production environment. I tested 1 record in our partial sandbox. Magic mover worked just fine....
2
votes
1answer
461 views

Exporting Related Object Records - Bulk Api / DataLoader

I am looking to export only case comments and notes related to particular standard and custom objects. Ex: All CaseComments for cases of a particular record type. All notes for a custom object with a ...
2
votes
2answers
183 views

Custom exception on Enhanced Notes

I need to write a trigger on a Enhanced Notes ( which are stored as ContentNote records ). I need to match a certain text in the note body and then show the custom exception on the note component ...
0
votes
1answer
129 views

When converting Classic Notes to Enhanced Notes -- what object do the Converted Classic Notes live on?

I can't find them on ContentVersion or ContentDocument. If I create a NEW Enhanced Note, those live on ContentNote. But what about the converted ones? They are no longer on the Note object either.
1
vote
2answers
908 views

Content Notes from CSV not uploading via Data Loader

We are attempting to upload a CSV containing local drive links to text files and html files. We want these to become "Content Notes". Data Loader keeps throwing errors when we attempt to upload (see ...
0
votes
1answer
983 views

Data Loader not exporting notes despite records in system

While we are able to export other objects, and can see Notes in the system under Contact records, Data Loader exports only headers and no records under Export All. We are using the "Notes" and "Files" ...
0
votes
0answers
657 views

Notes and Attachments permissions

I thought the standard "notes and attachments" section inherited the permissions from the object its under. For instance, I have "Create" permission attributed to the Account object and I have able to ...
0
votes
1answer
3k views

What's the difference between "Files" and "Notes & Attachments" related Lists? [duplicate]

What's the difference between "Files" and "Notes & Attachments" related Lists? They seem to be a carbon copy of each other whenever I upload a file to one or the other.
4
votes
1answer
1k views

ContentNote not inserting

I am trying to insert a new ContentNote and link it to an opportunity with ContentDocumentLink. However, after inserting the content note, the ID returns as NULL, so referencing it in the ...
0
votes
2answers
5k views

Error with ContentDocumentLink insert

I am receiving this error when I try to create a Note and inserting it to an opportunity. The opportunity is valid and there is no documentation of requiring the field, "document" for ...
0
votes
1answer
393 views

How can I add a free form text field to the contact details page

I'd like to have a text field maybe 80x8 characters on the Contacts page just to make quick notes without having to go to the related tab and create a note. Do other people have this need, and if so, ...
0
votes
0answers
140 views

Partner Community User to see Notes RL

I am trying to show the Notes Related List on community page for a user having Partner Community user license, but its not coming up. Also, I want to add notes from community which I want to share ...
0
votes
1answer
534 views

ContentNote not showing correctly

I'm linking a ContentNote to a Lead object, but the notes that i've been making are showing symbols like "��br��z{^�Ʃx{f" instead of what is provided in the post call to the api. Any ideas on why ...
0
votes
0answers
114 views

How to restrict specific profiles to create note

I need to restrict users with a specific profile to create Note in Salesforce for under lead object. I know that Note object will inherit access level from parent Lead. I need lead to be accessible ...
0
votes
1answer
296 views

How to create report for Notes object content?

I have a requirement in which client needs monthly data of all the notes related to every lead . This result in huge data which I am doing manuallly now. I query data from workbench and prepare ...
1
vote
0answers
309 views

How to show error msg in ContentNote?

I want to show error msg whenever notes get created without attaching to any records. As trigger on ContentNote is not available I've written Trigger on ContentDocumentLink, but I am not able to show ...
1
vote
2answers
819 views

Notes and attachment in Winter'18 release

In winter'18 Notes & Attachments related list will no longer have an Upload File button. In my application, I am inserting the attachment using apex code. I just want to confirm if we can still ...
1
vote
2answers
377 views

Assigning owner to ContentNotes

I am trying to assign the OwnerId to ContentNote (Notes) using Data Loader on new inserts, however I get the following error: Documents in a user's private library must always be owned by that user....