You need to sign in to do that
Don't have an account?
Krishna Kumar 148
Developer Intermediate Define Custom Big Objects
Struck on the new trail for the BigObject. Created those Bigobject using workbench. Can see the object on the Org. However, on validating throws up error "Challenge Not yet complete... here's what's wrong:
Couldn’t find the correct information. Please double check the instructions." bit difficult judge on the problem. I can send the .xml files for verification.
Couldn’t find the correct information. Please double check the instructions." bit difficult judge on the problem. I can send the .xml files for verification.
https://developer.salesforce.com/docs/atlas.en-us.bigobjects.meta/bigobjects/big_object_define.htm
Rider_History__b.object: Rider_History_Big_Object.permissionset: package.xml:
Object & permission set is successfully validated and deployed on the org, object exists, along with permission set. Yet I get the error... Any ideas?
While deploying Big Object make sure that you uncheck the 'Check only' box.
Thanks,
Arpit vijayvergiya
Please check the code xml below.
Thanks all, I have figured out the issue could be because some tag mismatch b/w Object and expected metadata from Salesforce. The only diff that come to me is on the <unique>false</unique> false under Rating feild. Kindly check from your side.
Thanks,
Krishna
1)Create xml file with name "rider_history__b.object" and not "Rider_History__b.object" uppercase willl make difference.
2) paste the following code in it.
3)Create xml file with name "rider_history.permissionset" and not "Rider_History__b.permissionset" uppercase willl make difference.
4) paste the following code in it.
5)Create xml file with name "package" and not "Package" uppercase willl make difference.
6) paste the following code in it.
7) Create a folder named "objects" and not "Objects" or "object". Uppercase and s will make a difference.
8) Move the file "rider_history__b.object" in "objects" folder.
9) Create a folder named "permissionsets" and not "Permissionsets" or "permissionset". Uppercase and s will make a difference.
10) Move the file "rider_history.permissionset" in "permissionsets" folder.
11) add these two folders and file "package" in a zip.
12)now after adding these files the file name of "rider_history__b.object" in "objects" folder will have been changed to "rider_history__b.object.xml".
kindly remove the .xml from that file name.
13)the file name of "rider_history.permissionset" in "permissionsets" folder will have also been changed to "rider_history.permissionset.xml".
kindly remove the .xml from that file name.
14)goto workbench. select version 41.0. login. goto migration. deploy. add zip file.
15)Note uncheck "Check only" and check 'Single package'
16)deploy
-----
"sf__Id","sf__Error","Campaign_Member__c","Contact_Member__c","Sent_Status__c" "","UNKNOWN_EXCEPTION:EXTERNAL_OBJECT_UNSUPPORTED_EXCEPTION: A callout failed because an Apex operation has pending uncommitted work. The Apex code needs to commit or roll back before callouts can be performed in the same transaction.:--","70117000001TjWN","0031700000l9JZQ","Sent" "","UNKNOWN_EXCEPTION:EXTERNAL_OBJECT_UNSUPPORTED_EXCEPTION: A callout failed because an Apex operation has pending uncommitted work. The Apex code needs to commit or roll back before callouts can be performed in the same transaction.:--","70117000001TjWN","0031700000l91Ng","Sent"
----
Could someone help with the above query?
Thanks,
I solved the issue by following the steps.
Step 1: Create a file named "Rider_History__b.object" and paste the code below.
============================================================
<?xml version="1.0" encoding="UTF-8"?>
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
<deploymentStatus>Deployed</deploymentStatus>
<fields>
<fullName>Start_Location_Lat__c</fullName>
<label>Start Location Latitude</label>
<required>false</required>
<type>Number</type>
<precision>7</precision>
<scale>4</scale>
</fields>
<fields>
<fullName>Start_Location_Long__c</fullName>
<label>Start Location Longitude</label>
<required>false</required>
<type>Number</type>
<precision>7</precision>
<scale>4</scale>
</fields>
<fields>
<fullName>Start_Time__c</fullName>
<label>Start Time</label>
<required>true</required>
<type>DateTime</type>
<unique>false</unique>
</fields>
<fields>
<fullName>End_Time__c</fullName>
<label>End Time</label>
<required>false</required>
<type>DateTime</type>
<unique>false</unique>
</fields>
<fields>
<fullName>Service_Type__c</fullName>
<label>Service Type</label>
<length>16</length>
<required>false</required>
<type>Text</type>
<unique>false</unique>
</fields>
<fields>
<fullName>Rider_Account__c</fullName>
<label>Rider Account</label>
<length>16</length>
<required>true</required>
<type>Text</type>
</fields>
<fields>
<fullName>Rider_Rating__c</fullName>
<label>Rider Rating</label>
<required>false</required>
<type>Number</type>
<unique>false</unique>
<precision>2</precision>
<scale>1</scale>
</fields>
<indexes>
<fullName>Rider_History_Index</fullName>
<label>Rider History Index</label>
<fields>
<name>Rider_Account__c</name>
<sortDirection>DESC</sortDirection>
</fields>
<fields>
<name>Start_Time__c</name>
<sortDirection>DESC</sortDirection>
</fields>
</indexes>
<label>Rider History</label>
<pluralLabel>Rider Histories</pluralLabel>
</CustomObject>
=================================================
Step 2: Create a file named "Rider_History.permissionset" and paste the below code.
=================================================
<?xml version="1.0" encoding="UTF-8"?>
<PermissionSet xmlns="http://soap.sforce.com/2006/04/metadata">
<fieldPermissions>
<editable>true</editable>
<field>Rider_History__b.Start_Location_Lat__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>Rider_History__b.Start_Location_Long__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>Rider_History__b.End_Time__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>Rider_History__b.Service_Type__c</field>
<readable>true</readable>
</fieldPermissions>
<fieldPermissions>
<editable>true</editable>
<field>Rider_History__b.Rider_Rating__c</field>
<readable>true</readable>
</fieldPermissions>
<label>Rider History Permission Set</label>
</PermissionSet>
=========================================
Step 3:Create a file named "package.xml" and paste the below code.
============================================
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>CustomObject</name>
</types>
<types>
<members>*</members>
<name>PermissionSet</name>
</types>
<version>41.0</version>
</Package>
=======================================
Step 4:Create a folder named "objects" and move the "Rider_History__b.object" file into it.
Step 5:Create a folder named "permissionsets" and move the "Rider_History.permissionset" file into it.
Step 6:Create a folder named "Rider History" and move the "objects folder, permissionsets folder and package.xml" file into it.
Step 7:Now open your "Rider History" folder, Select all i.e., your two folders and .xml file and compress there itself with a name "sample.zip".
NOTE : You must have to compress your files and folders in the "Rider History" folder only but not outside of the folder.
Step 8:Open the Workbench tool in a window and login.
Step 9: Under "Migration" tab, select "deploy". Now choose your "sample.zip" file and check the "Single Package" checkbox.
As it is worked for me, I hope it will works as it. Please let me know if you are facing issues.
Thanks and Regards
Nagarjuna Parala
"We couldn't find a field with the label 'Start Location Latitude' and name 'Start_Location_Lat__c'. Double check the instructions and try again."
but object has successfully deployed
i do not seem to find anything on this issue.
Does anyone know how to fix this problem? please help!
1. setup - Big Objects
2. Click Newto create a big object.
3. and plugin all the challenge equirements mnually rather than using work bench or xml files.
this will literally take 5 min lol
you're welcome.