Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [dynamic-visualforce]

Dynamic Visualforce components offer a way to create Visualforce pages that vary the content or arrangement of the component tree according to a variety of states, such as a user’s permissions or actions, user or organization preferences, the data being displayed, and so on. Rather than using standard markup, dynamic Visualforce components are designed in Apex.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Dataself Dashboard filter not working

I'm using DataselfBi, which is a Tableau subsidiary service. I'm trying to add a dashboard as a tab in Salesforce and when I try to filter it using the {!Account.OwnerId} as a filter parameter, and ...
Eliezer Bautista's user avatar
0 votes
0 answers
54 views

VisualForce EmailTemplate With unrelated Custom object Data Needs to be sent as email

I have struck in a particular scenario where i need to showcase a data table of unrelated records in the email template. Initially i have created the Email Template. On click of a button in LWc im ...
pavan kumar's user avatar
0 votes
0 answers
29 views

unable to sync the selected radio button with apex contoller

I have created a visualforce page : <apex:page standardController="Contact" extensions="ContactMergeSelectionController"> <apex:form > <apex:...
Dev Khandelwal's user avatar
0 votes
1 answer
65 views

Visualforce remoting not working when iframed

I have a VF page which is being used on a force.com site. It calls an apex method when the page is loaded using vf remoting. This is working fine when I open the URL directly in the browser. But when ...
Syed Ovais Ali's user avatar
0 votes
1 answer
28 views

I could not able to get table properly when table(page break occurs) continues to the next page when dynamically creating table in VF

I am created a table dynamically in apex and calling into the VF page, whenever table is long when it is moving to next page, I want it getS closed and create new header and repeat contents in next ...
psr369's user avatar
  • 1
0 votes
0 answers
227 views

Conditionally rendered fields

looking for general ideas on how to approach the requirements below: "Create a Case" button/action on Account’s Lightning record page: Ability to choose from different record types and ...
sfdcadmin's user avatar
0 votes
0 answers
48 views

How do I remove the pop up upon clicking custom button referencing a visualforce page?

When i am clicking the custom button popup is coming and then redirecting to page. <apex:page action="{!onLoad}" standardController="account" extensions="MyPage_Controller&...
shantanu's user avatar
0 votes
0 answers
156 views

How to use if else condition in VF Page

I am trying to use IF Else condition in VF Page. It is working for IF block but I am not sure how to use else block. Scenario is IF(Field="Hard Hat"), Show check box image; else show ...
Harsh Shukla's user avatar
0 votes
1 answer
1k views

embed an image with url aura component

Is it possible to display an image that has a URL link embedded in it within an Aura Component? I am able to get the image to display in my lightning page, but I would like to have the image embedded ...
andrew's user avatar
  • 149
0 votes
1 answer
146 views

VF page with 2 search conditions

I want to create vf search page with 2 search conditions. In Account object Type and Industry are 2 picklists. Based on these 2 fields I have to search and display records but I'm getting error when ...
Pranjal Tiwari's user avatar
-2 votes
1 answer
293 views

use method() from other apex classes into the VF page [closed]

Can we use method() from other apex classes into the VF page directly and by not using the controller of that VF page? In Java, we can use package and do so, but I have no idea what to do with the ...
RAJAT MAJUMDER's user avatar
2 votes
0 answers
385 views

Dynamic Record Ids in Embedded Visualforce page within Lightning Record Page

We are working on an AppExchange app, where we need to embed the below widget code into Salesforce lightning record page. <!--- EmbedWidget Visualforce Page --> <apex:page controller="...
Ashish's user avatar
  • 2,370
0 votes
1 answer
589 views

Show popup with confirmation button using addMessage and commandlink

I have a requirement where I have to create a popup (using addMessage) that display two options: confirm and cancel, each of these options has an action. I already tried passing a command link in the ...
Владимир's user avatar
0 votes
0 answers
1k views

How to prevent the symbol "&" from being replaced by "&amp;" in the URL?

string redirectURL= URL+'OppId='+oppId+'&Country='+country+'&Lang='+lanag+'&Status=Approved&QuoteId='+quoteId; As mentioned above is URL is used for a certain function. But when the ...
RAJAT MAJUMDER's user avatar
1 vote
1 answer
679 views

Using <apex:variable> to store a simple math division gives the error: Unknown property 'NCQuote__cStandardController.Multiplier'

I am having an issue storing the result of a simple math division of two local VFP variables into a third variable called Multiplier. <apex:page readOnly="true" ...
cpaesano's user avatar
0 votes
1 answer
779 views

how to add Space between 2 rows using panelGrid in visualforce page

I am using panelGrid for this UI. Please fetch the code and Ui below and lt me know where I can add the css in order to increase the spaces between the rows. I have used rowclasses attribute in the ...
Reettik 's user avatar
-1 votes
1 answer
1k views

