Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [visualforce]

Visualforce relates to questions where the Visualforce language or framework are concerned. This is primarily VF pages, components, PDF rendering, and email templates. This would only cross-over to Lightning where Lightning Out (Lightning for VF) or VF pages using SLDS or being used in LEX. Where a question relates to Apex invoked as part of a VF page, this tag would also be appropriate.

3,828 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
17 votes
0 answers
2k views

Custom Labels in Packages - Potential BUG in Winter 19 (Confirmed as Known Issue by Salesforce)

We have an unmanaged package using 167 custom labels to use the Translation Workbench in Salesforce and to be able to translate texts into different languages. Until now, all our custom labels have ...
Uwe Heim's user avatar
  • 28.4k
16 votes
1 answer
572 views

Cannot read property '$$OwnerKey$$' of null

I have a Visualforce Lightning Out page that's rendering some <lightning:input type="date"> elements. Since the Winter '19 release in the dev sandbox I'm working in, whenever I select a date ...
Steven Bateman's user avatar
10 votes
0 answers
2k views

Error parsing json response: 'expected expression, got '<''. Logged in?

I'm calling a remote action which returns a wrapper. It works without any issues on most of the time. But sometimes, it throwing an error: Error parsing json response: 'expected expression, got '&...
Melbin T's user avatar
  • 383
10 votes
0 answers
633 views

Trigger page message in the parent page from the Controller Extension of a custom list view button

Is there any way to trigger the display of a page message in the embedding Detail page from the Controller Extension of a Custom list view button? I create my list view buttons with this technique ...
Robert Sösemann's user avatar
10 votes
1 answer
3k views

<apex:inputFile> 'accept' and 'contentType' on VF page only working when not called from mobile

<apex:inputFile value="{!attachment.body}" fileName="{!attachment.name}" id="file" contentType="{!attachment.ContentType}" accept="image/*,application/pdf"/> If I call this from my desktop ...
David Renz's user avatar
10 votes
4 answers
8k views

Display the fields properly in output panel while using actionRegion

I am using actionRegion for to show/hide the fields based upon picklist in Opportunity. When i am selecting the Stage picklist value is Closed Lost, then 4 text fields will be displays. It works fine. ...
Vijay Kumar's user avatar
9 votes
1 answer
1k views

Change URL of Popup Window from Lightning

So I'm in the situation where I have a Lightning component that's embedded in LEX, and it provides links that open up a new window containing a Visualforce page. Each link opens the same page but ...
Matt Lacey's user avatar
  • 25.6k
9 votes
1 answer
185 views

How can I reproduce the EmailAuthor native SFDC application?

I'm comfortable with sending emails using APEX and using mailmerge within that process. What I want to do now is load an email template, mailmerge it automatically using a predetermined contact ID and ...
Venko's user avatar
  • 1,030
9 votes
2 answers
506 views

Error when setting "rendered" attribute on apex:mapMarker

I am trying to show/hide some map markers on an <apex:map> by assigning a boolean value coming from an Apex attribute to the rendered tag. However, I am receiving a compile error on save: ...
jpmonette's user avatar
  • 4,440
8 votes
2 answers
2k views

Lightning Components: How to fix New Button in Related Lists of Visualforce Pages rendered insinde a Visualforce Component on a Flexipage

For Visualforce pages the Standard New-Button created by <apex:detail> doesn't work correctly inside Visualforce containers on Flexipages. Scenario: I've put a Standard Visualforce Component ...
Uwe Heim's user avatar
  • 28.4k
8 votes
0 answers
481 views

Managed package visualforce page not enabled for lightning experience, yet is displaying in lightning automatically

When we enter the URL for a packaged Visualforce page, it displays inside the Lightning Experience. The problem is, the page is not enabled in lightning via 'Available for Salesforce mobile apps and ...
WYBloke's user avatar
  • 81
8 votes
1 answer
465 views

