• shakib jahan
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
The default color of map marker is red. I want to change the map marker's color to red when I click on the marker.
Hi, I've spent a few hours trying to make this work so hopefully it's possible and it's my Google fu that is off.

I'm trying to navigate to a Lightning App Builder record page from a custom lightning component, the custom component errors saying it cannot find the component  c:My_App_Builder_Page​   (I've tried a few variations but no luck)
 
// helper
({
    navigateToAppBuilderPage : function(component, event, helper) {
        var recordId = component.get("v.recordId")

        var evt = $A.get("e.force:navigateToComponent");
        evt.setParams({
            componentDef: "c:My_App_Builder_Page",     //developer name in app builder
            recordId : recordId
            //componentAttributes :{ }
        });
        evt.fire();
    }
})

As background the custom component is used as a record view override, it does a callout and then tries to load the app builder page to show the record and related lists.

I would skip using the app builder page and use a custom component but I can't see how to programatically create a record page with related lists