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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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 ...

0
votes
0answers
11 views

Access the Controller of Visualforce Page from Page Component

I have a visualforce page that named as "CaseDetailPage" which has a controller "CaseDetailController". On my CaseDetailPage, I used a page component "CaseCollaborator". I want to access the method I ...
0
votes
1answer
18 views

ActionFuntion not rerendering data on UI

Visualforce : <apex:page id="ContactSearchPage" controller="ContactSearchController" sidebar="false" showHeader="false" standardStylesheets="false" showChat="false" docType="html-5.0"&...
0
votes
1answer
20 views

Is there any possibility to edit a VF page that is in a managed package?

we have a custom object in which we are saving customer surveys. Once the case is submitted, customer gets an email with survey link(Visual forge page) and the response will be captured in custom ...
0
votes
0answers
10 views

How to use Visualforce Tab in Community portal

We have recently purchased a E Learning Application and wanted to link Community portal so that Portal users can click on particular link which will click Visualforce Tab and redirect to new ...
0
votes
0answers
26 views

Custom Labels in Visual Force Composition Template Translation

I have two composition templates being referenced in the parent Visual Force Page. I am working on translation using custom Labels. The Custom Labels within the Composition Tags are not getting ...
0
votes
0answers
17 views

Is it possible to prevent sforce.one.createRecord() and $A.get(“e.force:createRecord”) from navigating to the new record?

Is this a duplicate? This is not an duplicate of Lightning force:createRecord capture redirect after save because I'm additionally looking for a solution primarily for VF an not only LC. I can't ...
3
votes
2answers
29 views

Is it possible to invoke a function after sforce.one.editRecord(recordId) or $A.get('e.force:editRecord') has been saved?

I have a VF Page embedded on a Record-Home Flexipage in LEX. I'm using my own VF-Container-Iframe-LightningComponent to host it, but since using the magic parameter isdtp=p1 I get the platform ...
1
vote
2answers
48 views

Add Custom Error Message to VF Page

I am trying to add a custom error message to a VF page. My controller saves, but when I save my VF page without the checkbox field being checked, it saves anyway and bypasses the error condition in ...
0
votes
1answer
31 views

DateTime Formatting in Visualforcepage (Comment Section)

I am now creating a comment section on my visualforce page and I don't know how to achieve this kind of datetime formatting. This is my code in Visualforce page. <div class="commentDate"> &...
-3
votes
0answers
25 views

Two Tabs in a single VFP

Is it possible to have two tabs to see two different listviews for case object, as shown below,
2
votes
1answer
25 views

How to use force:editRecord from visual force page

force:editRecord event works fine in my lightning app, but the same does not work in the visual force page. I am aware that force:editRecord is handled by one app container but I am looking for work ...
0
votes
1answer
18 views

Accounts Tab(Visualforce Tab) is not visible

Accounts Tab(Visualforce Tab) is not visible for a user even after adding in the Customise apps. It is not visible for users having a specific Profile. Checked with Read, create, edit, delete ...
0
votes
0answers
20 views

when selecting a field from dropdown, on the next page i need to give value to that field and update that value in opportunity records

