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
21 views

DataTable Sorting Issue in Vf Page

I am Using a Jquery Plugin called datatables. However i cannot get the date time column sort correctly according to mm/dd/yyyy hh:mm AM/PM format. i used some extend plugin as well for datatables but ...
0
votes
0answers
5 views

How to show table of fields based on selection of object in picklist in visualforce page? [duplicate]

I want to show a table of fields whenever I select an object from picklist.
0
votes
0answers
11 views

Sharing static resource image to facebook & twitter using visualforce

I have a visaulforce page in salesforce community. This page displays badges (images) earned by the user. These badges (images) are stored in static resource. I want to enable the user to share these ...
0
votes
0answers
28 views

Lightning component in VF page: API call promises never fire

I have a VF page which loads a Lightning Component that in turn makes an API call (workspaceAPI.isConsoleNavigation). The client controller invokes the API call, but the promise returned never fires. ...
2
votes
1answer
48 views

Does <lightning:navigation> support targeting Visualforce pages with URL parameters?

I'm working on a Lightning component that includes a button, whose purpose is to load a Visualforce page rendering a PDF cover sheet. I'd like to use the most current supported functionality, so I'm ...
-1
votes
1answer
38 views

How to make a date field null on the input form of VF page?

I have a custom VF page and apex controller that mimics the standard Clone for Contracts. Currently, it is copying the date fields as they're from the previous record. However, I want to make the date ...
-1
votes
0answers
32 views

Visualforce Component not working

We have converted Managed package application to unmanaged package application to one of our client. We have Visualforce Component it is mentioned in Visualforce page with namespace like <...
0
votes
0answers
28 views

more than 2 dependent pick-lists

I am aiming for creating a dependency among the following pick-lists: Continent Europe Asia Africa Country Spain Netherlands China Korea Morocco City Madrid Barcelona Rabat Casablanca Beijing Macau ...
0
votes
1answer
33 views

Is there a way to change the value of a picklist on a vf page when it is copied from another picklist?

So I have a form that has 2 Address divisions. When the checkbox is checked the field values from one div copy to the other div. There is a country picklist in both the divs. But the value of that ...
0
votes
0answers
36 views

Filter logic in Report not working when parameters are passed dynamically from Vf page

We are working on a requirement where User is presented with a form(which is a Vf page)as below. When any of the fields is entered(say Email) and submitted, it needs to be navigated to a report which ...
0
votes
0answers
19 views

salesforce mobile / salesforce app showing visualforce page in a new page

I have a visualforce page that embeds a canvas app. The VF page is included in an Opportunity page layout and works fine both in classic view and in lightning on a desktop browser. When I try to view ...
1
vote
1answer
46 views

How get a value from a Visualforce page and pass it controller before calling the controller.save method?

I'm having the following snippet in the VF page: <apex:inputField id="reason" value="{!case.reason}" required="true"/> which is displaying some case reasons for me. By calling the following ...
0
votes
1answer
25 views

Making Ajax call to another domain from a react app rendered using lightning:container

I am making a custom lightning component in which i am rendering a React app using lightning:container. In that react app i have to make ajax calls to another domain api.xyz.com to fetch and update ...
0
votes
1answer
30 views

Error : Attempt to de-reference a null object ; on map variable

Class.ResourceProfileController.__sfdc_mapSummary: line 137, column 1 Class.ResourceProfileController.__sfdc_listWrapperEmployee: line 162, column 1 --> Error on the Variable mapSummary Hello I'm ...
0
votes
3answers
29 views

SOQL Search function of Contact Name With Account Parent to Contact Child

I have 2 fields in my Search function with Account Name and Contact Name. The scenario will be, If the Contact Name has a value 'nothing' it will query in the Account to Contact relationship with ...
0
votes
1answer
26 views

how to add slds info icon in VF page? [duplicate]

In my VF page i have header .I want to display info icon before my text (before Note). Vf Code <div class="slds-page-header"> <apex:outputpanel rendered="{!isSuccess}"> <...
0
votes
1answer
41 views

call apex method from Form element

