• adityavarma chekuri
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
I may be overthinking this, but want to make sure they aren't twisting the terminology on us like they tend to do with Superbadges.

For the final part of Challenge 2, under the "Support Is a Team Sport" portion of the requirements, it talks about creating Customer Contact and Support Lead roles. Are those actual Salesforce Roles or more akin to Case teams?

The main reason I ask this is because the Error Message I get mentions something not spelled out in the requirements that I could see:

"Challenge Not yet complete... here's what's wrong:
We can't find the 'Customer Case Team' role. Ensure the Customer Contact can be tracked on Cases."

However, the requirements don't specifically mention creating a 'Customer Case Team' role.

Hello outhere!

Looking for some help with this js controller that is giving me the following error (attached a full image of the component error too):

Uncaught Error in $A.getCalleback() [Cannot read property 'style' of null]
It's referencing the JS controller as the culprit: floatingMarqueeHelper.js

The scrolling marquee does show up but I have to clear the error message out each time which isn't good practice. 

I will include all my component code below for any insights into this. 

Thanks!

floatingMarquee.cmp
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,force:lightningQuickAction" access="global" >
    
    <aura:handler name="init" value="{!this}" action="{!c.doInit}" />
    <aura:attribute name="intervalId" type="Integer" default="0"/>
    
    <div id="parentDIV" style="overflow:hidden">
        <p style="position:relative;" id="tofloat">
            <b><span style="color:red">Important Note : </span>
                Get it Done Today</b>
        </p>
    </div>
</aura:component>



floatingMarqueeController.js
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,force:lightningQuickAction" access="global" >
    
    <aura:handler name="init" value="{!this}" action="{!c.doInit}" />
    <aura:attribute name="intervalId" type="Integer" default="0"/>
    
    <div id="parentDIV" style="overflow:hidden">
        <p style="position:relative;" id="tofloat">
            <b><span style="color:red">Important Note : </span>
                Get it Done Today</b>
        </p>
    </div>
</aura:component>


floatingMarquee.css
.THIS#parentDIV{
    font-size: 1rem;
    background: white;
    background-clip: padding-box;
    height: 50px;
    margin: 0px;
    padding: 1rem;
}


floatingMargueeHelper.js
({
    shiftDiv: function(component, event,lWidth) {
        var changeposition = component.get("v.intervalId");
        var floatElement = document.getElementById('tofloat');	  
        if(changeposition < lWidth){
            floatElement.style.left = changeposition+'px';
            changeposition = changeposition + 5;
            component.set("v.intervalId",changeposition);
        }
       
        else{
            component.set("v.intervalId",0);  //reset left to 0
            floatElement.style.left = "0px";
            changeposition = component.get("v.intervalId"); //resets to trigger the IF block, similar to a loop
        }
    }
})
 



 

need salesforce support in california timings