Tagged Questions

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
12 views

CRUD in SalesForce1

Anyone have any examples of how to create a CRUD page in Visualforce salesforce1? I have doubts on how to create an optimized page for mobile devices using Visualforce. I utilize Rest Api? ...
0
votes
1answer
15 views

How can I make my VisualForce JavaScript load from a separate page?

Looking at Refreshing Chart Data Using JavaScript Remoting I'd like to move the script onto a separate page, to make it more maintainable and reusable. I tried moving the entire script into a static ...
0
votes
0answers
14 views

Can't Bind the Value in Select2 Selectbox

Can anyone tell me how to bind the value to select2 select box in visualforce page? The below code does not bind the account name after clicking the edit button <apex:page ...
1
vote
2answers
23 views

API Name for Developement mode

What is the API name for "Developement Mode". Is it "UserPreferencesApexPagesDeveloperMode"? I am trying to retrive the list of User with enabled Developement Mode. Here is my query select ...
1
vote
1answer
28 views

Getting an extra line with field set

I am trying to use field set to get list of fields to show in the VF page so the customer can adjust the fields without having to touch the code. But It seems to me that when using field set, I am ...
0
votes
0answers
10 views

Change tab when opening a new page in service console

In the service console, there is a home tab and a Customtab1 (tabStyle = tab1style__c). List of records display in the Customtab1 and when a record is clicked, a CustomPage1 displays the record in ...
0
votes
1answer
12 views

Apex:commandLink - mail to link

I have a requirement which is mail to link. In visualforce page I have a commandLink. If I click the link it should open user's default email application (Eg: outlook). How i can achieve this task. ...
0
votes
2answers
25 views

Standard Save button on visualforce page doesn't update standardController

I'm trying to save a checkbox value (and eventually a pulldown list of invitee status) with a standard Save button but all it does is refresh the page. I want to update the custom object ...
0
votes
1answer
8 views

Why doesn't this VisualForce Chart with data built in JavaScript render?

Currently looking at Providing Chart Data via a JavaScript Array As per the example, data is embedded and returned by the JavaScript's dataArray property. However, the chart does not seem to do ...
1
vote
1answer
10 views

Where are my VisualForce Bar Chart's Bar's?

Currently looking at Providing Chart Data via a Controller Method. Something seems to be either missing or failing, as the bar chart is being displayed WITHOUT the bars: Here is my VF Page: ...
0
votes
1answer
15 views

My user credentials into a visualforce email

Hello I have created a Visualforce email for my division. I would like my user credentials to appear at the end of the email. If you look the attached file of an example from normal email in gmail. I ...
0
votes
1answer
8 views

Unable to locate Secure Agent under Develop

I tried logging a case asking salesforce about this but was rejected and directed here. Can anyone here shine a light on why I don't get this option in my Setup menu? I am attempting to follow the ...
1
vote
3answers
15 views

Execute Apex method avoiding required field validations - <Apex:Region> not working

Here I want to insert one record on clicking "Post" button, at the same time I don't want to execute code in "First" pageblocksection (avoid all required fields). <apex:pageBlockSection ...
1
vote
2answers
33 views

Show values in VF page from both map and list

