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

Visualforce template format issue

I am using a VF template for email alerts. One of the field on the template is rich tex area. So far the template works fine. But sometimes if the Rich text area has data in the table format that mess ...
0
votes
0answers
15 views

What is the correct way to send DateTime member types in the payload to RemoteActions?

I have seen quite a few questions and answers regarding the conversion and display of a JSON serialized DateTime field in JavaScript and the effects of UTC on that data related to the user's locale ...
-1
votes
1answer
18 views

ParentId on Child Record

Ahhh Salesforce, here we go... When creating a new Opportunity record using the Account's related list New Opportunity button, I am able to get the Account Id using "Map m = ...
1
vote
0answers
8 views

Programmatically access selected Chart Colors on Picklist Values

Is there a way to find out, programmatically, if my users have selected chart colors for a picklist value? I'd like to write VisualForce (ideally in CSS, but anything is fine) that is consistent with ...
1
vote
0answers
12 views

Validation on custom button and Visualforce content

Trying to work out of something is possible. I have a managed package installed that has a custom button which publishes the content source which is a visualforce page when clicked. I want to create ...
1
vote
2answers
18 views

navigator.geolocation.getCurrentPosition fails in Visualforce page

I ran into a rather bizarre issue today with the HTML5 Geolocation API. I'm working one a Visualforce page in Salesforce1 that grabs the user's current location and passes it up to an Apex Controller ...
2
votes
0answers
13 views

Salesforce Console - Open CTI Integration

We are in the process of integrating Open CTI with salesforce console. My requirement is to search for a record based on the incoming phone# and If it exists then popup on the console OR create the ...
0
votes
2answers
26 views

Visualforce page creation

How can we Create a visualforce page which returns the list of Apex Classes, Triggers, Pages and Components based on the search entered in the text box.
0
votes
0answers
26 views

Visualforce pdf to save as attachment on a record [duplicate]