How to conditionally call fields in a table in visualforce page?

I'm wanting to show on the visualforce page a table with the value of fields that I take from a list. However, some fields should only appear conditionally: VisualForcePage: <apex:repeat value=&...
Souza's user avatar
  • 305
1 vote
1 answer
332 views

To display month dynamically in visual force

here is my code. What I want is to display the month in format (Jan, Feb, etc.) in a visual force. My expected output is let's say today is September, so the dropdown value will have Jul, Aug, Sep, ...
atiqah yusri's user avatar
0 votes
2 answers
978 views

How can I change the background color of the column header not the text of the header facet in an apex:datatable

I am trying below code in my 'apex:dataTable'. <apex:dataTable value="{! Opportunity.Contract }" var="contract" styleClass="productsTable"> ...
Tanveer Ahmad's user avatar
0 votes
1 answer
244 views

I'm trying to pass a string from an input text field on a vf page to the controller and display the results of an updated soql query

Hi I'm working on making a super simple vf page that has an input text field so that a user can input a tracking number and the results of the soql query will be displayed beneath it. Initially, my ...
Matt Levine's user avatar
0 votes
1 answer
539 views

Invalid field for SObject Account

Im trying to get editable fields and non editable fields and use them to iterate in visualforce using apex:repeat. Apex:code readOnlyFields = new List<SObjectField>(); accessableFields = ...
Ram's user avatar
  • 13
0 votes
0 answers
56 views

Error occurred trying to load the template for preview: Attempt to de-reference a null object

