visualforce's questions - English 1answer

14.649 visualforce questions.

Related to this question How to keep components out of the Visualforce view state when they are not needed?, I have many apex:dynamicComponents in my page that I want to put slightly different content ...

I want to export standard Case page, along with related lists and its details to a PDF. Not the entire page. but particular sections, along with feed and emails. I tried "RenderAsPDF" through ...

The view state problem we mainly run into is not properties of the controller using it up (as we use transient heavily) but the component tree that the Visualforce tags generate using it up. That is ...

I'm using a custom_object and once the user save I want that page to redirect to list view page but what is happening is that right after i click save button i see the white blank screen with the ...

I updated the question due to the issue being specifically for a dynamic component Currently, I have a custom VisualForce page used to fill out a new Opportunity. Everything works as intended except ...

What is the difference between rerendering one wrapper outputpanel or several outputpanels inside of wrapper? What is the best way?

I have developed a visualforce page which contains a button to download the content of the visualforce page as pdf. When I click on the button, a pdf file is downloaded but when I open the file it ...

I am not able to render pdf files of size greater than 1.5 Mb on VF using the below article. Only blank screen appears on load/preview opposite to successful pdf generation in case of <1.5 Mb pdf ...

Am designing a JQuery AutoComplete search box in visualforce page and getting the data source from controller class from two picklist fields(Controlling and dependent). The autocomplete search box ...

I have below code to update the input text field value for OUTCOME field from the User. My list update is failing to happen without throwing any exception. Please can someone help me here? My ...

I am using this below code to record how many times an user is clicking a link i.e onclick i am calling an action:function and it is working fine. But the user is doing open link in new tab. When he ...

Here am calculating sum of amount for the field in child object. Parent Object - Department__c Child Object - Medical_Equipment__c Medical_Equipment__c field for master - ...

I am trying to validate fields on visualforce page using SLDS Validator. https://gist.github.com/msrivastav13/dd45242d3484c6b76f8a Taken reference from this website http://cloudyworlds.blogspot.com/...

i have tried a lot but dont know what i am missing... how do i pass into the visualforce page? < apex:component controller="inviteParticipantsController"> <apex:attribute name="...

In a custom VF page, inside of an apex:repeat iteration, I want to display the result of a method that's in the controller. The method needs the record ID of the current record in the iteration, so ...

EDITED to include apex Messages I have created a clone button on a Contact record which is designed to add another object (survey) and its child records (survey questions). My issue is that i cant ...

Email Address : bob.marley@abc.com , sia@cheapthrills.com Currently we are displaying as plain text. Requirement : To display each address as clickable hyperlink . Current code: <tr> <...

I am trying to fetch the images from the attachments and trying to display these images in a visualforce page which is rendered as pdf. But in the pdf I am getting broken images. If I remove the ...

dynamic datatable

1 answers, 644 views apex visualforce class
I want to create a datatable with opportunity information. I add a picture that shows how the table should look like. I have the information for the table ( below is my class code), but I don't know ...

We have a custom VF page for the account page layout. I am trying to create a new opportunity using the new button on the opportunities related list on the Account. I fill in the required fields and ...

I try two ways (public link and ContentVersion Id) to display image from another org: <apex:image url="https://my.salesforce.com/sfc/p/#f400000567hz/a/f40000005ZIe/XJ0RMkEnnh6Sj67FN....

Currently i have a Detail page button URL (using URL hack) on Lead. https://testorg--test1--c.visualforce.com/apex/Lead_form?leadId={!Lead.Id} But when i use this button in Lighting i want it to ...

I have visualforce page that renders the data in apex:pageBlockTable I have checkbox with button, I'm trying to acheive the following: When the page loads I want the button to be disabled If the ...

There is a custom visualforce page with a bunch of fields and a save button at the bottom. If the URL is bad/incorrect, I would like to hide the fields and the button on the page and display a ...

I need to develop a page where a pageblock table will be displayed in which the first column would list down all the fields of an object selected by the user(Object selected in previous page),the ...

