1

Refer to pictures. I am trying to insert data into a big object and get the following error

"variable does not exist" and it refers to the textbody

enter image description here

enter image description here

Anyone have any suggestions?

6
  • 1
    Can you check your permissions on TEXTBODY__C field? Commented Oct 25, 2018 at 17:02
  • What variable does it say does not exist? Surely it tells you the name?
    – Adrian Larson
    Commented Oct 25, 2018 at 18:19
  • @AdrianLarson - seems its the TEXTBODY__c -- "variable does not exist" and it refers to the textbody .. don't really see a reason why it would not work.
    – Jayant Das
    Commented Oct 25, 2018 at 18:21
  • Please edit your post to include the error message verbatim.
    – Adrian Larson
    Commented Oct 25, 2018 at 18:22
  • as an aside, if this BigObject is meant to be a single emailmessage, then the API name should be Email_Message__b
    – cropredy
    Commented Oct 26, 2018 at 0:56

1 Answer 1

1

The answer is this, I did not have the permission set for this. Make sure to have it. When you configure a big object, you also configure the permission set for it. When you configure a permission set for it, it is inserted into the database. You must then find it by the name you gave it an assign it to yourself, once you do that you can edit and insert data.

2
  • This answer was flagged by the system because it's a bit on the short side. Can you go into more detail here so that others with the same problem can learn from this? Which permission set did you need? Is there a link you can provide to official documentation? You can add these details by making an edit to your answer.
    – Derek F
    Commented Oct 26, 2018 at 12:42
  • is that better? Commented Oct 26, 2018 at 12:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .