• Sandeep Lohani
  • NEWBIE
  • 5 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
After installing VS Code and adding the Salesforce extensions, I get the error: "Java 8 is required to run. Download and install it from https://java.com/en/download/.", although I have Java 9 running. What can I do to fix that?

I clicked on Reset Security Token in my salesforce account about 3-4 times today but I have not yet received the security token on my email. I have also checked my Junk folder. What could be the problem?

Is anyone using the Bing map within Salesforce?  If so, where did you get the images to use as the pinpoints for locations?

I need to check datatype for some fields of my custom object.

String type= 'MyCustomObject__c'; // Say,this is my object
Map<String, Schema.SObjectType> schemaMap = Schema.getGlobalDescribe();
Schema.SObjectType leadSchema = schemaMap.get(type);
Map<String, Schema.SObjectField> fieldMap = leadSchema.getDescribe().fields.getMap();
for (String fieldName: fieldMap.keySet()) {
String mylabel;
//It provides to get the object fields label.
mylabel = fieldMap.get(fieldName).getDescribe().getLabel();
}
Now this type i.e. Object Name is varying time to time and I need to check fields data type.