URLFOR($Action.CustomObject__c.New) Not working since Summer 16 release

The following snippet works well on a sandbox that's still on Spring 16 Lightning Experience but gives the same code gives an error on a sandbox running the Summer 16 release from a visualforce page :...
Dunisani Matt's user avatar
8 votes
0 answers
715 views

Firefox browser: $User.UITheme and $User.UIThemeDisplayed return wrong value in Lightning Experience

While trying to overcome the problem with <apex:outputLink target="_blank"> not working under Lightning Experience, I found this atricle; they propose checking the {!$User.UIThemeDisplayed} ...
Andrew Stopchenko's user avatar
8 votes
0 answers
2k views

Display hover using LookupHoverDetail along with scrollable outputpanel

I'm trying to create a pageblocktable that uses lookuphoverdetails to display the mini page details for Accounts on a custom object. The problem that I'm experiencing is that the pageblocktable is ...
Jason Cooke's user avatar
7 votes
1 answer
440 views

Locale Supported Format For Visualforce Input Field

I've been rewriting a Visualforce page to use SLDS styling. Part of this requires rewriting dynamics DateTIme fields to SLDS Date time picker. This therefore means writing the Date part of the ...
RedQueries's user avatar
7 votes
1 answer
2k views

What does '?scontrolCaching=1' mean in a URL from a Visualforce page?

I have a custom list button on the Account object that, once clicked on, auto-navigates a user to the defined Visualforce page which uses the Opportunity standardController. I notice in the URL, it ...
Andy Hitchings's user avatar
7 votes
2 answers
1k views

Intermittent 404 errors using Lightning Out in Visualforce

I'm seeing intermittent 404 errors when attempting to use lightning components inside a Visualforce page via Lightning Out, but one org seems far more affected than others. The VF markup: <apex:...
Bob Buzzard's user avatar
  • 19.9k
7 votes
0 answers
405 views

Loading Static Resources When Accessing a Page WIth an OAuth Access Token

If you specify the 'web' scope for a connected app it's supposed to grant/provide access to Visualforce pages. I'm authenticating via the iOS mobile SDK and then attempting to use the access token I ...
Matt Lacey's user avatar
  • 25.6k
6 votes
0 answers
2k views

Safari support for iframing a visualforce page

Background: I have an API I wish to use from within my managed package which occasionally results in long running callouts. In order to ensure my users don't encounter errors with the limits to long ...
James's user avatar
  • 2,639
6 votes
0 answers
444 views

No DML_END Issue

Yet another "what gives" question. I have a custom object that is updated upon a button click on a VisualForce Page. I can see in my debug logs that the object has been updated. But when I refresh ...
Olivia's user avatar
  • 3,461
6 votes
0 answers
474 views

'Multiple items found' error when selecting from 'My Recent Items' drop down on standard lookup field

Maybe a Summer '18 Version problem? I have a dependent lookup field where you must select the value via the lookup window. After you have done this there is a standard lookup field that filters on ...
Michaela D's user avatar
6 votes
0 answers
858 views

Visualforce Remoting: Javascript proxies were not generated for controller QuoteLayout: may not use public remoted methods inside an iframe

I've looked at all of these solutions here on SFDC stack exchange (1) (2) (3). I followed them for what applied to what I'm doing and I'm still getting this error. I made my apex class global ...
Kruse in Salesforce's user avatar
6 votes
0 answers
1k views

Recaptcha in Salesforce Lightning component

My requirement was to create a custom lightning component, which will be hosted in a community and will allow users to create cases. Before submitting the case, users have to successfully pass 'I am ...
Hareesh Mohan's user avatar
6 votes
0 answers
227 views

<apex:map> doesn't render when using continuation(asynchonous callout)

It seems like there's a bug rerendering an <apex:map> from asynchronous callout. On my sample page below I have two <apex:commandbutton> one executing an asynchronous callout(action="{!...
sfdx's user avatar
  • 1,109
