You need to sign in to do that
Don't have an account?
Karan Sampat 64
unable to add fields via apex to big object
I am able to create a big object , also add fields for it . I have created PermissionSet .
When i am trying to insert fields via apex , i get error for non indexed field . It shows 'variable doesnt exsit ' , I am able to add values via apex to indexed fields .
Help will be appreciated .
When i am trying to insert fields via apex , i get error for non indexed field . It shows 'variable doesnt exsit ' , I am able to add values via apex to indexed fields .
Help will be appreciated .
Mark as best answer, If it resloves !!
you cannot add new fields into Big objects, you need to create a field while creation of big object only.
If you are update records try to use insertImmediate , you can do that using apex Check these PDF for more info page no : 14
https://resources.docs.salesforce.com/214/latest/en-us/sfdc/pdf/big_objects_guide.pdf
Mark as resloved if it helps :) :)
Thanks,
Bhanu Prakash
visit ForceLearn.com (https://www.forcelearn.com)
Were you able to resolve this? I am having the same issue with my own Big Object.
The Big Object has 10 fields, two of which are indexed. The permission set file has editable on each field set to true. When I attempt to insert records via Apex in the Developer Console, I receive a "Variable not found error". However, I can insert a record which has only the indexed fields populated.
In troubleshooting, I attempted to follow along with the Trailhead module (https://trailhead.salesforce.com/en/content/learn/modules/big_objects/big_objects_define_custom_big_objects) and I receive the same error when working with the test big object.