Skip to main content
7 votes
Accepted

Overriding or Creating Custom Pages for record detail of specific objects

Yes, it is possible to modify just the record detail page for a specific custom object, but you'll need to create that page first. When you are in Community Builder, go to Page Manager > + > ...
smukov's user avatar
  • 5,613
5 votes

urlEvent is undefined

Just a different way to slice the pie I guess but this puts the pieces where they belong IMHO and leave lightning in lightning and classic in classic Lightning App <aura:application access="...
Eric's user avatar
  • 54.3k
5 votes
Accepted

SSJS Platform.Response.Redirect() throws unknown error: Error in Application

So, this is a known issue in .Net (which is what is used for rendering SFMC SSJS). Using Redirect will throw a Thread Abort Exception. Which I believe is what @SamWhitmore was stating in the official ...
Gortonington's user avatar
  • 30.8k
5 votes
Accepted

REST Request is rejected since Winter 23 hit the preview enabled sandbox

Due to enhanced domains been enforced in the Winter 23 release, the hostnames have been updated From orgName--sandboxName.my.salesforce.com To orgName--sandboxName.sandbox.my.salesforce.com I assume ...
mnunezdm's user avatar
  • 909
4 votes
Accepted

Redirect to previous URL - Lightning Component (Communities)

Ok so i figured it out I needed to parse the function like so: redirect: function (){ var url = window.location.href; var value = url.substr(0,url.lastIndexOf('/') + 1); ...
Nebbyyy's user avatar
  • 848
4 votes
Accepted

Redirect from visualforce to another without using apex controller

Yes, if you use an action that resolves to a URL, you can redirect. Here's an example: <apex:page> <apex:form> <apex:commandButton value="Go to page 2" action="{!URLFOR($Page....
sfdcfox's user avatar
  • 500k
4 votes
Accepted

What callback URL to use to redirect back to VF page from External system

It depends on the OAuth2 implementation that you're authenticating against, but generically speaking, login.salesforce.com should work for production instances, test.salesforce.com should work for ...
sfdcfox's user avatar
  • 500k
4 votes
Accepted

Redirect to the lightning new record creation popup

If i understood correctly, you want to open this popup in a custom component or a button/url. If so, you can try using force:createRecord. You can check this link for more: force:createRecord or ...
brahma's user avatar
  • 1,012
4 votes
Accepted

urlEvent is undefined

As mentioned in force:navigateToURL, this event is only supported in LEX and SF1, and not other technologies such as Lightning Out. In that case, just use window.location: navHome : function (...
sfdcfox's user avatar
  • 500k
4 votes
Accepted

URL link to SF record from external system - LIGHTNING

In lightning you can use "lightning:isUrlAddressable" interface with "force:navigateToURL" to redirect to account page on init with 3 steps. You pass uuid in url You query and find account id on ...
Barış Arslan's user avatar
4 votes

LWC Quick Action - Can we determine which Action button invoked the LWC component?

This worked for me to grab the API name of the quick action. It uses the importation of CurrentPageReference from lightning/navigation. import { LightningElement, wire } from "lwc"; import { ...
kevdecent's user avatar
  • 183
3 votes

Redirect to the lightning new record creation popup

There is no such URL that you can use the method suggested by @brahmaji you can create a component and in the component's init method you can write the code to open the popup to create the record. ({ ...
itzmukeshy7's user avatar
  • 3,170
3 votes
Accepted

Strange Related List Error on Visualforce page

Figured it out. Salesforce doesn't use list="NotesAndAttachments" any longer. Now it's called CombinedAttachments. <apex:relatedList subject="{!Inspection__c}" list="CombinedAttachments" /> ...
neo2049's user avatar
  • 410
3 votes
Accepted

Prepare LWC after page has redirected and came back

In case someone experiences this same predicament, what I ended up doing is having a wired function to the current page reference so when it changes I can re-init the component import { ...
jonathanwiesel's user avatar
3 votes
Accepted

Redirect to VF Page not firing

You can't redirect from a trigger. You would want to put a VF page or Lightning Component directly on the Lead record page in order to redirect to an edit page (or even your VF page). There's a few ...
sfdcfox's user avatar
  • 500k
3 votes
Accepted

Lightning Component redirecting to record it is creating

The recordId you are using should come from lightning context if record already exists. But here you are creating new record - so you need to get the new record Id in onsuccess handler method. Also, ...
salesforce-sas's user avatar
3 votes

V49. Lightning redirect to specific tab

According to the documentation the attribute "slideDevName" should be "detail" which is also the default value and not "detailTab" like this navEvt.setParams({ "recordId": "00QB0000000ybNX", ...
User6670's user avatar
  • 3,035
3 votes
Accepted

Redirect to Cloudpage using Page ID on a Lookup script

you are inside an AMPScript definition block (opened by %%[ and closed by ]%%) so you do not need to (in fact, shouldn't) add the inline ampscript markings (%%= and =%%) for functions inside it. This ...
Jonas Lamberty's user avatar
2 votes

Redirect to new lightning page be clicking button. Setting parameters to component in new page

Ideally from winter 17 release you should be able to use the new event force:navigateToComponent to achieve the Navigation with passing Ids or other attributes between two components . For now you ...
Mohith Shrivastava's user avatar
2 votes

Strange Related List Error on Visualforce page

This change happened quite a while ago now. You can see it announced in the Winter '14 Release Notes. Changed Relationship Name for Notes and Attachments Related List The relationship name for ...
Adrian Larson's user avatar
  • 151k
2 votes

How to add error message to opportunity record page

You cannot do both at the same time, either you want to redirect or you want to show an error. I would suggest you: Create a variable to store the message you want to show On the VF page rerender ...
Eric's user avatar
  • 54.3k
2 votes
Accepted

Is it possible to stop or redirect auto reply messages when sending emails out with Exact Target?

I would setup Reply Mail Management to delete auto-replies and out-of-office replies. Refer to the RMM documentation which explains: When you configure RMM, you indicate how you want the reply rules ...
Eliot Harper's user avatar
  • 16.6k
2 votes

Custom Domain Redirect to a Path/Page in a Community

I don't think it's possible what you want using custom urls But, you can set up page variations of your home or landing page so that users matching a criteria can see certain home page. you can read ...
Srinivasa Gopaladasu's user avatar
2 votes
Accepted

Create hyperlink in visualforce page that redirects to corresponding create contact page for account

Thanks for the help. I managed to do it on my own. I first created a formula field on Account that returns the url of contact based on Account ID: HYPERLINK("https://csxx.salesforce.com/003/e?...
Rohith Raj's user avatar
2 votes

Salesforce Customer Community and EC (error code) 301 Redirect

To answer question number 2, for lightning communities (Napili Template), access Administration under Workspaces, and you can access sitestudio by going to Pages > Sitestudio.com: and then Site ...
glls's user avatar
  • 20.3k
2 votes
Accepted

RedirectTo, AmpScript and website-generated parameters

If the &%%_AdditionalEmailAttributeX%% breaks your links, you could raise a support case via the Help & Training Portal to enable all available additional email attributes. Then you can set ...
Markus Dang - formerly Slabina's user avatar
2 votes

Need to reload the same page so that the apex gets called again

You should not have script-tags inside your apex:form-tags, I believe. Also, you should probably be using an event listener instead of window.onload. Try the following: <script type="text/...
Koen Wesselman's user avatar
2 votes

Test Coverage With Flow and FinishLocation

Have you tried setting the variable in your test class to any valid value? You can get a valid value using System.debug in a non-text context, then either using a json string to create an instance of ...
battery.cord's user avatar
  • 8,845
2 votes
Accepted

Send data from apex page to another apex page using javascript remoting

if you are looking to change pages here - would be better to add it to page parameters of the next page and then redirect to the new page - adding the previous page as your return url. To me, it ...
Ronnie's user avatar
  • 2,117
2 votes
Accepted

How to redirect to external url from apex from callout response

Well, first of all you have to ditch the future. :) Considering its a VF Page. Split the operation in 2 chunks that can happen in independently. 1) DML 2) Callout without future. Now define an ...
Pranay Jaiswal's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible