Visualforce is Salesforce.com's HTML template technology, allowing dynamic creation of web pages (as well as other files) utilising Apex logic and SOQL queries to replace merge fields with content.

learn more… | top users | synonyms (2)

0
votes
0answers
4 views

Problem in attaching file through apex:inputFile

I have apex:inputFile on my page. It is rendered on some condition. When it is initially rendered and i upload file then i gets the attachment on my controller. But when it is not rendered initially ...
0
votes
0answers
9 views

Copy One custom field value to another custom field for a custom object

As in the accounts edit page, I want to achieve the Copy Billing address to shipping address for a custom object. I know this can be done either WF or trigger but I want that to be dynamic and based ...
1
vote
0answers
10 views

Salesforce1 not showing visualforce page on dashboard

The problem looks like this image. I have followed the instructions: Visualforce pages that use the Standard Controller can’t be used in dashboards. To be included in a dashboard, a Visualforce ...
1
vote
2answers
39 views

How to display List<List<String>> in Visual force page?

In controler i will get the data as "List < List < String>>" , how can i display it on Visual force page? And that "List < List < String>>" is populated based on user input(Checkbox ...
0
votes
1answer
12 views

Save file out of Salesforce to specific directory on pc

I have a client that needs to extract data on a button click and save a formatted file to a specific directory on the users pc. This is so a dos batch process can pick up the file and process it. Any ...
2
votes
1answer
17 views

Disable parent page scrolling in Salesforce1 for iOS

I'm having issues with scrolling on a custom Visualforce page that is displayed as a Salesforce1 app on iOS. I've noticed that the Visualforce page is loaded in an iframe on the Salesforce1 app, and ...
1
vote
1answer
27 views

Call a method with parameters from script in a Visualforce page

I want to call a apex method with parameters from my script in a visualforce page and use the return value to feed a inputField. I tried to explain it in the code here(hope you understand my request): ...
1
vote
1answer
25 views

Show only 'today' and future dates in calendar picker. No dates in past

I am having a Date field myDatefield__c. I'm accessing it in VF page. So, is there any way, so that I can disable the old dates. For example: If I click on the date field, when calender pop up will ...
0
votes
0answers
21 views

iwhen page loads picklist value as formula field in same record

i had page block that consist of two different object data one column consist of formula field and othe filed consist of picklist value i need get the picklist value as the per the formula field. in ...
1
vote
3answers
81 views

Get field label without doing a loop

Is there a way to get the label of a field without doing a loop on all object fields like this : Map<String, SobjectField> fieldMap = Account.getsObjectType().getDescribe().Fields.getMap(); ...
1
vote
1answer
25 views

Trying to change the profile of logged in user through apex

My requirement is when a user logged into customer portal using credentials-profile has to be changed when a action is called on button-click. At the time of login -profile is say 'abc'. I have called ...
2
votes
1answer
42 views

Populating Selected Records in Standard List Controllers

If you have a page using a standard list controller, like this: <apex:page standardController="Account" recordSetVar="Accounts"> You can create a custom button for account lists allowing the ...
2
votes
1answer
45 views

Salesforce Package Installation

Does anyone know any reason an error could occur if I do not download version 1.1 of a package before version 1.2. Some functionality don't work unless I install version 1.1 before 1.2. I cannot ...
2
votes
1answer
22 views

How to measure inline visualforce page(s) performance and load time when it is pinned in a standard page?

i have enabled development mode and want to verify the Performance tree, view state, etc. Since i have a inline visualforce page i am not seeing a development mode window displayed on my Account ...
0
votes
0answers
16 views

Como comparo y tomo solo un registro si tengo “N” registros iguales [on hold]

Amigos tengo el diguiente problema: solo debo marcar un registro de los "pendientes", lo que el código hace en estos momentos es que toma el código de una cartola y busca las coincidencias en todos ...
2
votes
2answers
24 views

update the account field based on opportunity in salesforce

My request is to update the account field based on opportunity both has same fields name i.e segment1 which is multi select pick list values an account has multiple opp right. when i update the opp1 ...
1
vote
0answers
17 views

Show The first field value based on 2nd field value dynamically?

I have create a page which has picklist based on that picklist i have to show the rows and in that rows i have toshow 1st row value based on 2nd valu means level low days high ...
1
vote
2answers
24 views

How to do GROUP BY

Hi i have written this query but it will give earror(Field must be grouped or aggregated:) [SELECT Profile__c,name,count(NumberofLogin__c),Startdate__c,EndDate__c FROM User__c where GROUP BY ...
0
votes
1answer
23 views

Clear a Default Fields Value After Reset

I am trying to clear a set of field's values on the click of reset button. I am using the below given code in my application <apex:page standardController="Account" extensions="Sample"> ...
0
votes
2answers
16 views

Overriding detail page on clicking save button

I have multiple VF pages apex/vf_table1, apex/vf_table2 and "apex/vf_table3" in iframes in a single VF page "apex/vf_table". All uses the same save button. How can I override the save method of the ...
-1
votes
0answers
16 views

How to develop a Html5 game using salesforce [on hold]

Hi I just want to know whether there is any chance of creating a Html5 game which run on cloud using salesforce with the help of canvas and javascript.
2
votes
0answers
15 views

Rerendering in SF1 App

Is re-rendering supported in the Salesforce1 app? Since most navigation is done via javascript it seems that links etc. using onclick do not work after being re-rendered, and it is standard practice ...
1
vote
1answer
48 views

Visualforce - Apex Parameters are not getting passed to controller

VF Code <apex:pageBlock title="New Expense" rendered="{!isNewExpense}" id="pb"> <apex:pageBlockButtons > <apex:commandButton value="Save New Expense" action="{!save}" rerender="pb" ...
0
votes
0answers
13 views

Iframe VF page on saving moves to detail page

I have a VF page in an iframe that collects new records of a custom objects. After I click save, the iframe displays the detail page of the newly created record. How can I make the iframe only submit, ...
0
votes
1answer
33 views

How to Override Edit button for Custom Visualforce page based on RecordID

I have Order form,where there are 3 types of Orders(OrderScan,OrderFill,OrderGet) for each of these i have created Visualforce Page for new Orders(By Overriding New button).Based on these Record types ...
1
vote
1answer
15 views

Conflict in actions inside block table

I have a table with two actions, first is delete record If i click on delete icon (commandLink), the second action get record Info when I click on the row. but If I click on delete (Icon) the two ...
0
votes
0answers
32 views

Unable to upsert a value from <apex:inputtext>

UPDATE. Unable to upsert!! I modified the code in the previous post. Here's the original one... public class dataTableCon { public List<Feedback__c> fb; public List<Feedback__c> ...
1
vote
1answer
35 views

Visualforce - Checkboxes not getting rendered on Public Site

This is my public site displaying list of records from a custom object. As you can see the delete input checkboxes are not getting rendered but they are rendered as expected within Salesforce. Can ...
3
votes
2answers
42 views

Guest User “Record Create Task” Permissions

Have researched and been working on this for a week with no avail. Really need any help in the right direction because I am so frustrated. I have a visual workflow that runs perfectly while in Setup ...
0
votes
0answers
14 views

Salesforce picklist related Question? [on hold]

I have 4 text boxes with field names like Field1 Field2 Field3 Field4 and one picklist field . Picklist values are like TextArea,Drop,Radio,Checkbox. My requirement is i Filled ...
0
votes
0answers
20 views

How To Upload Any attachment on custom object [on hold]

i want to store any document file when new record create on custom object through visualforce page Example Name : Sonu Uplod (Button) : Any document Upload save
1
vote
1answer
46 views

Tool tips in visualforce chart

I have a VF where I am plotting percentages in bar graphs, but in the tooltip, I want to show the revenue associated with the record. Please note that percentage and revenue are in the same wrapper ...
1
vote
1answer
63 views

Prepopulate values

I have custom button on Opportunity.On click of button I need to pre populate values on contract with values from oppty.Once Contract is saved I need to populate Contract lookup on Oppty with the ...
3
votes
2answers
26 views

OOTB Multiple contacts feature in Visualforce

Is it possible to access the new OOTB multiple contacts on tasks feature?
1
vote
1answer
29 views

How to use html textarea compnent in visualforce page?

I am having a field, Final_Step__c which is of data type Text Area. I am showing it in VF page: but, due to maximum length issue of <apex:textarea> i wanted to use html <textarea> ...
1
vote
1answer
36 views

Accessing child records in visualforce

I have an object Feedback_Comment__c which lookups to Feedback__c. How can I access "Feedback_Comment__c" fields in a datatable column? I could pull all Feedback__c fields like this... ...
0
votes
0answers
21 views

Render text as HTML in visualforce page or custom field?

I would like option for users to post text as html to a custom object page layout. (custom field doesn't seem possible as it looks like Rich Text field doesn't render HTML) Moving from JIRA to ...
2
votes
3answers
28 views

Change VF background with Javascript reference to a Static Resource image

I have made a small script to change the background color of my VF page. Here's my script <script language="JavaScript"> function changeBGC(color){ document.bgColor = color; } and ...
0
votes
1answer
37 views

Get fields name into a Javascript loop

I do a loop on random fields of Attachment object and I try to get the label of fields. // arr is an array with some random fields of Attachment object for (var i=0, i<arr.length; i++) { var ...
0
votes
1answer
25 views

Editing Custom Object Records in a dataTable

Unable to edit a custom object in VF. Here is my controller public class dataTableCon { List<Feedback__c> fb; List<Feedback_Comment__c> fbc; public List<Feedback__c> getAccounts() ...
0
votes
2answers
52 views

What are best coding practices for SFDC? [on hold]

I was searching on net for best coding practices and found many like which focus on one item for ex. no soql in loop and things like that but did not find consolidated list. So here posting this ...
1
vote
0answers
14 views

Security Scanner finds XSS False Positives / JSENCODE incompatible with Boolean fields?

Before I submit my app for Security Review I checked it with the free scanner. It marked the following line of JS-code in a Visualforce as Critical XSS vulnerability: <script>var trueOrFalse = ...
1
vote
1answer
103 views

Pass a String in Select query - SOQL

I have a String that contains some custom fields of Account. I want to pass a String in a Select query like this : String myString = 'myCustomField1__c, myCustomField2__c'; List<Account> ...
1
vote
1answer
61 views

How to Create Custom Sidebar in Visual force page?

Is it possible to create custom sidebar in visual force page? I want to have a sidebar similar to the one we see in Setup page. Like this!. Is there a way to do this?
1
vote
1answer
17 views

Visualforce - Creating Markup without tied to underlying object

Is it possible to create an apex tag like <apex:inputCheckBox> without binding to a column in the underlying object ?. <!-- For this example to render properly, you must associate the ...
-1
votes
1answer
26 views

unable to achieve the functionality to show records in same visual force page [on hold]

unable to show records in same visual force page hi i am having a visual force page when i save records it must save just below in same visual force page unless it redirect to record detail page.
2
votes
0answers
33 views

How to display levels dynamically?

Hi, Here i want to select level according to that level below rows will appear like if i select level 1 row will select if level is 2 show 2 rows level1 and level2? <apex:page ...
-1
votes
0answers
24 views

VisualForce page is not working on Mozilla

I have visual force page which works well on chrome but on mozilla page just refreshes on click of button which calls remote method. In developer console I don't see any error message logged. I think ...
0
votes
1answer
18 views

Need Better Search Conditions on Duplicate VF Page [on hold]

I have an apex class that brings up duplicates when a user enters in an account name in the search box on the visualforce page. Right now, the search takes the exact letters written into the search ...
6
votes
1answer
57 views

Visualforce remote objects

I was reading through this documentation. http://docs.releasenotes.salesforce.com/en-us/spring14/release-notes/rn_vf_remote_objects.htm As per the doc: Visualforce Remote Objects are proxy ...