I have a requirement to show map values and list values simultaneously in a page. Can someone suggest a wayout? Apex controller: public class IncidentDetailExtnController{ Incident__c oInc ...
2
votes
1answer
46 views

Test Class for Visualforce page

I have a visual page controller with save() function. Inside the save() function, there is an insert object. However, when I write my test class, I am unable to query the inserted object. ...
0
votes
1answer
21 views

Display Parent, child and grandchild's records

Once a parent(Contact) is selected I have to display a list of related records from child, grandchild and grandchild's child in one single page block. All the objects are in a lookup relationship with ...
0
votes
0answers
17 views

Having issue with SOQL finding newly created records

I have a system set up using Twilio to log calls in visualforce. After each call, it creates a custom Call_Log__c object, with a DialId field set to an arbitrary string eg. 'abc123' I also have a ...
0
votes
1answer
20 views

How to give custom labels for picklist values in visualforce page?

I have visual force page, in that i'l give custom labels for titles, command buttons, except Pick list values... Here my visual force page... How to give custom labels for pick list values in ...
1
vote
1answer
12 views

Copy EventRelation data to a custom object

I'm trying to add a field to track event attendance (not just accepted response). I've created a custom object and a visualforce page. The problem I am having is copying the EventRelation data to ...
0
votes
0answers
12 views

Fuel UX Wizard inside <apex:form> causes issues

Jumping into the world of using Fuel UX inside of visual force and having a small issue: When wrapping this code in an <apex:form> tag clicking the next button causes the entire page to be ...
5
votes
3answers
30 views

Image Charts in Visualforce / PDF

Got a tricky one. I want to be able to create rich HTML emails to our clients which include graphs etc. Problem is, Google Image Chart is being depreciated, Visualforce Charts can't be output to an ...
2
votes
1answer
17 views

outputText number formating with space a thousand separator

How do I format a number in an outputText element so that it uses spaces as a separator between thousands? What I currently have is an outputText element which formats number using comma as a ...
1
vote
2answers
32 views

Unable to load Pop up using BootStrap

I'm trying to show a pop-up when user clicks a button. Plz help me: <apex:page standardStylesheets="false" sidebar="false" showChat="false" showHeader="false"> <apex:stylesheet ...
0
votes
0answers
8 views

How to change in Enhanced List in Salesforce

We have used Enhanced List in visualforce page. Now we want to add search functionality in that page like inputText, checkbox and button. Is it possible in Enhanced List in Salesforce. Thanks, vml
0
votes
0answers
4 views

Search in specific fields of object using searchAndScreenPop api in Open CTI

I was testing the Demo App available for Sales Open CTI on the following link: https://developer.salesforce.com/page/Open_CTI In that there is functionality of Screen Pop, which pops open a screen ...
2
votes
0answers
42 views

XMLHttpRequest cannot load visual.force.com as requested origin is mydomainname.my.salesforce.com

XMLHttpRequest cannot load https://mydomainname--c.eu1.visual.force.com/apex/OpportunityOneClickUpdate?id=006D000000ZRwtx. No 'Access-Control-Allow-Origin' header is present on the requested ...
2
votes
1answer
18 views

How to format a Visualforce “snippet” to preserve line breaks of a Text Field it is programmed to mirror?

I have a Text field on the Case object (large or rich, doesn't matter which I use) Let's call it Output_Field__c This field needs to be displayed exactly as it shows up in my Vf "snippet". I'm having ...
1
vote
1answer
37 views

Conditionally display a message at another page

I came across an easy way to Show Apex message at another page (code is given below). I have a situation where 'Save' and 'Cancel' buttons on page 1 are going to redirect to the Page 2 and display ...
0
votes
0answers
17 views

form redirection when clicking commandButton

I have a simple form on that's invoked with a custom button on the Account. I'm calling with the url /apex/myPage?id={!someAccntParameter}. On my production org, this causes the form to appear ...
0
votes
0answers
10 views

how to build a custom console

I want to build a custom console page for my users. Are there any resources available that show this? Could I create a visualforce page that allows me to build a page similar to the current sales ...
0
votes
1answer
12 views

Not able to Pass class object reference through <apex:param>?

I have a dataTable which is iterating over lineItems which is a object of a class InvLineItem ,i need to call a action function which will take InvLineItem object as argument but its working. tested ...
0
votes
1answer
10 views

Hiding page messages for required fields

I am showing few required fields on my VF page. I am also using apex:pagemessages to show custom error messages. Below is my code <apex:pageblock mode="edit" title="Agreement Address Edit" ...
0
votes
0answers
11 views

set required to false and still submit value

I have a visualforce page with three input fields. If the first inputfield is set to a value, then the other two fields must be required. This works fine. However, when I remove the value, the two ...
1
vote
0answers
12 views

Functional issue on <apex:vote>

Issue: VF page getting the wrong votes/points if change the query dynamically Actually i am trying to display the all ideas with votes in ascending or descending order by title. Ascending Order: ...
2
votes
1answer
22 views

Display all the users and profiles assigned to each record

I have the following Class and the Page displaying all records from an object. I want to display all Users and Profiles assigned to each record in front of each record in separate columns. How do I ...
2
votes
2answers
41 views

Prevent validation from running if field rendering is set to false

I have a zipcode input field on a visualforce page. This field could be hidden (rendered = false) based on certain needs. I have the following field validation to ensure a proper zipcode format is ...
0
votes
2answers
12 views

Display repeat data in a table

I got the following apex class and the Visualforce page. I want to display the repeat data in a apex:pageblockTable. How can I put this as a column in the table? Currently records are displaying ...
-2
votes
0answers
29 views

Multiple filters like workflow rule criteria on visualforce page [on hold]

Basically i want multiple filters on visualforce page where i can select feild & operator like workflow rule criteria. i want to put 5 static criteria with AND condition on visualforce page where ...
3
votes
1answer
51 views

How can I test create an instance of a VisualForce Controller Extension for testing?

Typical of custom controller extensions, my extension has a signature public MyVFCtrlExt (ApexPages.StandardController standardController) I'm currently trying to figure out how to write unit tests ...
1
vote
1answer
22 views

Do not Show Image while Printing?

I have a Visualforce Page( Header with Logo-Image + Content) which is rendered as Pdf. This Vf page will be Emailed via Custom Controller Scenerio : When Email is Forwarded I want to Have ...
1
vote
1answer
19 views

Using ActionStatus with a CommandButton and Apex:Param

This is my initial (and working) setup for a Select button against an OpportunityLineItem on a custom product selection Visualforce page. Note the OpportunityLineItems are displayed in a table, hence ...
1
vote
1answer
29 views

Viewing sharepoint documnets in Salesforce using Files Connect

I want to view my Sharepoint documnets in salesforce using "File Connect" introduced in Winter15 release for connecting to External Data source but i am facing a problem to connect to sharepoint. I ...
0
votes
1answer
25 views

Place images in with row count

How can I display the images horizontally? Tried placing values for columns but didn't work. I'm basically looking to display images in Facebook style like 4 images in 1st row, 4 images in 2nd row etc ...
1
vote
0answers
24 views

Disable default swipe on mobile VF page

I'm using the jQuery moble swipe events to trigger actions on my visualforce page. However, the SF1 app is picking that up and displaying the navigation sidebar or the notifications. Is there anyway ...
2
votes
1answer
44 views

add checkbox to VF page renderAs PDF

I have a VF page that I'm rendering as a PDF file. I need to add some checkboxes to the PDF. I tried adding the inputCheckbox and the standard html checkbox input and neither show up when the VF ...
0
votes
1answer
32 views

Uncaught ReferenceError: Ext is not defined

I want to use extjs in visualforce but i am getting error Uncaught ReferenceError: Ext is not defined i also added all library related to ext js but this time also getting same error so How to solve ...
0
votes
1answer
48 views

Displaying Account Details in Table form using AngularJs

Can anyone tell me how to display Table form for the account name and account id in visualforce page using AngularJs? I have created the Visualforce for this use case. But I didnt get Account details ...
1
vote
1answer
29 views

Get List Values in JavaScript Remoting

Hi folks, Can anyone tell me how to get the list of account names in visualforce page using java script remoting? Below is my code Visualforce.remoting.Manager.invokeAction( ...
0
votes
1answer
26 views

How to create a CommandButton with a dropdown

Is it possible, and what would be the approach, to create an apex:commandButton which displays a dropdown when clicked, in the same fashion as the Manage Members button on the Campaign object: I'm ...
1
vote
1answer
31 views

Do Google Charts still work with VisualForce Pages?

Currently working through Integrating Visualforce and Google Charts. After a bit of debugging, I managed to get my code to create a working URL for a chart, e.g.: ...