• Swapnil Barad 34
  • 69 Points
  • Member since 2016

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 5
I have created a simple lightning component in developer org and added standard <ui:inputDateTime in this component.(see below lightning component code). The issue is, When I try to select the time 4.PM on 30th sept 2017(one day before daylight saving start )  its showing me 3.00 PM.

lightning component code : - 

<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" >
    <aura:attribute name="fromDt" type="datetime"/>
    <div class="slds-input">
    <ui:inputDateTime aura:id="startDate" class="dateInput" value="{!v.fromDt}" displayDatePicker="true" />

Screenshot : 
User-added image

Can anyone help me to overcome this issue? 

Thanks in Advance,
Hi , I am also facing some problem with salesforce Trailhead SOQL injection Challenge, I tried many ways but still i am getting error .
can you suggest me where i am going wrong ?
​Thank you 


public class SOQL_Injection_Challenge {
    public string textual {get; set;}
    public List<Supply__c> whereclause_records {get; set;}
//SELECT Id,Name,Quantity__c,Storage_Location__c,Type__c FROM Supply__c
    public PageReference whereclause_search(){
        string query = 'SELECT Id,Name,Quantity__c,Storage_Location__c,Storage_Location__r.Castle__c,Type__c FROM Supply__c';
        string whereClause = '';
        if(textual != null && textual!=''){
                whereClause += 'name like  \'%'+textual+'%\' ';
        if(whereClause != ''){
            whereclause_records = database.query(query+' where '+whereClause+' Limit 10');
        return null;
    public void validate(string s, integer i){
      if(s.contains('\'%') && s.containsIgnoreCase('Nobles_Only__c') && s.contains('%\'') && i<10){
        cvcs__c  v = cvcs__c.getInstance('sic1');
          v = new  cvcs__c(name='sic1',c1__c = 1);
        } else {
            v.c1__c += 1;
        upsert v;

  • September 25, 2017
  • Like
  • 0

I'm stuck at the first challenge where it always returns me:
Could not find an entry in the ServiceCredentials custom setting named 'BillingServiceCredential' with the specified username and password. Ensure the you have entered the data correctly into the custom settings record.
I think that I did everything right. The unmanaged package came with a custom setting called ServiceCredentials:

User-added image
I clicked manage and added the BillingServiceCredential

User-added image

With following details
User-added image

Still giving me above error!
Any ideas?


Hello there,

I'm trying to achieve the Build a Lemonade Stand App - Create Reports and Dashboards challenge and I have this error :

Challenge Not yet complete... here's what's wrong: 
The 'Sales Dashboard' dashboard does not have a Donut chart with the Order Total by Flavor report.

My dashboard does contain the report with a donut, could someone please advise ?

Thanks a lot.
Why would the Switch perspective and view log panels be greyed out.  I added all of the permissions I thought I would need.  Is there something I am missing?