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

learn more… | top users | synonyms

0
votes
1answer
31 views

How do I send translated emails based on the language on the user record?

Just i want to send email content type multiple language. <messaging:emailTemplate subject="Confirmation Registration" recipientType="Contact" relatedToType="User" language="{!relatedTo....
0
votes
1answer
23 views

Fetch specific field value (e.g. Name) from dynamic sObject in Visualforce page

I've read many suggestions regarding retrieving values from sObject in controllers and classes. I want to know if I can retrieve a specific field value from an sObject (which could be an Account in ...
0
votes
1answer
23 views

Dynamic Describe Result

Schema.DescribeFieldResult field = Opportunity.StageName.getDescribe(); List<Schema.PicklistEntry> PL = field.getPicklistValues(); I am trying to do this:I want to replace field name ...
1
vote
1answer
33 views

Get the values of Visualforce page

I create a custom visualforce page where user inserts one value (i.e. Indirizzo__c). Now I want to add a button on the vf that create an Event (Salesforce standard Object) and fills one field, inside ...
1
vote
1answer
27 views

Visualforce URLFOR parameter binding

I'm trying to override the new case functionality to prepopulate certain fields depending on which recordtype the user selects. This is my visualforce action page: <apex:page standardController="...
1
vote
1answer
29 views

Saved Records in Read Only Mode on Refresh in VIsualforce

I have a VF page in which I am saving and adding the values through two buttons. Buttons are working fine. when i click the add button, a new row is added and when i click on save button,data is saved ...
0
votes
1answer
56 views

Bootstrap into css on vf page

I had built a vf page with css but the layout is varying on different browsers and window screen. So I need to go for bootstrap which will support all. But I am totally new to this. Can anyone help in ...
0
votes
2answers
55 views

Show Saved Records in Read Only Mode on Refresh

I have a VF page in which I am saving and adding the values through two buttons. Buttons are working fine. when i click the add button, a new row is added and when i click on save button,data is ...
0
votes
1answer
47 views

Unable to set focus on <apex:inputText> inside an ouput panel of visualforce page

I am quite new to Visualforce and Apex. I am trying to set focus on the apex inputText field, placed inside an ouputpanel, which will be popped up based on an action function. I tried setting focus ...
0
votes
1answer
43 views

Image selection on VF Page

I have a 4 step wizard displaying images on visualforce page. I have created a text rich field on product with family as "t1", "t2", "t3", "t4" where I store images. I have to display images to my ...
-1
votes
1answer
33 views

Dynamic Visualforce Search Page

I'm running into two problems on my search page. Nothing is happening when I click the 'Reset' button and I am getting this error when I search using a date field: System.QueryException: ...
3
votes
1answer
186 views

Dynamic Visualforce page not showing Checkbox values correct after page reload

I have the following Visual force page: <apex:form id="mainForm" > <apex:actionFunction name="renderConsolePage" action="{!renderConsolePage}" rerender="out1"/> <apex:...
0
votes
0answers
18 views

View state in Visualforce components

I am developing a VF page which will have two components. These two components will be placed multiple times on the same page with different input parameters. I am not sure how much view state will ...
0
votes
1answer
24 views

Build Dynamic Search page for Custom Object ''Building''

I am a solo admin with no dev skills. We have a requirement to create a searchable page for our custom object ''Building'' they would like this page to allow user to search for building records, ...
0
votes
1answer
55 views

How to Format the numbers entered in the Input Text Fields

When i try to search with 1000000 and 1500000 in Price Min and Max fields.the soql query is executing fine.but when i enter the values seperated with commas like SFmin=10,00,000 and SFmax=15,00,000....
0
votes
4answers
64 views

Issue with apex:map

I have a map, Map<Id, Contact> contactsMap in my apex class where key is the contact id and value is the contact itself. I am iterating over this map in visualforce page to get the contact's ...
1
vote
2answers
44 views

Conditionally Render Input Fields from Component - Visualforce

I am trying to figure out how to render a Visualforce component containing inputfields conditionally, depending on a stage field outside of the visualforce page. I would like to render a different ...
-3
votes
2answers
62 views

