Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
1answer
15 views

PowerPoint Not Rendering HTML

We have an upcoming project that requires converting Salesforce data into PowerPoint. I've heard great things about Conga, but we're doing some additional testing/research to make sure that if Conga ...
1
vote
2answers
30 views

Put a comma in a number larger than 999 in visualforce? [duplicate]

I have this visualforce tag <td align="center">{!IF(relatedTo.Total_Professional_Services_Before_Disc__c=0, "--", "$" + TEXT(ROUND(relatedTo.Total_Professional_Services_Before_Disc__c,0)))}<...
1
vote
1answer
19 views

query string parameter stripping after returl [closed]

folks stucked with the issue where we are exposing visualforce page to the third party application and where on button click on third party application it will redirect to salesforce through single ...
0
votes
0answers
16 views

How to get Param in Community URL

I would like to get parameter in community url. 1.I created community page and set up an URL. 2.This page(/newentry) has a visualforce component. 3.I would like to get the URL parameter(targetid) in ...
0
votes
0answers
14 views

Action function not rerendering when called from an event

Action function is not rerendering when we call it from an event like this : function updateCasePickList( { populateTest(); } $(document).on("focusout", ".tesThis", function (...
0
votes
0answers
15 views

Javascript button to open a VF page from Managed Package, on click asking me to login again

I have a javascript button to redirect me to a VF page from managed package. When i click on the button it is asking me to login to access that page. How do i solve this?
0
votes
1answer
9 views

Communities Enabled Breaks Our Site in “Force.com Sites”

Does anyone know why a Working Sites (VF) Solution using Guest Access would break when Communities is Enabled? Basically our home page is returning us a generic Error: "Authorization Required You ...
0
votes
0answers
19 views

Having trouble with a date/time get;set;

UPDATE I made a global string in the controller called temp date composed of the date as yyyy/mm/dd and then used THIS is the get;set; var rather than the one I directly use in the query. When I am ...
0
votes
2answers
24 views

Error: Invalid field Address for SObject Account

I have error syntax but i dont find the error. the apex page, i want use the controller "Account" <apex:page standardController="Account"> <head> <script type="text/javascript" src="...
0
votes
1answer
15 views

How to create one generic vf page and use in standard page layout of multiple objects?

I want to show a simple vf page on detail page layout of 10 objects by dragging the vf on to the page layout. Right now, I am writing one vf page for each object as below: AccountVf.page: <apex:...
0
votes
1answer
42 views

In Visualforce how to display progress and errors of Asynchronously upserting the results of 999 queries? [closed]

In Visualforce I need to ASYNChronously do 999 (n) multi-table queries and upsert all results (asynchronously, and presumably in chunks), to 1 custom_object__c, all from a visualforce page. The page ...
0
votes
0answers
17 views

'URL no longer Exist' issue when trying to open a link from inline visualforce page

I have an inline VF page like following in my application that have multiple links that is created using html anchor tags. <apex:page showHeader="false" sidebar="false" standardController="acc__c" ...
0
votes
0answers
31 views

Button that depends on a checkbox

I'm trying to make a checkbox (for disclaimer) - until this checkbox is checked - a submit button should be disabled. It does not seem to be much difficult and yet - I missed something here. my code ...
0
votes
1answer
12 views

What redirect URL we need to set to get google app oAuth token in salesforce apex?

Is there any way to put some static OR intermediate redirect URL for the google app redirect URL instead of this (https://ap1.salesforce.com/apex/GoogleAuth) hardcoded salesforce VF page URL. We are ...
0
votes
0answers
29 views

How can I convert my apex page to lighting component?

I want to put my apex page in the in this view, below the map I try to customize this example https://trailhead.salesforce.com/es-MX/content/learn/projects/account-geolocation-app/lc-app-04 <apex:...
0
votes
0answers
15 views

Clean rules in Salesforce Classic Developer edition

i can not find "clean rules" According to the documentation is available but could not find https://releasenotes.docs.salesforce.com/en-us/summer16/release-notes/...
0
votes
1answer
20 views

Add an onclick handler to the anchor tag [closed]

I dont know Add an onclick handler to the anchor tag. I am learning with tutorial https://trailhead.salesforce.com/en/content/learn/projects/account-geolocation-app/lc-app-08 where I should put the ...
0
votes
0answers
4 views

Remote Objects date criteria - wonky time zone behaviour

I'm looking at the example here and experiencing an issue (code is quoted directly from documentation). https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/...
-1
votes
1answer
7 views

Visualforce email template IF condition for Second Opportunity Owner field

I have an email alert that goes out when an Opportunity is changed to Closed Won and it says who the Opportunity Owner is. Sometimes, a second salesperson is involved in the deal, so I have a field ...
1
vote
1answer
12 views

How do I duplicate the job listings Visualforce page from Volunteers for Salesforce without getting unknown property errors?

I'd like to edit the Job Listings VisualForce page included with Volunteers For Salesforce (V4S). Because the page is part of a managed package I can't edit it directly and instead need to make a copy....
0
votes
0answers
8 views

How to use Outputlink to display Contacts next to Accounts

I created a visualforce page to display the contacts of an account in a div next to a pageBlockTable when the account is selected it will display it's contacts linked to it. This is the VisualForce ...
0
votes
2answers
38 views

How to Redirect to /secur/logout.jsp from @Invocable method

I have a requirement where I want to logout of salesforce when certain statement inside an @invocable method is executed. For this purpose, I am trying to use PageReference to redirect to "/secur/...
0
votes
1answer
19 views

Indent is not working in visualforce page

I'm having a lightning out app. In that I'm displaying a lightning:inputRichText and a lighning:button. On clicking 'save' button, I'm displaying the value entered in that field to the inline vf page ...
0
votes
1answer
43 views

How to increase spinner window size in VF Page?

<apex:actionstatus id="sts"> <apex:facet name="start"> <div class="slds-spinner_container"> <div id="mySpinner" role="status" class="slds-spinner ...
0
votes
1answer
40 views

Group Records and show on VF Page

I am working on one scenario. I have an object called "Time__c" Time__c has fields like "Role__c" , "Rate__c" "Hours__c", now my requirement is that I need to fetch all the records of time and show on ...
0
votes
0answers
18 views

null argument for JSONGenerator.writeStringField() in Production. But working fine in Dev Ord/SandBox

I am not getting any idea how to deal with this situation. I am keep getting the same error however I change the code and approach the JSONGenerator.WriteStringField(). It is keep pushing error in ...
0
votes
1answer
30 views

Use input field value from standard controller with a extension property

I want to enter in the fields the new variables of the class "NewAddrees" extension I know my syntax is wrong but I do not know how to solve it <apex:page standardController="Account" extensions="...
2
votes
2answers
78 views

Lightning Web Component embedded in Visualforce Page via Aura Component and App not displaying

I am writing a lightning web component that is going to be used in Salesforce Classic, Lightning Experience and an Employee Community. It does not HAVE to be a lightning web component - I could use a ...
0
votes
1answer
26 views

Apex maps, component unknow, console developer [closed]

I can not use the apex maps module. error console: unknown module apex maps i am using console dev from web salesforce and i am "free user" i have not edicion special
0
votes
0answers
20 views

How to control the Label of a visualforce component in a Lightning App Page

We have a Visualforce page we are embedding in a Lightning App Page. We want the label of this section of the page to have a translated title, but we are running into issues: If the 'Label' field is ...
0
votes
0answers
21 views

Lightning Component quickaction onclose event

Is there a way to get the close event of a lightning component that is used as a quick action? I have a component with force:LightningQuickActionWithoutHeader and I use $A.get("e.force:...
0
votes
0answers
9 views

How to use static resource image in visualforce email template editor

I am using a public site and a public static resource to add images to a visualforce email template. But when I use this code: <img src="http://example.force.com/email/{!$Resource.logo_300}" ...
0
votes
1answer
22 views

URL Parameter in Community

I want to get parameter in community visualforce page. I tried this code,but i can't get parameter(I got null). What is this wrong? ApexPages.currentPage().getParameters().get('eid'); community url ...
0
votes
1answer
18 views

Rerender divs and bootstrap

I'm trying to Rerender three of four columns, but because I can't use styleclass in divs and not reRender by styleClass but only Id, I don't know how can I achieve that. I tried to put apex:pageBlock ...
0
votes
0answers
24 views

How to visualize apex pages in the browser using visual studio code?

I do not know how I can see my apex page in a browser
1
vote
1answer
18 views

Can I display an embedded visualforce page on record create?

If I have a visualforce page embedded on my custom object's standard page layout, should it show when I create a new record or only on edit? I created a basic form for some questions where I needed a ...
0
votes
1answer
16 views

CommandLink with action support visual force page

I want to pass the value of the pressed link to the controller - Is that possible with <apex:actionsupport >? Or should I use the apex:param for this? <apex:column style="float:right;"&...
-1
votes
0answers
18 views

What is VARIABLE_ASSIGNMENT|[EXTERNAL] in Debug logs?

<apex:inputField value="{!cache.createdQuote.Date_Req__c}" id="call" rendered="{!cache.isEnabled}" required="true"> <apex:actionSupport action="...
0
votes
0answers
15 views

Access parent record id from visualforce page called in custom list button?

I’m trying to create a custom List button that can call a Lightning Component. However because that’s not yet directly possible, I’m trying to embed the Lightning Component in a Visualforce page and ...
0
votes
0answers
11 views

Using lightning:fileupload(inside lightning Component) in VisualForce Page

I want to add lightning component which contains lightning:fileupload to visual force page.Component gets accessed succesfully but I am unable to use the functionality of lightning:fileupload since it ...
0
votes
1answer
46 views

Make radio button selected based on controller value

I have Input type radio button inside my <apex:repeat> and on page load i want to check the radio button based on value provided in Constructor. I am using : <input type="radio" onclick="...
0
votes
1answer
23 views

Can we create a custom visualforce page accessing a controller that is a Managed Package object?

I am trying to create a button that is invoking a VF page which accesses a controller that is a Managed Package object. The code in VF page is a basic code to display title. <apex:page ...
0
votes
1answer
23 views

Difference between Activity ,Task and Log a Call in Salesforce?

I am a little confused regarding the differences between Activity Task and Log A Call. Is Task comes under Activity? or vice-versa
0
votes
1answer
19 views

How to make the target of an output link be displayed next to the pageblocktable?

So I'm having an issue trying to display the contacts of accounts next to the pageblocktable. The functionality I want to occur is that once an account is clicked to display the contacts for that ...
0
votes
0answers
18 views

Organization with namespace, VF page on custom object with StandardSetController

VF page on organization with organization namespace "org_namespace": <apex:page standardController="CustomObject__c" recordSetVar="records" extensions="managed_package_namespace....
0
votes
0answers
15 views

Pass a URL Param to a Visualforce Page which gets embedded in an iFrame when navigating from Lightning Experience

I am navigating to a Visualforce Page within the Lightning Experience. The Visualforce Page gets embedded inside an iFrame and I am unable to access the URL parameters (they are on the window.top....
0
votes
0answers
11 views

Oncomplete does not open modal on vf page

I have a page in which I open a modal on click of button and in my modal I am showing values from controller which is not rendering updating values. I tried to open modal on oncomplete function after ...
0
votes
0answers
13 views

Set the button in community that jump to record detail page

I want to set the button in community contains URL for record detail page. Here is my code. <apex:commandButton value="CLICK!" action="{!URLFOR('https://xxx.force.com/community/detail/{!object....
0
votes
2answers
42 views

Problem with understanding way of work with VF page

So my task is to get two dates from user and based on that do some fancy logic which will result in creation of table with data requested. To begin with i wanted to create small VFpage with two ...
-1
votes
0answers
15 views

change owner button in lightning got error 'insufficient access rights on object id'

change owner button in classic working fine but lightning not working properly got error insufficient access rights on object id. how can acheive that? any idea