I have a button that once clicked it call for visualforce page to render as pdf and save it to a record. Could you help on this requirment. public PageReference attachPDF() { Attachment ...
0
votes
1answer
20 views

Can apex:outputLabel render images?

I have a bunch of columns that are in repeat tags. I'm rendering them by iterating through a list in visualforce. For one of the columns I have a value of Y or blank, and in the case of Y I want to ...
0
votes
0answers
27 views

bootstrap dropdown disappear after toggle if a tab panel exists in page [on hold]

<apex:page id="page" showheader="false" showchat="true" docType="html-5.0"> <apex:includescript value="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"/> <link ...
1
vote
0answers
18 views

Display related fields based on change to lookup

This is a simplified example of the problem I'm having, using minimum data. I've created 2 objects, branch and leaf. Each leaf has a lookup to branch. I put a button on the leaf list to create a ...
0
votes
1answer
46 views

How to add and copy inputtext field with values dynamically [on hold]

I have a scenario in vf page where there will be a inputtext and an button name(Copy). When i will fill the inputtext field and click the button a new inputtext field will be created dynamically with ...
1
vote
1answer
15 views

How to set breakpoints in visualforce Gauge?

<apex:page controller="TestPageController"> <html> <apex:chart height="250" width="450" animate="true" legend="true" data="{!data}" > <apex:axis type="Gauge" ...
0
votes
3answers
39 views

Display multiple field errors on a Visualforce page

I have a Visualforce page that when there is more than one field error it only displays the first error in the apex:pageMessages section. The Salesforce documentaion says all the pageMessages should ...
0
votes
1answer
23 views

getEnclosingPrimaryTabId: Cannot get workspace from frameId: ext-comp-1017

Im trying to refresh the primaryTAB after Subtab close, and getting error " getEnclosingPrimaryTabId: Cannot get workspace from frameId: ext-comp-1017 ServiceDesk.js:304 refreshPrimaryTabById: Invalid ...
0
votes
0answers
18 views

Adding an ability to edit selected fields for non-owned Account objects

I have been following Trailhead on developer.salesforce.com, but the standard declarative method doesn't allow me to do what I want to accomplish. Here is my requirement: We have a "Sales User" ...
0
votes
0answers
19 views

How to set custom theme with FullCalendar in Salesforce

I posted this on stackoverflow with the FullCalendar tag, but didn't get any answers. Maybe this is a better place. I set up FullCalendar in my Salesforce sandbox, but I want to have it use a custom ...
0
votes
2answers
38 views

How to use google material icons as static resource

I'm stuck with using Google Material Icons as static resource in Visualforce page. Using CDN i am able to see the desired results but can't get it done via static resource approach. So far i followed ...
2
votes
0answers
20 views

How can i get redirect same page without refresh?

I have created visual force pages in added in related object page layout. Once I select the record and save it not redirect the page. Why this happening? How can I resolve this issue. Please can any ...
0
votes
0answers
18 views

Opportunity is not visible in contact related list?

I have created a visualforce page. i am creating Opportunity record through the contact related list. So after 'New' is asks record type selection then opens custom VF page. after save the ...
0
votes
1answer
25 views

It's better to use knockoutjs or angularjs with visualsource page(apex) [on hold]

I am new on Salesforce1, developing an app using knockoutjs but app is not working on iPad like scrolling,data loading and binding ect. I am facing more problem like this please suggest something. We ...
0
votes
1answer
18 views

Assistance with test class for VF controller extension

I have a controller extension for a visual force page that currently has 0% coverage. A test was never written for it and I'm quite a novice when it comes to programming but I've got to start ...
0
votes
2answers
18 views

How can i make the whole row highlighted when a picklist value is changed?

I have a page where used wrapper class to combine the checkbox and status (picklist field). so whenever the status is changed to another value the check box automatically gets selected. so, now i want ...
0
votes
1answer
32 views

How to implement a SelectList

Looking for an example showing how to implement a SelectList control on a Visualforce page using an extension class. I am able to display the selectList, but I am not sure how to save the value to ...
0
votes
1answer
12 views

upon checking checkbox field on parent need to check child records exist or not

I Have a Parent Account object in this i have check box field "No Asset exist". when ever i am trying to check the checkbox it need to show error message if Assert records exist for this Account ...
0
votes
1answer
20 views

How to display a process symbol on my page when a command button(update) is clicked?

Here is part of code: <apex:outputPanel id="panelWithVar"> <apex:variable value="{!0}" var="rowNumber" /> </apex:outputPanel> <apex:form > <apex:pageBlock > ...
0
votes
3answers
22 views

show error message in Visualforce page if no file was uploaded by user

I have a form in my Visualforce page with an inputFile tag. If the user clicks the submit button without choosing a file i want to display an error message and force him to choose a file from his ...
1
vote
2answers
164 views

How can we implement MVC while developing mobile application in Salesforce using HTML5?

We are developing application using HTML 5 in salesforce. In most of the examples available we can see that logic, data biding and UI implemented in same page. Even entire application they have ...
0
votes
1answer
21 views

Apex:input date with only month and year

I have a visual force page with an apex controller. In the controller I have a variable Date date1. In the page I have an <apex:input type="date" value="{!date1}"/>. Everything works fine. Now ...
0
votes
0answers
7 views

Setting cursor is not working under script to focus on input field in Visual Force page?

I want to remove focus from first field and want to set the focus on other field while the pages load. But below script doesnt work to set the cursor point on to other field. can you please how can ...
0
votes
1answer
22 views

apex:relatedList pageSize works in sandbox, but not production

I just deployed a custom account page from our sandbox to production instances. One the changes involved was to use <apex:detail id="Account" relatedList="false"/> and then reconstruct all of ...
0
votes
0answers
20 views

issue with custom input picker [on hold]

I have scenario where i have to search data with start date and end date, for this iam using custom input picker but its not getting any calender to pick date. with refere: ...
0
votes
0answers
18 views

How to call function along with method inside VisualForce component

I have a requirement which calls a method inside Visual force output label component. The same is working fine when i do it in HTML, but i am not sure how to call the same. <label ...
1
vote
0answers
15 views

Why does setRedirect(false) on a public page(Site) is not working?

public EventsController(){ eventId = ApexPages.currentPage().getParameters().get('id'); } I got this first vf page button: <apex:commandButton action="{!BookerInformation}" ...
0
votes
0answers
20 views

refresh primary tab after 5 secs of any adjacent tab close

I want to refresh primary tab after 5 secs of any adjacent tab close. With the code blow, immediate refresh works fine, my goal is to add a delay for 5 secs and then refresh. Any suggestions? ...
2
votes
1answer
37 views

Wrapping link in TD tag in Visualforce render as PDF page

I have created a Javascript button, When user clicks on Javascript button it generates a PDF document. I have used renderAs Pdf attribute to generate pdf document from VF page. My problem is I have a ...
2
votes
2answers
35 views

Rerender after apex:detail with inlineEdit is saved

The problem I would like to give the user access to an <apex:detail> with inline editing enabled and let them modify the record. I also want to show a few fields from that record nearby. When ...
1
vote
0answers
15 views

Visualforce template and page action attribute: order of execution

Basically I have simple vf template MainTemplate and two pages (PageOne and PageTwo), which use this template. All pages & template share the same controller MainController. There are three action ...
0
votes
1answer
19 views

How to display Grand total and Total of column in PageblockTable

I want to display Grand Total Amount and Total Amount(Particular Column total) but its not working. Please help me to achieve this. 1)Here Grand total is total of Amount__c in Expensive__c object and ...
0
votes
1answer
26 views