Is there a way to call Apex method to save the values in a form element? For example : <form id="scan-form" action="https://www.huika.com/payment/index.php/starting" method="post" ...
0
votes
1answer
17 views

Getting apex id from Jquery Not working propery

I have apex:inputCheckbox written in apex:repeat where onchange of checkbox i am calling checkedDeviations2 method which will check true or false value and push true values to array and false values ...
0
votes
1answer
24 views

Adding a javascript button to a VF page

I need to add a button to a Case, its called EI_Case_View; this is the javascript that the button I need added to the Visualforce page: var splitHost = location.host.split('.'); var baseURL; if(...
0
votes
1answer
34 views

SearchUi.orgHasAccessToSearchUiPages error

I'm seeing a strange error today. Our org has a visualforce page where guest users insert a record. One of the fields for this record is a lookup. We allow these users to use the spyglass to search ...
1
vote
1answer
72 views

Force.com Sites - Lookup Access Error for Guest Site User

I have setup a Force.com Site with access to Visualforce page, however receive an error message when trying to use the Lookup fields on the page. Some troubleshooting I've done so far: Grant access ...
0
votes
1answer
42 views

Need Help on Modifying Code [closed]

I found this example on a dynamic hierarchy for Accounts and I need help as to how to modify it to display an account hierarchy. I am unable to figure out why I recieve this error message when testing ...
0
votes
0answers
34 views

Lightning Error Message Question

I'm trying to create my own Account Hierarchy link that displays more than 500 accounts and its children utlizing lightning componenets and lightning out. I keep recieving this error whenever testing ...
1
vote
1answer
23 views

Using disabled attribute in input type checkbox

As we have disabled attribute in <apex:inputCheckbox> cant we use same field in input type checkbox as formula. I am trying to use as below but disabled attribute is not working for me. Is ...
0
votes
1answer
26 views

Working on Search Criteria and limit the number of filters displayed on Search Criteria section

I am working on a Search Function using custom controller. I have 4 Filters (Account Name, Country, Account Type, Contact Name) in my Search Criteria Section. I have a requirements that, it must have ...
0
votes
1answer
22 views

Passing array from Visualforce Javascript to apex class

Before posting this question let me tell you all i have already referred below posts for reference Post1 Post2 But was unable to proceed with the solutions provided.So posting my query here As my ...
0
votes
1answer
31 views

Need help to display list if cases based on contact name present on current case on record page

Need help to create vf page where i want to display list of cases on case record page, created by same contact of current case. Also it will based on 2 custom fields values(i.e. product & ...
1
vote
1answer
15 views

Issue with matching password with javascript in Visualforce Page

Here I had write javascript to match password and confirm password < script > function check() { var p1 = $('.password11').attr('value'); var p2 = $('.confirm_password').attr('...
0
votes
0answers
25 views

Volunteers for Salesforce Attempt to de-reference a null object site functionality

I have been having this issue for a few days now and have no idea where else to look. I have implemented Volunteers for Salesforce for a client and so far it has worked...okay. The volunteer portal ...
-1
votes
1answer
74 views

Steps to create Customized block in content editor in marketing cloud

I have a requirement to create Custom SDK Block. Wondering if anyone of you has done it before if so how to do it. Also it would be great if you share any reference document for this. (edited)
0
votes
0answers
13 views

Display Dashboard in VF page or in a Ligthning component

I am trying to see if there is a way to display a Dashboard in Visual force page without using iFrame (As it is no longer supported) or without using analytics:chart tag as it involves maintenance. Or ...
0
votes
1answer
23 views

Json2apex - Message consuming unrecognized property

I am not able fetch all details for message & text fields node. Getting error as: Message consuming unrecognized property: name, Message consuming unrecognized property: userId, Message ...
0
votes
1answer
24 views

Sales planing overview values of different objects

I need for our sales colleagues to a list of responsible accounts for sales planning. I can do that quickly with a report, but I need this list enriched with additional information. For example sales ...
1
vote
1answer
38 views

Test Class for Controller Extension Visual Force Page

I am trying to test my controller extension, Although the final score coverage hit into 100% but when i checked my tests log in my dev console i got Error. This is the ERROR Message: System....
0
votes
1answer
9 views

How to solve this error Unknown constructor 'MassDelete.MassDelete(ApexPages.StandardController controller)'

// Apex Class //This problem is occurred while I Use extension concept in VisualForce Page it give error Here is Code// public class MassDelete { public List<Account>accounts{set;get;} ...
1
vote
1answer
40 views

Page getContent / getContentAsPDF not retrieving the updated data

I'm able to get all the data by calling the Page.getContentAsPDF() function by selecting all the record from Account object. Basically, I'm loading the pdf content based on query from page ...
0
votes
1answer
16 views

Visualforce page to display Tasks of an Account and Tasks of an Opportunity of an Account

I use a code like this: <apex:page standardController="Account" showHeader="false" > <apex:repeat value="{!Account.Tasks}" var="task"> <apex:outputField ...
0
votes
0answers
8 views

How do I convert a checkbox functionality to a radiobuttons on a visualforce page?

There is a functionality I need to achieve. I have 2 checkbox fields. But on the vf page I need to show both of them as radio buttons. So if the 'Yes' radio button is selected it should work like the ...
0
votes
0answers
48 views

Apex heap size too large: 6125236

I have a visualforce page which is throwing me the error "Apex heap size too large: 6125236" I have referred to couple of similar issues here on stackexchange but this seems to be a different issue. ...
0
votes
1answer
30 views

Toggle between 3 checkboxes in each row

I have a data in a row along with 3 checkboxes. I need to toggle between 3 checkboxes in each row. <apex:repeat value="{!ManagerNameList}" var="m" > <tr id="trRow"> <td&...
0
votes
1answer
20 views

is actionFunction or jQuery init function running first?

I am now responsible for a chunk of code that is big and old enough that no one is certain how it works. I have a few questions I'm hoping you can help with. I have a page called PolicyDetails.page ...
0
votes
1answer
59 views

Refused to display 'https://www.salesforce.com/de/' in a frame because it set 'X-Frame-Options' to 'sameorigin'

I created VF page (or also to see the VF page inside a lightning component). I added an apex iframe with src="https://www.salesforce.com/de/" (or any other source) from salesforce apex iframe guide....
0
votes
1answer
15 views

getting error while fetching id from list button url

I have created a list button which is mapped to vf page /apex/NewProblem, This button i made visible on case related list of problem object. So whenever i remove the id from button url it is showing ...
0
votes
1answer
13 views

How to add line break between inputText Fields in panelgrid

I have the following visualforce code: <apex:page id="communitiesSelfRegPage" showHeader="true" standardStylesheets="true" controller="CommunitiesSelfRegController" title=" {!$Label.site....
0
votes
1answer
21 views

Visualforce page not occupying whole page

I am using visualforce page for community self-registration. Somehow it only covers the half page which looks weird. Screenshot attched. How can I fix this so that it occupies the whole page. Here ...
0
votes
1answer
22 views

Lightning Design System - VF Sorting Function

We're adding some additional functions to an older tool which was originally built using the Lightning Design System on Visualforce. The stakeholder is requesting a sort function on a datatable which ...
0
votes
0answers
13 views

Need to show comma in subject line of custom visual-force email template for amount field

I have a requirement where I need to show an amount field in subject line of the email template and that template is custom visual-force page since I also need to show line items data . When the alert ...
-2
votes
1answer
36 views

how to create dependent picklist in vf page

I am having a multiselect picklist in that am displaying the list of profiles in the org using SOQL Query.My usecase is like when i click on any profile/profiles those related applications should be ...
0
votes
0answers
23 views

Inconsistent behavior of console integration toolkit methods in lightning and classic consoles

I have three VF pages: TabulisedPage,OverridingPage and FinalPage. VF page :TabulisedPage <apex:page > <apex:includeScript value="/support/console/42.0/integration.js"/> <A HREF=...
0
votes
1answer
23 views

Public VisualForce site - Create standard object

I have a visualforce page that I have linked to a public salesforce site. The page contains a form intended to allow the user to create a standard object (Campaign to be specific). My issue is that ...