Skip to main content

Questions tagged [pagereference]

A PageReference is a reference to an instantiation of a page. Among other attributes, PageReferences consist of a URL and a set of query parameter names and values.

0 votes
1 answer
66 views

Here is the SOQL to get the records - Apex Class - List<Vendor_Quote_Line_Item__c> vendorQuoteLineItems = [SELECT Id, Product_Name__r.ProductCode, Product_Name__r.Name, ...
sumchans's user avatar
  • 1,041
1 vote
1 answer
905 views

I have multiple tabs on Account record page. I want to navigate to "Deal Synopsis" tab by clicking on a button on Case(Brand outline) record page. I tried using NavigationMixin as suggested ...
tycoon's user avatar
  • 25
0 votes
1 answer
68 views

<aura:component implements="lightning:actionOverride, lightning:hasPageReference" access="global"> <aura:handler name="init" value="{!this}" ...
GIULIO CATTA's user avatar
0 votes
1 answer
415 views

I am trying to fetch the parameter from url in lwc. LWC is embedded in community page. Here is the code: import { LightningElement, track, wire, api } from 'lwc'; import { CurrentPageReference, ...
Sudipta Deb's user avatar
  • 1,297
1 vote
0 answers
312 views

I have created a subtab component which has a lightning__UrlAddressable target. And I am calling it from another component whose code is given below. The issue which I am getting is that it works fine ...
Anant666's user avatar
  • 107
1 vote
1 answer
134 views

I have an Apex controller MyController which calls a VisualForce page via PageReference. Here is my controller: public with sharing class MyController { @AuraEnabled public String param1 { get;...
ViqMontana's user avatar
1 vote
1 answer
255 views

I'm having an interesting problem trying to send an email to a Contact with a PDF attachment. I've got a VF page that renders as a PDF, and an page controller apex class that creates the email and ...
Lars's user avatar
  • 11
2 votes
0 answers
102 views

I'm trying to create a visualforce popup that displays a preview of a generated PDF (also using visualforce) with tables showing custom object data. The preview window displays the PDF with all the ...
Hyrum Schenk's user avatar
0 votes
1 answer
1k views

I have an lwc component that is enable in App Page and Record Page. Whenever using this component, I want this component can identify which page is using it and which region on that page is it being ...
Tuấn Trần quốc's user avatar
0 votes
1 answer
624 views

I am trying to dynamically set a PageReference based on a variable. String pageId = '0664A000000AAaA'; String pageName = [SELECT Name FROM ApexPage WHERE Id =: pageId ].Name; PageReference pdf = Page....
Joe Hayes's user avatar
  • 372
0 votes
1 answer
1k views

I'm trying to get recordId from currentPageReference, I tried to get this from also like this - this.pageRef = this.currentPageReference(); this.recordId = this.pageRef.state.c__id; but it's ...
Abhishek Sharma's user avatar
0 votes
1 answer
376 views

I have a custom lwc that navigates to an aura and it's working fine but whenever I change the url parameters the onPageReference method from the aura is not working. This is my lwc code: this[...
molinet's user avatar
  • 955
-1 votes
1 answer
491 views

The New standard button in the Salesforce is overriden by the Lightning component (Aura). Now this New button is being used in the multiple places: While creating a contact record from the list view ...
Rahul Allada's user avatar
3 votes
0 answers
570 views

It seems that a Wire call to CurrentPageReference does not work when the LWC is embedded in a Flow Screen when run in the context of Flow Debug mode. This works when the LWC is embedded in a page, and ...
Colin Steel's user avatar
0 votes
0 answers
115 views

im having this kind of error. I want my page to redirect to the last valid page it goes to instead of Account-Show. For example, when I click on a product and I decide to Log-in, after successfully ...
exekiel vergara's user avatar

15 30 50 per page
1
2 3 4 5
20