function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
santhosh reddy vancha 11santhosh reddy vancha 11 

How to insert the big object values ?

FieldHistoryArchive__b = new FieldHistoryArchive__b();
                    Fes.ArchiveParentName='test';
                    Fes.ArchiveParentName='testField'; 
                    Fes.ArchiveParentType='text1';
                    Fes.CreatedById='99999';
                    Fes.CreatedDate='147017029742';
                    Fes.Field='tracking';
                    Fes.FieldHistoryType='hii'; 
                    Fes.HistoryId='78909';
                    Fes.Id='5000';    
                    Fes.NewValue='new';
                    Fes.OldValue='old'; 
                    Fes.ParentId='900';
 database.insertImmediate(Fes);
im inserting values  but im getting invaidType object 
Amit Chaudhary 8Amit Chaudhary 8
Please check below post , I hope that will help you
http://amitsalesforce.blogspot.in/2018/03/big-object-in-salesforce-difference.html
http://amitsalesforce.blogspot.in/2018/03/big-object-in-salesforce-difference.html

NOTE:- PLease add value according to object data type. Look like you are passing everything as String in  ''
 
santhosh reddy vancha 11santhosh reddy vancha 11
i was  triging with same but  i'm getting same Exception
 
Akash v 6Akash v 6
@Santhosh- Please try to create the object first and then you can insert the record.Please follow the steps as per given in the below link.

http://​https://www.youtube.com/watch?v=lgqmCqA6eFY

--
Thanks,
Akash
santhosh reddy vancha 11santhosh reddy vancha 11
It should be standard object
Amit Chaudhary 8Amit Chaudhary 8
Yes this is standard object and please pass value according to data type i can see you are passing string value only