• VIKASH CHAND KUMAR
  • NEWBIE
  • 30 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 16
    Questions
  • 6
    Replies
I have got jks certificate from client, and want to use to connect cleint server to get files.

any idea how to do that ? any url or any help link will also help. completely blank on this.
Hi all,

i am trying to write one custom button which should open only one custom object, i want to restrict user to see other standard and custom object. is it possible ? could you please guide here.
Hi, i want to print follwing lines in lightning component.

""please email us on email vikuemail.com or call us on 234 567 890""

1. i want email to show in highlighted in email format, so that when i click on email, it should be direct email. and also phone number highlighted in different color.
2. i want to use this in custom settings, so that based on requirement this statement can be changed.

i wrote a list of String returning both these values in apex, which will be returned to JS and then will be used by component.

but confused, how to implemnt this.
Can anyone please help.
I am always getting this error "ContactDetails$controller$locationChange [Cannot read property 'indexOf' of undefined] Failing descriptor: {ContactDetails$controller$locationChange}" Not sure what is wrong, can you please help

My component is 

<aura:component controller="ContactController">

    <aura:attribute name="contact" type="Contact" default="{'sobjectType': 'Contact'}"/>
    <aura:handler event="aura:locationChange" action="{!c.locationChange}"/>

    <div class="details">
        <h1>{!v.contact.Name}</h1>
        <h3>{!v.contact.Account.Name}</h3>
        <h3>{!v.contact.Title}</h3>
        <p>{!v.contact.Phone}</p>
        {!v.contact.MobilePhone}
    </div>

</aura:component>



and Controller is



({
    locationChange : function(component, event, helper) {
        
        var token=event.getParam("token");
        if(token.indexOf('contact/')===0)
        {
            var contactId=token.substr(token.indexOf('/')+1);
            var action=component.get("c.findById");
            action.setParams({"contactId":contactId});
        }
        action.setCallback(this,function(response){
            
            component.set("v.contacttt",response.getReturnValue());
        })
    $A.enqueueAction(action);
    }
})
Hello I've installed Lightning Connect Quickstart via trailhead. Step 4 says select the External Orders app. Question - where is External Orders app found? After I find it I need to click Set Customer IDs to assign customer ID numbers to the sample account records in my Developer Edition.