display opportunity products in a table

i created custom button on opportunity object which will redirect user to a VF page which will populate some opportunity fields and a table showing related opportunity product details <apex:...
2
votes
0answers
29 views

Dynamic <apex:inputHidden> fields

I am trying to create a small VF page which displays a set of dynamic fields. Here is the controller: public class dynFields1 { public final Case casex {set;get;} public dynFields1(ApexPages....
0
votes
0answers
25 views

How to delete selected profiles from the pageblocktable?

I am displaying the selected profiles on another pageblocktable but my requirement is I want to display the selected profiles on another pageblocktable and at the same time I want to remove those ...
2
votes
1answer
41 views

Dynamically determine type of input from controller

I have a custom object with a field named AnswerType that is a Picklist, and has possible values of Picklist, Text or Textarea. Essentially, the client wants to be able to ask the user a question in a ...
0
votes
2answers
65 views

How to make column ID as Dynamic in vf page?

I want to generate dynamic ID in my vf page for columns. Here is my code: <apex:repeat value="{!customerMap}" var="indexKey" > <apex:pageBlockTable value="{!customerMap[indexKey]}" var="...
1
vote
2answers
31 views

Creating VF page by using Salesforce Tooling API . JSON_PARSER_ERROR

I am using Salesforce Tooling API for creating dynamic VF pages . Everything is fine but i am getting 18:23:09:159 USER_DEBUG [239]|DEBUG|[{"message":"Unexpected character ('P' (code 80)): was ...
0
votes
0answers
44 views

Ending position out of bounds: -1 Visuaforce page

After disabling development mode in visualforce page the following error is comming.
0
votes
0answers
22 views

How to show Integer list in vf page

<apex:repeat value="{!grndlst}" var="grnd"> <table> <tr> <td> {!grnd.grndacc1} </td> </tr> </table> </apex:repeat> ...
0
votes
2answers
32 views

IF inside an action=“” - different method based on criteria

I'm struggling with syntax here. This is what I'm trying to do - obviously the syntax is wrong. <apex:actionsupport event="onchange" action="{!IF(x=1, {!save}, {!otherMethod})}" How would I ...
3
votes
3answers
114 views

CKEditor when used to rerender text area to rich text area breaks the binding with the controller

I tried using CKEditor to render the text area as rich text. But when I edit the text present in the editor, it does not sync back to the controller. Here is the code i used to make text area rich ...
0
votes
0answers
31 views

Dynamic Apex Chart -apex:axis maximum calculation

Am Creating a dynamic apex chart .The problem am facing is in calculating the maximum value is considering only 500.00 where in the map has still higher values . Thanks for help in advance. The ...
3
votes
2answers
236 views

Data Driven Visualforce Page

I am designing a custom input picklist form that will be data-driven.Based on picklist value selected next question should show up with the picklist options.Like wise it might end up having 10-15 ...
1
vote
0answers
36 views

Apex:selectList dependent on ApexInputfied

`First, I am not a developer by any means so please be kind. :) I have created a custom Visualforce Log a Call page which makes use of URL Param button to auto populate a picklist field (Vertical__c) ...
0
votes
1answer
45 views

Link to Report on VF Template

Is there a way to add an Link to a particular report onto the visualforce email template. example:<apex:outputLink value="{!LEFT($CurrentPage.URL,FIND('/',$CurrentPage.URL,9))+'/'report.id}">...
0
votes
0answers
32 views

How to use fields that are not in the page layout in a VF inline page?

Is it possible to use in a VF inline page, fields that are not presented on the page layout? I don't want fields to be presented twice but not sure how to achieve this as when I remove a field from ...
2
votes
1answer
41 views

Visualforce | Multi Conditional Block Rendering

I have a beginner's question.. I'm trying to make a VF PageBlOckSection render by the following logic: IF Opportunity.Cancellation__c == TRUE AND Opportunity.Paid_Upfront__c == TRUE than Render ...
1
vote
2answers
93 views

Javascript Actions such as onmouseout and onclick not working for apex:inputtextarea with rich text enabled

While trying to call JavaScript functions on <apex:inputtextarea> with rich text enabled the call is not being made and alerts are not being displayed. <apex:inputTextarea richText="true" id=...
2
votes
1answer
26 views

Dashboards: show list of leads counted in graph

Say I have a graph that looks like this on a dashboard in Salesforce: How can I display, preferably color-coded, the leads counted in it (i.e., the ones talked about in the graph)? Like to the ...
0
votes
0answers
97 views

Base URL in VF Component

I am creating a vf component and was stuck to add a base url to href. <apex:component controller="OpportunityReminder_cls" access="global" rendered="{!NOT(Isnull(FLstWrapperString))}"> <...
1
vote
1answer
255 views

How to increase the width and height of the Rich Text area field in Visual force Page?

I know this question has been asked earlier. but did not see proper responses so asking again. <apex:pageBlockSection title="Preview Pane" columns="1"> <apex:inputTextarea richtext="true"...
1
vote
1answer
60 views

Multi select Picklist and Visualforce issues

I am trying to display picklist values from a multi select picklist from a related object. I am using a visualforce page and putting this in the record detail. VF Code: <apex:page showHeader="...
0
votes
0answers
22 views

what approach to take to build a search filter on visualforce page

i am a beginer in salesoforce,want to build a search panel on the vf page in which there will be 3 fields product name,operator(equal to,not equal to etc) and value if the searching will be based on ...
1
vote
1answer
37 views

Outputting spaces with dynamic VisualForce component

I am having trouble getting my dynamic VF Component to space out the buttons for navigation on my page. As you can see in the image below, it correctly outputs spaces between the Previous and Next ...
0
votes
1answer
61 views

How to hide or show (<DIV>) items dynamically in a VF Component?

I have the below VF Page where I am using pagination to only show 7 records at a time: The VF component code in the VF page is: <apex:pageBlock id="navGroup" rendered="true" > <div align="...
0
votes
0answers
27 views

Get VF page/component instance from controller

The distinction here is that I want to access the very page/component that is binded to the controller (as opposed to calling Page.MyPage or Component.MyComp which instantiates a new object). To put ...
1
vote
1answer
45 views

Is it possible to line up PanelGrid with PageBlockTable or hard code a pageblocktable

So I have a data entry grid that is a pageBlockTable. I'd like to put instructions below the grid. What control can I use to make the grids line up? This is the data entry section <apex:...
1
vote
3answers
91 views

Mass email the Visualforce email template

We have a limitation using Visualforce email template. VF Email Template can't be used for mass email. I am look for the ways how this can be achieved. I have created a visalforce email ...
1
vote
1answer
49 views

Visualforce Email Template - Related To

I am trying to fetch all the Opportunities associated with the User.Below is the Visualforce Email Template. I am stuck with the line of the code received error: Error: Invalid field ...
2
votes
0answers
55 views

Dynamic Visual Force Binding - getting values to Controller (null)

I am stuck at what I beleived to be a simple implementation using Visual Force Dynamic Bindings. I have the following scenario: A Standard Case has a relationship to a Custom Object (we can call it ...
0
votes
1answer
77 views

want to call Script from Visualforce page [closed]

When i run below code on button click event, it is not working. <apex:page > <apex:form > <apex:includeScript value="{!$Resource.jqueryAvaWidget}"/> <div id="...
0
votes
1answer
94 views

Disable selectList after selection is made

I have a selectList in my VF page which allows the user to select the record type. On change the appropriate fields are shown to the user by re-rendering the PageFields. But as well as re-rendering ...
4
votes
2answers
101 views

Getting a VF component dynamically by name in Apex

I am trying to use Apex to control which component to show inside a <apex:dynamicComponent> but I don't want to hardcode the component names. So my question is, how can I reference the component ...
0
votes
0answers
68 views

Download an Attachment in VF page, Chrome issue

I have created a VF page which displays the attachments of a case. I have added the below piece of code to view or download a file. <a href="/servlet/servlet.FileDownload?file={!attachment.id}" ...