Questions tagged [navigation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
26
votes
3answers
7k views

How to navigate in lightning out?

Actually I am using lightning components with a visualforce page, because this is the only way to override standard button (using VF) today. The problem is that, i need to redirect my user to the new ...
11
votes
4answers
25k views

Create record in Lightning with populated fields

Is there a way to use the sforce.one.createRecord to create an Opportunity and fill in fields with data? In Salesforce Classic this was accomplished by adding parameters to the url (ex: ?name=foo). ...
1
vote
1answer
459 views

Navigating lookup relationships with dot notations, to retrieve field values

I need to access the value from a roll-up field on my Opportunities, from it's related Opportunity Product. When I use oli.Opportunity.Software_Line_Item__c the value retrieved is always null. So I'...
5
votes
1answer
939 views

What navigation pattern for Lightning Community created be the new Community Builder could be recommended?

I'm not sure what navigation pattern is best for Lightning Communities. Use case is a quite simple: ListView => DetailView navigation hosted on a community page. Reading through @DougChasmans example ...
3
votes
0answers
122 views

Winter 17 Navigation bar does not always highlight selected record

On my winter 17 org, on some objects record the new navigation bar is highlighted when opening a record, like contact: But on others (custom objects and also standard ones), the navigation bar does ...
11
votes
2answers
2k views

How to use a strong URL-aware navigation/routing pattern in Lightning?

I've asked a similar question already for Lightning Communities. This question is about the same requirements, but in general. There are many different containers (or environments) for lightning ...
4
votes
0answers
2k views

Is /one/one.app#/alohaRedirect/apex/vfPageName ideal solution to open vf page in lightning experience?

We have an issue wherein when a user is redirected to our application from an external point such as an email link and if the user is lightning enabled then the custom VF page does not display the ...
4
votes
0answers
361 views

Using aura locationChange in lightning communities

After further testing and reading on aura:locationChange component: This event is automatically fired when the hash part of the URL has changed. I understand that, in my community URL, If i ...
1
vote
4answers
2k views

Lightning Web Componets: navigate to the 'new' object page passing in specific record type Id?

I am using LWCs to display lightning cards in a list. The list shows information about Programs. Each Program card has a button, and this button needs to take the user to the 'new object' screen of ...
5
votes
1answer
6k views

LWC Navigation: “this[f.NavigationMixin.Navigate] is not a function”

When attempting to use the Lightning navigation service in my component's base class (.js), I get the following error when functionally testing in the UI: this[f.NavigationMixin.Navigate] is not a ...
2
votes
2answers
6k views

Salesforce1 navigation - how to go to a Visualforce page?

I've done a bit of tinkering with the Salesforce1 warehouse example (tutorial 6 here). I've successfully adapted the code to work with my own custom object, and I've got records showing up as pins on ...
9
votes
1answer
2k views

How is <a>-tag-navigation to URLs and Objects done in Lightning (Summer'18)?

The lost simplicity The docs discourage the use of this pattern <a href="/XXXXXXXXXXXXXXXXXX">Salesforce record ID (DON'T DO THIS)</a> Instead we should Use Navigation Events ...
7
votes
2answers
3k views

Is $A.get(“e.force:navigateToComponent”) available and documented in Winter'16?

I found the usage of $A.get("e.force:navigateToComponent") described in this answer here How to set up views and navigation in Lightning? But reviewing the documentation, there is only force:...
2
votes
2answers
574 views

Salesforce1: How to reference the Parent Id on “new” action?

I have a mobile app with two Objects which are linked via Master-Detail. I have overwritten the new page for creating an child record with an custom visualforce page. This page should create an ...
8
votes
2answers
6k views

Can lightning:navigation be used in Communities

I am trying to implement a navigation mechanism for my community So I am trying to implement the new lightning:navigation component. This is my component - main: MARKUP <aura:component ...
7
votes
2answers
1k views

Link to full site in Salesforce1?

Is it at all possible to create a link in SFDC1 which will open the Safari browser and go to a specific VF page? Or even just go to the SFDC login page? Thx, Hamayoun
3
votes
1answer
10k views

Open link in another tab with e.force:navigateToURL

I would open a link in a lightning component in another tab. Here is the code: showAttachment : function(component, event, helper) { var idContentVersion = event.getSource().get("v.title"); ...
3
votes
1answer
1k views

Is $A.componentService.newComponentAsync available in Lightning?

I found @DougChasman using $A.componentService.newComponentAsync in his example here How to set up views and navigation in Lightning? However in the docs I see only $A.newCmpAsync and marked ...
2
votes
1answer
290 views

Canvas App Navigation (not Salesforce1)

I have a canvas app embedded using a Visualforce page. From within this canvas application, I would like to the user to be able to navigate back to the contact in salesforce. Using the URLs directly ...
2
votes
1answer
756 views

Connecting multiple VF pages

What I want to do is have a next button on my first page and from there, I would want to navigate to another VF page. Kind of confused on how to do it and at the same time, also save all the data that ...
2
votes
3answers
2k views

How can you navigate between Lightning Components on a desktop Lightning App?

Good afternoon everyone! I am currently stuck on an issue while developing a desktop Lightning App. Is there currently any native Lightning events or any way to navigate between Lightning components ...
1
vote
2answers
13k views

How to remove/customize custom objects from Salesforce1 menu?

I have got 4 custom objects in my Org. and when I view it in Salesforce1, I only want to display 2 of them in the menu. Could anyone suggest me on how to customize the menu in Salesforce1 by allowing ...
0
votes
1answer
2k views

How to Create a Query Activity in Marketing Cloud

I'm trying to follow the documentation on How to Create a Query Activity but the first step eludes me. Click the Interactions tab on the navigation bar Where can I find interactions? This is the ...