• Agboola Damilola
  • NEWBIE
  • 5 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 5
    Replies
Hi All,
In Salesforce Lightning, do we have any option to remove/disable the Drilldown/View report hyper link on Dashboard?.

Thanks,
Naren
How we can get WhatsAPP Api key
Hello everybody.

I wish to get the value of a parameter on a tag <li> but I d'ont know how to make.
I tried with "event.getsource" or "event.target.value" but unsuccessfully.

Can you help me.


Component
<aura:component controller="MEIKO_99_Account_Search_Controller">   
    
    <lightning:button name="myButton" onclick="{!c.Select}"/>
    
    <!-- CREATE ATTRIBUTE/VARIABLE-->
    <aura:attribute name="searchResult" type="List" description="use for store and display account list return from server"/>
    <aura:attribute name="searchKeyword" type="String" description="use for store user search input"/>    
    
    <div style="height: 15rem;">
        <div class="slds-form-element">
            <div class="slds-form-element__control">
                <div class="slds-combobox_container">
                    <div class="slds-combobox slds-dropdown-trigger slds-dropdown-trigger_click slds-is-open" aria-expanded="false" aria-haspopup="listbox" role="combobox">
                        <div class="slds-combobox__form-element slds-input-has-icon slds-input-has-icon_right" role="none">
                            <lightning:input name="Input_SearchText"
                                             label="Compte Client"
                                             value="{!v.searchKeyword}"
                                             placeholder="Search..."
                                             class="slds-input slds-combobox__input"
                                             onchange="{!c.Search}" />
                        </div>
                        <div id="listbox-id-1" class="slds-dropdown slds-dropdown_length-with-icon-7 slds-dropdown_fluid" role="listbox">
                            <ul class="slds-listbox slds-listbox_vertical" role="presentation" id="AccountList">
                                <aura:iteration items="{!v.searchResult}" var="acc" indexVar="count">
                                    <li role="presentation" class="slds-listbox__item" onclick="{!c.Select}" name="test">
                                        <div id="{!'Option' + count + 1}" class="slds-media slds-listbox__option slds-listbox__option_entity slds-listbox__option_has-meta" role="option">
                                            <span class="slds-media__figure">
                                                <span class="slds-icon_container slds-icon-standard-account">
                                                    <lightning:icon iconName="standard:account" size="x-small" alternative-text="Account"/>
                                                </span>
                                            </span>
                                            <span class="slds-media__body" >
                                                <span class="slds-listbox__option-text slds-listbox__option-text_entity">{!acc.Name}</span>
                                                <span class="slds-listbox__option-meta slds-listbox__option-meta_entity">Account • {!acc.Phone}</span>
                                            </span>
                                        </div>
                                    </li>
                                </aura:iteration>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</aura:component>

​Controller
Select: function(component, event, helper) {
        var value = event.target.value;
        //event.getSource().get("v.name")
        alert(value);
    }

 
Hi,
 I have a developer account and i would like to login to Sandbox (https://test.salesforce.com) but i am unable to login to test.salesforce.com

How can i login to the sandbox site?

Thank you.