Unable to pass parameters of the custom object using param tag in custom controller

I have 2 custom objects Position and candidate,i have created a pageblock table in VF page for Positions records to display,whenever i click the positions record, all the candidates record related to ...
0
votes
1answer
21 views

I am unable to read in AngularJS, as it is a lookup to user i used apex input field

<apex:inputField id="lookup" value="{!surveyObj.User__c}" style="width: 300px;" html-placeholder="select The User from the Lookup"><br/><br/> this is the lookup to user, and i ...
0
votes
1answer
23 views

unable to delete account using param tag

This is my code <apex:page sidebar="false" showHeader="false" controller="getmyacceditdel"> <apex:form > <apex:pageBlock > <apex:pageBlockTable value="{!myaccount}" ...
-1
votes
1answer
17 views

How to rerender apex:form when action invoking from apex:page… please comment

<apex:page showHeader="false" sidebar="false" controller="ContinuationController" action="{!startRequest}"> <apex:form id="result"> <br /><br /> <apex:pageBlock > ...
0
votes
1answer
19 views

How to pass contact id and contact lookup fields in to visual force page?

I want auto populate contact and account fields when ever we create Opportunity record from contacts related list. But below was not giving as expected results...please anyone make correct. ...
0
votes
1answer
19 views

How to display Join (Join the Group) Button in Visualforce page for CollaborationGroup?

I am beginner in salesforce. I have a visualforce page where i am displaying all the collaboration groups. Can anyone guide me to display inherent Join Button for groups in that page? Thanks!!!
-2
votes
0answers
10 views

How to display wrapper list (made from http response ) from continue method to vf page [duplicate]

VF page code :-- <apex:page Controller="filenetcontroller" action="{!getiib}"> <apex:form > <table width='100%'> <tr> <td width='25%' ...
0
votes
0answers
16 views

How to pass a dynamic parameter name into visualforce?

<apex:repeat value="{!comp_set}" var="fieldName"> <div class="form-group"> <label for="emailaddress" class="col-sm-4 control-label">{!fieldName}</label> <div ...
0
votes
0answers
16 views

retrieving records with remote object in a loop failing

I have implemented AngularJS UI Grid in a Visual Force page and am trying to retrieve just over 500 records that meet the specified criteria. I am able to retrieve all records if I link the retrieve ...
0
votes
0answers
16 views

Visualforce Error - “INVALID_TYPE_ON_FIELD_IN_RECORD”, “value not of required type:”

I am getting error while saving a record. System.DmlException: Update failed. First exception on row 0 with id a0QM0000004dguSMAQ; first error: INVALID_TYPE_ON_FIELD_IN_RECORD, Approval ...