Questions tagged [notes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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
0answers
25 views

Fetch Document Blob value from files

I am trying to create an Apex REST API to get documents from "Files". I want to get the document as a binary/blob value. I used the Rest Explorer in Workbench and could figure out the query as: /...
0
votes
2answers
36 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
0answers
22 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
70 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
16 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(/>/...
0
votes
0answers
31 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
37 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
45 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: ...
0
votes
1answer
136 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 ...
2
votes
1answer
682 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
82 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
82 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
24 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
0answers
23 views

Add New Note Global Action to Outlook Sidebar - Not working

I have created a global action to add a note, but I can't seem to add it to the Outlook page layout. Pretty much, I want to be able to take an email that I receive, click on add note, and have it ...
0
votes
1answer
118 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
60 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
777 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
152 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
33 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
43 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
55 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
42 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
44 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
321 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....
0
votes
1answer
257 views

How to remove “Add to records(Add notes to records)” from Notes in lightning?

Is there a way to restrict adding a Note to different records through "Add to Records" standard button on Notes in lightning?
2
votes
1answer
198 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
134 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
93 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
481 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
692 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
391 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
2k 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
2answers
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
3k 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
188 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
100 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
332 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
59 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
246 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
265 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
754 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
238 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....
17
votes
1answer
2k views

Lightning Components: how to invoke “New Note” panel from custom components?

On the Standard-Related-List "Notes" there is a New Button. This New Button opens a Panel on the bottom of the screen like this: How can I invoke the opening of this "New Note" Panel? I've tried so ...
0
votes
1answer
27 views

How do I change the default on opportunity Notes and Attachments to be NOT private?

opportunity notes and attachments are always set to private by default but Users wanted it be made public by default.
2
votes
1answer
1k views

'Unexpected syntax: 'mismatch input 'insert' expecting RCURLY' on apex test class for trigger

I have a simple Apex trigger I'm trying to write a test for, but I get the error in the title when trying to save (error is at line 15 'insert n;'). I don't get this error in the line that inserts the ...
0
votes
1answer
105 views

Trigger to copy notes body (text) to Lead field

My org has a 3rd party app where Users can submit Leads through an app on their iPad, one issue though is that the app inserts one field as a Note attached to the Lead, rather than as text filled into ...
-4
votes
1answer
139 views

ParentId field is not visible on Note sobject

ERROR: variable ParentID does not Exist on running the following lines Note n = new Note(); try { n.ParentId='a017F0000015hib'; n.Body=note; n.Title='New Note'; ...
0
votes
1answer
375 views

Access to Notes & Attachments for users on a different account

I would like to give access to attachments on one account to users on a different account. The users have Customer Community User profile, as far as I have tried manual sharing isn't possible. Is ...