6 votes
0 answers
437 views

Hitting error when trying to save HTML5 canvas in VisualForce Page

We have a requirement to open an image attachment in a VisualForce page, the user should be able to draw on the image and those edits should be updated in the attachment on save. So to achieve this, ...
Varghese Kiran's user avatar
6 votes
0 answers
647 views

Is the Standard Lightning Compo "Activities" programatically usable in custom Components or on visualforce pages?

In the Lightning App Builder used to arrange a Flexipage, the topmost Standard Components on the leftside panel is called Activities. Is this Component also available (or exposed) and usable in a ...
Uwe Heim's user avatar
  • 28.4k
6 votes
0 answers
836 views

Visualforce field help icon/text not rendered in Lightning Experience?

Just noticed today that the apex:inputField field-level help icon and help text are not rendered when a Visualforce page is run in Lightning Experience. It looks like field-level help text only ...
Keith C's user avatar
  • 136k
6 votes
1 answer
519 views

Using SLDS icons in inline VisualForce page within managed package fails due to 302 redirect

I am currently creating a managed package and am running into a problem which I think others will or have also faced while deploying a package using lightning components which are optionally wrapped ...
Koen Faro's user avatar
  • 773
6 votes
0 answers
364 views

Since Winter '17 update, iframes embedded in Visualforce pages do not appear

Since Winter '17 update, iframes embedded in Visualforce pages do not appear. There have been no change in the VF pages, iframes etc. Can anyone help me with this?
ParoTech's user avatar
  • 545
6 votes
0 answers
824 views

problem displaying Community password reset link error messages

In our Community I am using custom Visualforce pages for login and reset password and the change password pages. We occasionally have customers that the password reset link they get via email ...
Jason's user avatar
  • 852
6 votes
0 answers
969 views

JSON parsing to Visualforce page difficulties

Following my previous question here I've been dealing with some pretty crappy JSON for an assessment submission and trying to display it in a VF page as a table, ultimately with questions, available ...
Philip Clark's user avatar
6 votes
1 answer
460 views

Check if browser is supported by salesforce right on visualforce page

In short, we need to display to the community users kinda warning in case if their browsers are not among supported by salesforce. The option we've come up with so far, is just to check user's agent ...
wesaw's user avatar
  • 3,080
6 votes
1 answer
347 views

Is there a issue with <apex:selectCheckboxes> when associated to apex properties?

I am defining a apex property public String[] values{get; set;} and calling it in VF page `<apex:selectCheckboxes value="{!values}">` <apex:selectOptions value="{!items}"/> ...
nevrekar_amey's user avatar
6 votes
0 answers
2k views

Salesforce OAuth Refresh Token - Invalid Scope

I'm trying to get Refresh Token as part of scope but I'm getting following error error=invalid_scope&error_description=the%20requested%20scope%20is%20not%20available This is my request https:/...
realnumber's user avatar
  • 1,623
6 votes
2 answers
1k views

Accessing Intranet web application from salesforce

I'm new in salesforce world. i have question about salesforce and we implemented for sales and service team. my question is: we have internal portal web site for employee and knowledge management. ...
Kiunx's user avatar
  • 195
6 votes
0 answers
493 views

Display Publisher Actions (Upload file to feed) on Visualforce page in Salesforce1

I have a feed-enabled CustomObject__c which I want to expose via Salesforce1. For some reasons I have an override for the View page that is a used for desktop and mobile devices. On of the use cases ...
Robert Sösemann's user avatar
5 votes
0 answers
274 views

Visualforce Action Button on Lightning Record Page leaves an entry in browser history causing re-execution. Can this be prevented?

(NOT SURE, BUT THIS ISSUE MIGHT BE A SALESFORCE BUG OR AT LEAST AN INCONSISTENCY) I have defined an Action of type "Custom Visualforce" like this The button for this Action is "◈ Clone&...
Uwe Heim's user avatar
  • 28.4k
