Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

15
votes
0answers
115 views

Custom Labels in Packages - Potential BUG in Winter 19 (Confirmed as Know 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 ...
13
votes
0answers
304 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 ...
9
votes
0answers
673 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 '&...
8
votes
0answers
127 views

Status of renderAs advanced_pdf

I just wondering if this promising feature has been evolved or is evolving to GA https://releasenotes.docs.salesforce.com/en-us/summer17/release-notes/rn_vf_advanced_pdf.htm Any info about current ...
8
votes
0answers
897 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 ...
7
votes
0answers
232 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 ...
7
votes
0answers
539 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 ...
7
votes
0answers
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 ...
6
votes
0answers
920 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 ...
6
votes
0answers
372 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 ...
6
votes
0answers
488 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 ...
6
votes
0answers
200 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:...
6
votes
0answers
530 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} ...
5
votes
0answers
40 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 ...
5
votes
0answers
75 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 ...
5
votes
0answers
146 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 ...
5
votes
0answers
270 views

How to run a macro using apex class?

How can I run a macro using apex class? I have used a Visualforce Page to run the macro with standard method "sforce.console.runmacro" in javascript. Similarly, I need to call it in an apex class ...
5
votes
0answers
168 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="{!...
5
votes
0answers
220 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, ...
5
votes
0answers
301 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?
5
votes
0answers
705 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 ...
5
votes
0answers
458 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 ...
5
votes
0answers
934 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 ...
4
votes
0answers
38 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 ...
4
votes
0answers
75 views

Using cometD in visualforce page

I am trying to use CometD with my platform events. I've added a basic use case for the time being for clarity: * I have a platformevent and a trigger. Whenever a client (custom object) gets edited, a ...
4
votes
0answers
228 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 ...
4
votes
0answers
458 views

Automated Process User Permissions

We are having some difficulty with permissions. Our admin has also posted on the success board. https://success.salesforce.com/answers?id=9063A000000eB7V, she also found this same posting: https://...
4
votes
0answers
63 views

“Parameter has wrong value type” when referencing Flow from VisualForce

I'm attempting to create a VisualForce page with a standard list controller that passes a list of custom objects (Feedback__c) to an SObject collection variable in a flow using the {!selected} syntax. ...
4
votes
0answers
274 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 ...
4
votes
0answers
612 views

Files: Why ContentVersion /sfc/servlet.shepherd/document/download/ sometimes sets Content-Disposition=attachment and sometimes =inline

I need to view and PDF file stored as an attachment inside an IFRAME in this context: Visualforce: Why the display of an PDF-File inside an IFRAME works on a Sandbox but not in Production? Inspecting ...
4
votes
0answers
206 views

Invalid Page on clicking 'Save and New' button in SFDC Community

I have one doubt please help me where I'm missing ... In my contact object, the standard New button is overridden by a Visualforce page. It is working fine in SFDC Classic. Now I have a community (...
4
votes
0answers
216 views

How to make HYPERLINK formula fields that nominate Visualforce pages stay in Lightning Experience?

This HYPERLINK formula field on a custom object opens a Visualforce page in Classic: HYPERLINK('/apex/DocumentRichTextEdit?id=' + Id + '&retURL=' + Claim__c, 'Edit', '_self') I would like it to ...
4
votes
0answers
571 views

how to set size for lightning experience visualforce action

when you create a new action where you show a visualforce page, it seems you can only set the height and that there is no way to control the width? Are there any workarounds for this? Or other ways of ...
4
votes
0answers
465 views

Lightning experience embedded page redirect

I've got a VF page embedded into page layout. It redirects user to other VF pages (depending on user action) inside an iframe on page layout. In LE such PageReference redirects sort 'step out' from ...
4
votes
0answers
242 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 ...
4
votes
0answers
87 views

Platform cache increasing visualforce execution time

I have decided to use platform cache to retain the result of an expensive callout and processing. Doing so eliminated the callout time and shaved 500ms off of the apex time. Unfortunately my gains ...
4
votes
0answers
194 views

Create default Apex:Attributes for custom visualforce component

I'm building multiple components that have the same attributes and html wrappers and so I was curious about ways to reuse some markup rather than redefining it on every custom component in this series....
4
votes
0answers
586 views

Hide iframe url

I am using a visualforce page and adding an apex tag: <apex:page standardController="account"> <apex:iframe src="a.com/embed/preview/f?theme=dark fullscreen" width="100%" height="800px" ...
4
votes
0answers
245 views

How can i hide approve/rejection link in approver history using visualforce area in home page component?

I am trying to hide approve/reject links using visualforce area but it is not happening below is the code and i have already included this page in home page component- <apex:page ...
4
votes
0answers
392 views

Embed visualforce page on standard layout shows up on New/Edit (Lightning Experience)

I've developed a visualforce page for a custom object on Lightning. When I embedded the page to the layout, it is showed in new and edit. I want that works as salesforce classic (show the visualforce ...
4
votes
0answers
705 views

How to display the percentage value on piechart?

I have developed an apex pie chart. I want to display "percentage value" on the pie chart like below But am getting the chart Like this: How to do this ? My apex class: public class ...
4
votes
0answers
147 views

Google Analytics Implementation with Winter '16 Update

Before Winter '16 update in the Kokua community template, we use Site.com to insert our Google Analytics tracking script into the Head section of the template. Now that the Winter '16 update no ...
4
votes
0answers
61 views

Visualforce Remote Objects Returning Empty Objects

I've got a remote object query operation that's failing in our managed package in a particular client's org. Essentially it queries an object with some filters based on the date, and it's returning ...
4
votes
0answers
219 views

OWASP Zap Report for scan Http request

Hi Friends , anyone heard about OWASP Zap Report ?? Scan request and response. i want create repohttps://eti-massemail.na24.visual.force.com/apex/MassEmail rt for one app of Salesforce. i face an ...
4
votes
0answers
639 views

Variable is not visible: [controller].field_disp

I have a managed package which uses a VF page and controller. This works fine in the developer environment, but starts throwing an error in the installed env. Variable is not visible: [namespace....
4
votes
0answers
371 views

apex:inlineEditSupport call javascript function when value changes

I have a pageblocktable which has outputfields, with inlineEditSupport. I need to call a javascript function whenever the fields are edited inline, but before saving. Apex:inlineEditSupport does not ...
4
votes
0answers
303 views

Can't access Flow.Interview Class within Apex Controller

I am trying to override a Salesforce standard button on the case page layout (Clone As Child Button) - which will create a related child case with some of the fields from the parent copied over. ...
4
votes
0answers
269 views

Visualforce - Lookup InputField not Displaying picklist when in Dynamic Component

Standard Salesforce OOB lookups display a picklist field when a value is entered that matches multiple records (In my scenario a lookup to the 'country' table could return Australia & Austria for ...
4
votes
0answers
696 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:/...
4
votes
0answers
1k views

ApexPages CurrentPage getParameters is different in Salesforce1. How can I read the parameters?

I have an apex extension and VF page, as an override to the New link on a custom object, that does something I would think is pretty standard. For a new record, it checks the RecordType coming in from ...