public with sharing class updateoppclass2 { public updateoppclass2(ApexPages.Standardcontroller controller){ } public PageReference gotopage1(){ PageReference pref2=New ...
-1
votes
1answer
21 views

Visualforce page dynamic query [on hold]

i need to do an visualforce page that has an field to put a date and based on that date the page will bring me all the custom obj record with that date. Date is a custom field on an custom object. ...
-2
votes
0answers
31 views

Hello everyone, I am new to visualforce page and I have few questions [on hold]

When ever a vf page refreshes, will the controller method initialize all the values, objects, lists, map or any data which i had in my input fields? When exactly the controller method is called, only ...
0
votes
1answer
28 views

Unknown constructor

I have a page that creates a CSV of account and related data, i am trying to add a block that shows the users related to that account via a contact. I have followed a few tutorials on how to make a ...
1
vote
2answers
31 views

Visualforce page can't find my method?

Firstly, let me apologize in advance for my extreme naivete' in this matter. I'm quite new to VF and could not find documentation to cover what should be an incredibly simply issue. I have a quick ...
0
votes
0answers
35 views

What are the limits of using a third-party framework to build a community?

I have a client who wants a super custom looking Lightning Community. I know two options to build it are with Visualforce and Lightning Components. I tried using Lightning Components, but was met ...
-1
votes
0answers
26 views

Display & update picklist values in custom object

I've a custom object which has a picklist field. I've one visualforce page which shows values from this custom object picklist field to visualforce pagepicklist field. When user first time opens the ...
0
votes
1answer
18 views

How to identify, which class is associated with which custom/standard object in salesforce? [on hold]

Can you guys tell me how to find which class is associated with which object in Salesforce?
0
votes
1answer
34 views

Re-render issue (JS wipes off and also doesn't display data from controller)

I have a vf page where i'm fetching data from controller. I face issue when i click on a button and the panel get refreshed. After refresh i sometime get's the data on vf page from controller and ...
1
vote
2answers
30 views

Visualforce page rendered as pdf on quote [on hold]

How do I create a Visualforce page rendered as pdf with header and footer keeping 'Quote' as standard controller and displaying an image and table on the page. Show company address on top right and ...
0
votes
1answer
30 views

Hide apex:column with IF condition

I want to hide the headerValue of Billing Account column, IF Entitas_X__c == 'Pusat'.. I tried using render inside the apex:column tag but nothing happen.. <apex:column headerValue="Billing ...
0
votes
1answer
22 views

how to hide and show div in VF page using jQuery [on hold]

I have a requirement that whenever user hits the Edit button the particular div should not show up,I've tried it to do so but since I am new so can't figure it out.This is Visualforce component. ...
0
votes
0answers
19 views

List does not display on Visualforce page

For the following controller, debug logs show that a Summary is indeed adding to the SummaryList, but the list does not display on the Visualforce page, although there are no errors. How do I fix this?...
0
votes
0answers
11 views

Open slds modal dialog from iframe - Visualforce page embedded on Standard Layout

I wonder if it is possible to open modal dialog on fullscreen from visualforce embedded on Standard layout? I already tried to resolve that with JQuery but I get only SecurityError: Permission denied ...
1
vote
1answer
31 views

JSON content display : Attempt to de-reference a null object

I am trying to display content from a JSON feed on my Salesforce page using APEX/visualforce page. From information gathered, I am able to get the details of the JSON on variable. But when running the ...
0
votes
1answer
17 views

How to call a javascript method from an apex method to display a button

I have a use case where I have a button "Add another". I want this button to be hidden until an apex method "Save" is called. The save method calls a javascript method which in turn displays the ...
0
votes
0answers
16 views

Add chat transcript in Visualforce Page

Anyone here who knows how to display the Link of downloadable chat transcript of the case in Visualforce. This is the example.
1
vote
1answer
20 views

Trying to hide inputField - Visualforce Page

Im trying to hide my Billing_Account__c inputField on my visualforce page, If my custom field Entitas_New__c = 'Pusat' on my custom object Master_Visit_Plan__c. This is the vf page, as you can see ...
2
votes
1answer
22 views

no response when calling rest api from javascirpt function

i have two org, first org i have written code for GET method, Second org i am calling a the rest api GET method from javascipt code. in the calling org i dont get any response but it response with ...
2
votes
0answers
16 views

Help on enableClickToDial in visualforce

I am using Open Cti in a visualforce page and the page is pinned in utility bar in LEX. Now on click of a button, we are invoking enableClickToDial with a simple callback. Howver the ...
0
votes
2answers
13 views

Find record in lookup field on a case object based on custom case number

We have a Visualforce page on the case object which is used to create quality issue related cases of our customers. We have different functional areas such as Design, Quality etc., For ex, customer A ...
1
vote
1answer
25 views

Unable to pass Master-detail id while creating multiple records using ng-repeat

I have a use case where I have to display some fields on visualforce page and then whatever data user provides on the page, grab the data and create a record out if it. Now the record needs to be ...
0
votes
0answers
11 views

pre populating the account related field value in custom object 'X' having look up with account object when selecting account name [closed]

I have an custom object say 'X' having one field look up with Account object. When i select the Account name from the look up i want to pre-populate the account related field for the related record ...
0
votes
0answers
22 views

VFP redirect intermittently display blank page

On click of "Log a call" button on contact page, it either open existing CTI Task if already created (If condition) or by default opens new Task pre-populating contact field. When redirecting to New ...
-1
votes
0answers
15 views

How to add new events in Visualforce Calendar [on hold]

I am working on Custom Calendar in VisualForce page. I follow steps from this http://www.codebycody.com/2013/06/create-calendar-view-in-salesforcecom.html . Everything is working fine but i dont ...
0
votes
0answers
18 views

How to give inline edit support for related objects?

I have created a Visualforce page where I have implemented inline editing for related objects from any record's detail page itself. Don't need to go to that object to edit fields. I have done this ...
1
vote
2answers
45 views

Help using rendered in VF page

I have a visual force page, on my custom object Visit_Plan__c, looked like this And my custom object relation : (Parent -> Child) Master_Visit_Plan__c -> Master_Visit_Plan_Branch__c -> ...
0
votes
2answers
32 views

Use Recently Added Lead Object Id to Open Primary Tab

Simplifying/Clarifying Question: Command button invokes method to insert lead object. Need to use a console tab method to open the newly inserted lead object. How do I pass the id back from the ...
0
votes
0answers
8 views

How to use Visual force page in Quote Template in CPQ? [on hold]

I need to switch content section dynamically from two columns side by side to one by one. For this I created one Visualforce page and created template content with type as "custom". I gave the ...
0
votes
0answers
24 views

Pass HTML Markup to Apex Controller [closed]

I just need to know if it's possible to pass a HTML markup to the value attribute in Apex Controller? Is there a way to make it ? and to have it passed as a markup and not as a text.
-1
votes
1answer
20 views

Show Record details when we click lookup icon

When ever I click record for ex 001 I want to display details of that particular record
3
votes
0answers
26 views

Why do I get the error “System.VisualforceException: Read access denied for ContentNote, controller action methods may not execute.”?

In a Visualforce page I am outputting fields of ContentNote (such as "CreatedDate") using the same pattern that already works for Note (and many other types) where the sob is a reference to the ...
1
vote
1answer
24 views

View State Error in VF page

Why can't we declare all of our variables of Controller as Transient to avoid View State Error. What's the use of non transient variables.
0
votes
0answers
56 views

encountered the error 'Current Browser not Supported' [on hold]

we build mobile app in hybrid app and we are using Salesforce mobile SDK cordova plugin (https://github.com/forcedotcom/SalesforceMobileSDK-CordovaPlugin). We used ver.5.3.0 when developing this app. ...
0
votes
2answers
24 views

How to scroll-up and down to the sections on the standard pageLayout based on the picklist value

I have a custom object and created a custom picklist with values like "New, Backlog,Stream, Investigation". I have created pageBlockSections with respect to each picklist value on the vf page with ...
-2
votes
1answer
46 views

can we print half pyramid using star * in visualforce page and logic should be in apex? [closed]

i want to write logic in apex class using for loop. and to display * half pyramid shape in visualforce page ,just like we write in c,java . is this possible? if yes pleae help with code in apex.
0
votes
1answer
14 views

Pass a URL Field into the src of an iFrame in a visual force page?

Here is a basic code of what I am trying to do: <apex:page> <apex:pageBlock > <apex:iframe src="CannotFigureOut" scrolling="true" id="theIframe"/> </apex:...
0
votes
0answers
11 views

How can I tell when a mobile card is being displayed as a full page

I want my visualforce mobile card layout to be different between it showing up on the record 'related' tab and when the card is clicked to view the full page. How do I make this distinction in ...