• baskar sanigaram 8
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 5
    Replies
i want to write test class for my class where i inserted big object, i tried to give test data for big object but its showing like un supported external object.so how to resolve this,please give sample code.

Hi,i need logic for how to enable field permissions for abject from UI.when we trying to enable editable permission then automatically enable for readable access and when disable readable then automatically disable ediblal permission from logic,please help me.here my logic

if(field.editable == true){
fieldPerm.field = objName + '.' + field.field;
fieldPerm.readable = true;
fieldPerm.editable = true;
}
else if(field.editable == false && (field.readable==true||field.readable==false)){
fieldPerm.field = objName + '.' + field.field;
fieldPerm.readable = field.readable;
fieldPerm.editable = false;
}
else if(field.readable == true){
fieldPerm.field = objName + '.' + field.field;
fieldPerm.readable = true;
fieldPerm.editable = field.editable;
}
else if(field.readable==false){
fieldPerm.field = objName + '.' + field.field;
fieldPerm.editable = false;
fieldPerm.readable = false;
}
But this is not working.please help me

how can we get  deployment ids from org,please reply,thank you
I dont know the way for how to procced deployment into salesforce Org.please anybody know,reply me. 
I have created Lightning component and its working fine as a single component,but when  i embeded into an other lightning component its not working,its showing differnt results in that  But code is same,may i know what is the problem?Please give me solution for that?
i created two lightning compnts.one is to display list view page & other one is for edit page.and i created edit and delete lightng menu options right side of list viewtable,so how to the edit record fields values will populate in my second lightng cmpnt fields when i click the edit .please help me
i want to write test class for my class where i inserted big object, i tried to give test data for big object but its showing like un supported external object.so how to resolve this,please give sample code.