function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mustafa JhabuawalaMustafa Jhabuawala 

How to pass data through URL parameter to a Lightning Page using navigateToURL ?

I am trying to call a Lightning Page from a quick action. Below are the details - 
  1. Created a quick action and refered a component
  2. #1 component contains a button click of which navigateURL is called
Component Code 
<aura:component implements="force:lightningQuickActionWithoutHeader,force:hasRecordId,force:appHostable" >
    <header class="slds-modal__header">
        <h2 id="modal-heading-01" class="slds-text-heading_medium slds-hyphenate">Heading</h2>
    <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-1">
        <p>You will navigated to XYZ Page. Do you want to proceed ? </p>
    <footer class="slds-text-align_center">
        <lightning:button onclick="{!c.proceed}" class="slds-button_brand" >Yes</lightning:button>&nbsp;
        <lightning:button onclick="{!c.cancel}" class="slds-button_brand" >No</lightning:button>
    proceed : function (component, event, helper) {
        var urlEvent = $A.get("e.force:navigateToURL");
            "url": ''
    cancel : function(){
Note  - For testing purpose I have hardocded the URL and ID.

The problem is when I try to pass the parameters through URL, page is getting re-directed to the correct tab but it doesn't show the label of tab.

User-added image

If I am not passing any parameter in that case it works fine. Check the screen shot'

User-added image

Any help on this would be really appreciated.