5 votes
0 answers
355 views

Can I use a Managed Package Visualforce page in Utility bar?

I created a new Lightning application in which I added some utility items.I also want to add a Visualforce page in the Utility bar but the page is from a Managed package. Is it even possible? Is there ...
Prakash's user avatar
  • 69
5 votes
0 answers
955 views

Chatter feeds not appearing correctly on Vf page

I am showing a chatter feeds in my VF page by using the following <chatter:feedWithFollowers entityId="{!theCase.id}"/> The feeds dont seem to be displaying correctly. I cant see the feeds on ...
Prady's user avatar
  • 12.3k
4 votes
0 answers
503 views

Blank PDF using getContentAsPDF in future method

I am having an issue in production with a specific Profile (a clone of the System Administrator) that generates Invoices via a @future call resulting in a blank PDF creation. Below is a simplified ...
Scott's user avatar
  • 41
4 votes
0 answers
2k views

Lightning record page printable view or PDF

I need to create a printable view (or PDF) of a record's Lightning Page (think "tear sheet") that includes a compact "details" section, compact related list tables, and a custom ...
Brent Bowers's user avatar
  • 3,144
4 votes
0 answers
400 views

Trying to publish Lightning Message Channel from Visualforce page and getting error `Sfdc is not defined`

I am trying to publish a message from a visualforce page into a lightning component and my visualforce page is not able to publish. My Visualforce code : <apex:page applyBodyTag="false" ...
nyuv's user avatar
  • 41
4 votes
0 answers
466 views

Why can't I skip LWC namespaces in namesspaced scratch org

I have an LWC component as part of a managed package. To support Classic its also embedded inside VF page using a Lightning App(Aura): <apex:page standardcontroller="Account"> <apex:...
Anmol Kumar's user avatar
  • 3,631
4 votes
0 answers
163 views

How to set the criteria parameter in the retrieve method for RemoteObjectController?

My question is: How do set the criteria like 'where' and 'orderby' (in the java script below) in the retrieve method for RemoteObjectController? RemoteObjectController Use RemoteObjectController ...
paul.liu's user avatar
4 votes
0 answers
1k views

How to set Language for entire LWC component like visualforce page

In visualforce page we can set the language using language attribute like this. <apex:page id="myr_Page" language="{!userDTO.userlanguage}" > I know that we can use the below way to set the ...
Thirumagal 's user avatar
4 votes
0 answers
128 views

JSForce describeGlobal isn't working when the community has an added URL

I have to be able to get all objects on my salesforce community and whenever i utilize the jsforce library to get the connection by using this method "jsforce.Connection" let conn = new jsforce....
JPG's user avatar
  • 243
4 votes
1 answer
202 views

How to use polyfill in visualforce component?

Link to polyfill: https://github.com/jonstipe/number-polyfill The polyfill is to allow increment decrement buttons in Internet explorer for I added the .js and .css file from the polyfill as a ...
VChandra's user avatar
4 votes
0 answers
61 views

Empty Visualforce tags without closing whitespace

Consider this very simple part of a Visualforce Page: <apex:variable var="object" value="{!MyObject__c}"/> <apex:pageMessages/> Until recently when you tried to save this you would've ...
Semmel's user avatar
  • 2,497
4 votes
0 answers
1k views

Using Javascript window.confirm() in Lightning Experience

We are using window.confirm() in the JS parts of Lightning Aura Components and embedded Visualforce pages (iframed). This worked just fine for several years. Yesterday I noticed that in both use ...
Uwe Heim's user avatar
  • 28.4k
4 votes
0 answers
168 views

Visualforce page not displaying correct Devnagiri words when it render as pdf

I am using Arial Unicode MS font in the visual force page. I need to render it as pdf. The HTML contains Devanagari words. HTML is displayed properly but the words are broken in the generated pdf. e.g ...
Sunil's user avatar
  • 121

1
2 3 4 5
77