I've created a custom Lookup field to look into Accounts and have the ability to multi-select accounts. I want to place this field on the Opportunity Object as we have an Account Record Type for ...

I Have to lists with different records but using only one object. Like Example Apex Controller: List<Commission_Setting__c> minChargeOTC = [Select Id, Commission_for__c, Rate__c From ...

I have a visualforce page which displays a list of orders in a table. For each order (a row in the table) there is a selectList for the user to select a teacher (i.e. this is a custom lookup field ...

I have a React app that runs with as a Visualforce tab in the Salesforce both classic and lightning version. The app router works well in the classic, but it does not work in Lightning Experience. ...

I have problem with automatically added span tag in the td element. My code in visualforce page is following: <table class="table table-hover table-bordered"> <thead class="headerRow"> ...

I have came across this many times and have spent many hours to resolve VF render issue, suppose I have page with id="page" , form with id="mainform", and a panel with id="mainpanel", so when I wanted ...

I am struggling with a custom visualforce content for CPQ, basically I am trying to display values from the public List<RowWrapper> getRowWrappers() in the Apex class When I am doing debug ...

I have created a public site to create Lead records. It seems as though the site's profile has access to the composite Name field but not the FirstName or LastName fields. Eg: //This doesn't Work ...

<apex:page standardController="Case" showHeader="false" sidebar="false" standardStylesheets="False" id="pge"> <head> <link rel="stylesheet" href="{!URLFOR($Resource.web2caseResources,'...

I created a Custom Object (Payment terms mapping) which have 2 fields, term_code & term_value. I imported a list of code & value into this table. then I have a custom picklist field in my ...

I have a lightning component loaded in to a visual force page; VF page is called via an action. Once I try to load this action from a mobile device/simulator I could see a standard save and cancel ...

Could you please to help this? I'm very new with javascript.I have tried many way but it doesn't work. I have problem with javascript function I have tried to call method from controller but it doesn'...

I have Advanced Approvals enabled in our organization for our Salesforce CPQ. When an approval is requested from the Quote, an email gets sent to the approver through a VF template. I would like to ...

Since no one has suggested a better solution to my question I'm currently trying to include a custom component into a standard layout using a visual force page. I was able to create the VFP and add ...

I have vf page where I enter some value inputfield and click on save, again I change value in that input field and click on save but this time the latest value that i entered is not binding to the ...

Here i have one Visualforce page and my situation is when i am clicking on Save Button both PageBlock will appearing but i want is : when i am click on Save the existing Pageblock should be hide and ...

I want to pass a Map<String, List<String>> from apex controller to javascript. Here is my approach, I am using javascript remoting for it but it's not working. controller function @...

I have an apex command button inside apex form with it's action calling an apex pagereference method. This makes the page reload every time I click the button. Can someone please help regarding this? ...

In Visualforce apex:variable can be used to avoid the repetition of a Visualforce expression. I have a collection returned from an @AuraEnabled method for which I want to do the same sort of thing ...

I have a VF Page for Account that has the related list (Cases) added in the Vf page code. When I login in classic and click on account record, go to Cases related list and click on New case button - ...

I created a simple custom component, which I need to add on a Page Layout. Looking around on internet I found out that I should: Add the component to a visual force page Resize that visual force ...

If the selected picklist value is "stagename=Prospecting" and the 4 text fields are displayed and had given some data in the 4 text fields and clicked on save and if we edit the same record and ...

VF Page code: <script> $(document).ready(function() { //showing spinner here callAsyncProcess(); function fireOnComplete(){ //stopping spinner here } }); </...

I'm looping through a few fields in a fieldset and displaying them with outputField. I would like the Object__c.Name field to hyperlink to the record. Is it possible to do this? The only solutions I ...

I'm in the Service Cloud Console. I have a flow embedded in a VF page. The VF page is a component on the account detail layout. The flow creates a case. When the flow is finished, I want the case ...

Related tags

Hot questions

Language

Popular Tags