• Bhuvaneshwari R 1
  • NEWBIE
  • 25 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies

Is is possible to navigate to a custom component when ever we click a custom notification sent using Process builder?

Currently when we click the notification it is being redirected to the particular record.

At present, lightning:map displays standard icon for all the markers inside the map. Is there any workaround or css available to show few locations with different icons?

Is is possible to navigate to a custom component when ever we click a custom notification sent using Process builder?

Currently when we click the notification it is being redirected to the particular record.

I am calling apex class from helper.js and want to store the return string in a var or attribute. But the return string from apex is not getting stored in any of these. Its always coming as undefined. Could anyone help me in this:

    ({
   
    helpermethd1:function(component, event, helper)
    {
        var locale = $A.get("$Locale.language");
        var returl = component.get("v.backUrl");
        console.log('returl>>>'+returl);
       
        if($A.util.isEmpty(returl) && $A.get("$Label.c.a1")===locale){
            debugger;
            
            var tokendecoded=helper.getURLParamWithoutDecode('token');
            var action=component.get("c.returl");
           
            action.setParams({"tokenSF":tokendecoded});
            action.setCallback(this, function(response){
                var state = response.getState();
                if (state === "SUCCESS"){
                    alert('success');
                    var retrnvalue=response.getReturnValue();
                    
                    if(retrnvalue!=null){
                        returl=retrnvalue;
                    }
                    else{
                        returl=$A.get("$Label.c.abc");
                    }
                }
                else
                {
                    returl=$A.get("$Label.c.abc");
                }
            });
            
            debugger;
                               
        }
        else if($A.util.isEmpty(returl)){
          
            returl = $A.get("$Label.c.xyz");
            console.log('returl UK'+returl);
           
            debugger;
        }
        $A.enqueueAction(action);
        window.open(returl,'_top');
       
   
},
   getURLParamWithoutDecode : function(identifier)
    {
        .......
        .....
    }   
   
})

Apex:
public without sharing virtual class sample {
@AuraEnabled public static String redirectURL(String tokenSF){ return abc;
  • September 17, 2020
  • Like
  • 0
At present, lightning:map displays standard icon for all the markers inside the map. Is there any workaround or css available to show few locations with different icons?