Questions tagged [forcenavigatetourl]

For questions related to the force:navigateToURL component in lightning. It is used to Navigate to a specified URL (Relative or absolute).

Filter by
Sorted by
Tagged with
2
votes
1answer
57 views

Navigate to specific tab on the Account Object

Hi I have created a tab name "Test Client" on the Account Object, beside the previously present Details tab. So there are two tabs on the flexipage of the Account Object == "Details&...
0
votes
1answer
106 views

How to use the force:navigateToURL from flow

I have a simple flow which i start with a button this has a screen component with a lightning component. I expect on clicking the button to be navigated to a record. To keep it simple I created a ...
0
votes
0answers
46 views

Open External URL from Salesforce Mobile App does not come back if back button is clicked

I am facing issue while coming back from external URL within Salesforce Mobile app built using LWC I am using and navigating to an external URl from salesforce mobile app. However, if we click ...
0
votes
1answer
252 views

How to set redirect url for flow using NavigatetoURL option in Aura component

I have embed a flow in aura component. This is my component class: <aura:component implements="forceCommunity:availableForAllPageTypes, lightning:availableForFlowScreens" access="global"> <...
0
votes
1answer
130 views

Navigate to LWC from custom VF component w/outputLink

I need to update an existing custom VF component to navigate to an lwc instead of a VFP. Can I make this work or should I be using a different pattern? lwc myLWC vfp myVFP code <apex:component ...
0
votes
1answer
35 views

Pass values of record from Salesforce to Servicenow using e.force:navigateToURL

When doing this even the Status of the Case should be changed to "Closed." So we have created a Apex Controller where we are changing the status of the case and called it in the Lightning Component. ...
1
vote
1answer
525 views

Lightning pageReference() returns null

I have two components OP_Target and OP_Source. I want to navigate to Target from Source. I have implemented lightning:isUrlAddressable in target and trying to get it's url in source. EDIT:- I have ...
-2
votes
2answers
1k views

how to use force:navigateToURL in lightning components to navigate from one lightning component to another in communities? [duplicate]

In communities, navigateToComponent or Lightning:navigation are not supported. So i found over the web force:navigateToURL is the way to go with. I am not able to make this work. I think the URL that ...
0
votes
1answer
2k views

Fetch current lightning URL

I want to understand if there is any way to fetch the current lightning component url in salesforce and navigate to it I am using window.location.href = window.location.pathname; in my lightning ...
1
vote
1answer
42 views

Help navigating from one lightning page to another in communities

I have custom component in communities that contains clickable icons/buttons that are intended to navigate to various knowledge topics. I saw some sample code to use in the developer guide (it ...
2
votes
0answers
61 views

Community URL Fragment Identifier seems to prevent query execution when setting a default queryString

I have a custom search component that executes a query on keypress - this triggers a force:navgatetourl event. My query string contains, a query, and a fragment identifier with custom parameters that ...
0
votes
2answers
1k views

e.force:navigateToURL throwing error

Below is the javascript function in AccountListcontroller.js that fires on clicking a button on lightning component,but it is throwing error This page has an error. You might just need to refresh it....
-3
votes
2answers
2k views

Navigate to URL is not working

I have a lightining component code with controller for redirecting the page,while redirecting the page,the url i have posted having parsing error issue My tried lightining component code: <aura:...
0
votes
1answer
256 views

Navigation in Lightning app Using change in Url which supports browser back button

I am creating a lightning app in which I have different sidebar menus, which should take the user to different page inside the same app. I have done this by dividing the parent component in two part ...
2
votes
2answers
2k views

force:naviagetoUrl not handling external link when adding community redirect_uri

When I try to redirect users using force:navigateToURL and i specify a redirecturi which is within my community, it seems to ignore the external reference, and treat it as a community page. For ...