VF Contrller:: public class ComponentHandler { public id DispatchId{get;set;} public list orders; public listvarStr; public list ordItms; public listcaseIds; public list casess; public List ordId; ...
sunil singh's user avatar
0 votes
1 answer
540 views

rich text not formatted on vf pdf properly

I have created a vf page pdf and use a custom RTF field but on PDF it is not rendering properly i tried outputText and OutputField tag but not able to fix the issue. on Detail page Image is below On ...
Ankit verma's user avatar
0 votes
0 answers
787 views

Static resources pdf file open in a new tab

I have one vf page pdf which is dynamic and there is another (staticTest_pdf) which i have stored in static resources. and my requirement is open both pdf after click on Action button (call Lighting ...
Ankit verma's user avatar
0 votes
1 answer
1k views

Open model/dialog/VF Page/LWC Component from Salesforce trigger

Can we open model/dialog/alert/VF Page/Lighting component which is having yes/no button and a label from the Salesforce trigger? I want to show a confirmation box with yes/no button from the trigger. ...
Nand kishore Sharma's user avatar
0 votes
1 answer
588 views

Insert parent and child record and reference parent in a single VF page

I have a VF page that inserts two records in a single page: Insert recipient__c object with required fields: school__c Insert scholarship_award__c object with required fields recipient__c, year__c, ...
patriciajlim's user avatar
0 votes
1 answer
61 views

Inner class property not seen in visualforce dynamic component

Apex Class public class outterClass(){ // set properties public List<innerClass> inners {get; set;} outterClass(){ // set inners list values inners = new public List&...
84079616ytreza's user avatar
0 votes
1 answer
85 views

Do some controle before generating VisualForce PDF page

I designing a VisualForce PDF page and I am using a controller extension. The generation of the page happens by clicking on an action associated to an Object to show it's different fields' values. I ...
zaizousf's user avatar
0 votes
1 answer
236 views

OutputText for dynamic Value

<td > Fees: <apex:outputtext value="{! If(abInsurance !=null,'Rs. {!abInsurance.charges__c}',If(xyInsurance!=null,'Rs. {!xyInsurance.charges__c}','None')) }"/> </td> Only ...
PiK's user avatar
  • 15
0 votes
1 answer
200 views

save button not working on pageblockTable column

I have added inlineEditSupport and save function to pageblocktable on Case object. I want to save values in inputField "Case Review Notes" field (Case_Comments_On_VFReport__c). When I click ...
curiousCaseOfSfdc's user avatar
0 votes
1 answer
292 views

How to resize VF page [duplicate]

I did a VF page, to show a message. how can I resize it to fit full component? thank you! this is the code I have.
Lidiia's user avatar
  • 3
0 votes
1 answer
1k views

Classic Email Template in Lightning Component - Insufficient Privileges

I used visual force components in classic email templates. Now I need to view those email templates in Lightning. So I have created Lightning component custom action to create a pop up and used iframe ...
user70573's user avatar
1 vote
1 answer
256 views

How to store state and conditionally render UI of a VF component in JS

I am enhancing the app setup application to replicate Setup Assistant UI. To build the expandable setup UI. I need to store the state(Expanded/Collapsed) of the component. Normally in Aura/LWC, I ...
Anmol Kumar's user avatar
  • 3,631
0 votes
1 answer
61 views

How do I pass the currentRecordId to the searchquery (Visualforce)

<apex:page extensions="SearchInVFShareholderVotes" standardController="Shareholder__c"> <apex:form> <apex:inputText value="{!searchKey}" label="Input"/> <apex:...
Dhrivz's user avatar
  • 15
1 vote
1 answer
109 views

Parameterize apex:param value on a Visualforce page

I've got a list of fields that I want display on a Visualforce page. I can get this to work: <apex:repeat var="animal" value="{!animals}" id="lotsofanimals"> <...
LeeFranke's user avatar
  • 335
0 votes
1 answer
278 views

How do I dynamically generate sections in visualforce page?

The objective is to have numberOfSections variable in the controller and then dynamically generate these sections on the vf page with the same format. How can this be achieved?
Nishant Aishwarya's user avatar
0 votes
1 answer
835 views

How can I remove New Button from Search Layout

How Can I remove new Button from Recently Viewed Search Layout in lightning experience .
Venkat RAJ's user avatar
0 votes
1 answer
39 views

Multi selection allowed failing in object describe

My code fails for multiselection of describe object iam getting following error. System.NullPointerException: Attempt to de-reference a null object Error is in expression '{!showFields}' in ...
psalesforce1989's user avatar
1 vote
0 answers
54 views

Getting multiple lineseries component VF charting & dynamic VF

I have a requirement where I am asked to have multiple lineseries. The number of line series components is variable. I tried Dynamic VF components with just one line series and this is the error ...
Ksam's user avatar
  • 11
0 votes
1 answer
59 views

Visualforce Page : kindly read the info at the end of the code regarding pagination and Javascript function

Visualforce Page: <apex:page sidebar="false" Controller="Invoice_details" showHeader="False" docType="html-5.0" readOnly="true" > <html xmlns="https://www.w3.org/2000/svg" xmlns:xlink="...
Nishant's user avatar
  • 21
0 votes
1 answer
29 views

Custom Controller methods which are passed an object

I'm outputting a list of Opportunites and want to create a hash, or checksum for some of the data in the object. Is there a way to pass the current apex:repeat object back to the controller to get it ...
Dave Smith's user avatar
0 votes
1 answer
59 views

visualforce pagination does not work [closed]

I mentioned the code below, when i click on next, first, previous or last, it does not work visualforce code <apex:page sidebar="false" Controller="Invoice_details" showHeader="False" docType="...
Nishant's user avatar
  • 21
0 votes
0 answers
680 views

Dynamically assign values to VF page, render as PDF and attach it to mail

here is my scenario. From a method 'myClass1' I send Account, contact and a list of custom records to a method 'createEmailwithPDF' of another class - 'myClass2'. 'createEmailwithPDF' takes all the ...
Naveen Karthick's user avatar
0 votes
1 answer
925 views

How to display helptext on hover in apex:Column

I would like to display help icon,on hover display helptext in apex column header. Code: <apex:column HeaderValue="Description" width="24%"> <apex:outputField value="{!...
Sara's user avatar
  • 3
0 votes
1 answer
254 views

Process an existing spreadsheet and output it in excel [closed]

I have a requirement where I need to store an excel workbook (with multiple sheets) in salesforce. Most probably in static resources or salesforce documents. Then when I click on a button on the ...
Nikilesh Kopparthi's user avatar
1 vote
1 answer
410 views

How do you use a variable in the footer of a VF page?

In the code below, I want to include the account name in the left footer dynamically. If I have {!account.name} in the left footer, nothing displays there. If I do not include {!account.name} I see ...
Jim hyland's user avatar
0 votes
1 answer
373 views

when i click on text its checkbox automatically checkbox must checked in visualforce Page

<apex:page controller="Apexclassforaccandcheck"> <apex:form> <apex:pageBlock> <apex:dataTable value="{!acw}" var="aa"> <...
SFDC V's user avatar
  • 5
0 votes
1 answer
98 views

Dynamic VF Binding error

I'm facing the exact same issue described here Error: Incorrect parameter type for subscript. Expected Text, received SetValue I'm trying to populate a table with a list of input fields, where the ...
Pablo Gonzalez's user avatar
1 vote
1 answer
1k views

Embed visualforce page to existing layout

I am new to the salesforce and I want to do the same thing that this guys want to do: Embed a Visualforce page in a Standard Edit Layout But on the left side I am not able to see "Visual Force Pages" ...
Mysterious Coder's user avatar
1 vote
1 answer
167 views

How can the layout of a pageBlockSection be fixed in place so they don't move around when completed?

I have a pageBlockSection that moves/jumps up the screen when a value has been entered. How can I fix this and its contained inputField in place? If I use the following, when the field is changed the ...
Martin of Hessle's user avatar

1
2 3 4 5
9