The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
11 views

Modify the apex:pageBlockSection like adding image

Is there a possible way to add an image in the <apex:pageBlockSection>? A better way of explaining is through an image.. This is the code that i want to add: <a href="javascript:void(0)" ...
2
votes
1answer
39 views

Sharing Controller with a Visualforce Page and Visualforce Email Template

I have a Visualforce page with a custom controller that presents sales data in a simple table. The users would now like to email that data. So I'm trying to leverage the same controller for both the ...
0
votes
0answers
34 views

2 Lookups of the same object

Facing an issue with 2 look-up fields of same object. When i used both the fields on the same page only one is getting selected. Steps to reproduce - 1. created 2 look-up fields of same object 2. ...
0
votes
0answers
16 views

how to add contat id in a external form?

i am trying to make a external form through form assembly to update contact information. How can i add contact id in form so that the information is updated in similar contact.
0
votes
2answers
29 views

How can I put a clickable URL in my VF page

if I gather the url of a record that I want to direct a user to, how can I display this URL as a clickable URL in a VF Page?
1
vote
1answer
22 views

SelectList disappears when the value is an object's picklist

I have a simple page with a form that is supposed to create a custom object. This custom object has several picklist fields. I can dynamically populate the selectLists, but when I give the selectList ...
0
votes
0answers
16 views

Dependent Picklist throw page error

I have a dependent picklist and controlling picklist both present on Apex Page. Still it throws below error. The dependent picklist 'Outcome' requires its controlling field 'Transaction Type' to be ...
0
votes
2answers
41 views

Render condition

Can someone please let me know what is my error here in the render condition? rendered="{!IF(AND(Counting != 0,Inquiry=='Inquiry'),true,false)}" Please note Inquiry is a param value set in apex ...
0
votes
0answers
10 views

Data from 2 Webservices to be shown on Customer Life Cycle (Visualforce Page)

I have a requirement where I need to show Customer Life Cycle (on landing page for customer - visualforce page) depicting various stages of him registrating for flat, welcome call, allotment letter, ...
1
vote
1answer
52 views

View state size limit & de-reference null for transient

I have below code to allow multiple file attachments to be inserted against a parent record id. But this results in either View state size limit exceeded (not all the time) or dereferencing null ...
1
vote
0answers
26 views

Attachment Parentid population

I have two VF Pages. Say V1 , V2 where V1 is my parent page and V2 is included in it. Here in V1 an instance of a custom object (Call) is created and in DML insert it gets into the system. In V2 ...
0
votes
2answers
49 views

Google Geocharts for Salesforce

Hi I am trying to setup google charts in visualforce page. In side I've created a report with the following id : 00O200000079q0Q The code that I've created is below <apex:page sidebar="false" ...
0
votes
1answer
31 views

Integer declaration

I have below method in a public with sharing class. In the method, I need to use an integer but unable to declare that. Can someone please help me in integer declaration here? Snippet: public with ...
1
vote
1answer
75 views

Checking a list if a certain string exist in visualforce page

How can i check if a list has certain string in salesforce. For example I have : anotherList which is from controller and has this value [NAME_A, NAME_B, NAME_C] Then in my page: ...
1
vote
0answers
98 views

ReplyTo email address using Visualforce email templates but sending through apex

I have been working on creating a Visualforce page that allows you to choose users and send out emails to those users using apex. The problem I have run into is that the email address that the user ...
0
votes
1answer
32 views

page reference not redirecting properly and stripping parameters

I am trying to create a url in my class it gets created corectly and i am able to see it in debug log but when i pass it to the pagereference it does not redirect correctly. and it strips the ...
0
votes
1answer
40 views

Pass ID from detail page to a VF page

I have created a detail page button of Custom source as URL that has below URL /apex/ComplianceIncidentPublish?Id={!Compliance_Incident_abv__c.Id} That is unable to get hold of ID in the VF page. ...
2
votes
1answer
19 views

List button to be used in detail page button

I have a List Button on a custom object. I need to use that button in that object as detail page button. Please find the VF page that List button calls here. Page: <apex:page ...
0
votes
1answer
50 views

Salesforce1 button expose VF Page

I have a requirement to render a VF page in salesforce1 on Account Page when a button is clicked on a particular Account record. Please let me know how to achieve that. Searching in google can't get ...
0
votes
1answer
89 views

Visualforce Search Page - SOQL Results Pagination

I've been building a VF search page and have run into a slight issue. I want to add pagination so that I can return all of my results and allow users to go through the results at 20 records a page. ...
1
vote
1answer
111 views

Visualforce Search Page - Dependent Picklists

I'm working on building a custom search visualforce page and I've run into a problem. I have added 2 picklists (one controlling and one dependent) as filtering fields. However, when I go to the VF ...
0
votes
1answer
74 views

Colored Picklist Values in VF Page

Got scenario where I need to display picklist values coming from a text field values (0,3,5,10…) and when the picklist values are displayed, it should be colored out based on less than 12 would be in ...
0
votes
1answer
196 views

Display error message from controller fails

I have below apex page where I am trying to catch a custom apexpages.addmessage from the controller. But it is not working , simply not displaying the error message in page. Can someone please help? ...
2
votes
1answer
78 views

Update based on csv data

I have a requirement to update records of custom object Incident_abv__c if the value of it's Name field in present in csv. I have below class and page to do the same. But when I click the Read csv ...
1
vote
2answers
418 views

visualforce page readonly based on logged in user's profile

How to make visualforce page readonly based on profile of the logged in user? I have a pageblock table of outputfield with inline editing, which is not working as read only when enabled ...
2
votes
1answer
38 views

Can we assign same fields to different page layouts. How can we achieve this requirement

Can we assign same fields to different page layouts. How can we achieve this requirement. I have created few fields and assigned one page layout ( Account Lead), Now i want to assign the same fields ...
0
votes
1answer
85 views

Update list values in an input text field

I have below code to update the input text field value for OUTCOME field from the User. My list update is failing to happen without throwing any exception. Please can someone help me here? My ...
1
vote
2answers
176 views

How to query custom object fields value and sum them before opportunity page load, Salesforce?

I have two Custom Objects: BigMachines Quotes ( Not Allowed to make any changes in this custom object ) Phoenix Quotes I Need to query values of Total from both custom object, sum them and set the ...
5
votes
2answers
262 views

How to decode German characters(German umlauts) from the salesforce url?

I have an issue in Getting url parameters.Since i have german alphabets as values for parameters some of the characters are not decoded properly . ...
2
votes
1answer
134 views

Visualforce Page and Visual Flow - Back and forth redirection - Solution?

I have a visual flow that is started on a click of Custom button. This flow is embedded in a visualforce page (standard way of using flows). Now, in one of the steps in the flow, I want to redirect ...
1
vote
2answers
118 views

Column background color in pdf

Please someone let me know how to get a colored background of a column in pageblocktable in an apex visualforce page with renderAs pdf. I have tried with this. It works in pages but fails for pdf. ...
0
votes
1answer
42 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
2answers
128 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 ...
1
vote
1answer
77 views

When I change a VisualForce page ContentType, can I somehow give it a file extension?

Currently reading about Using Custom ContentType. I see that, instead of serving an HTML page, I can instead serve some other media types, such as Excel or RTF. However, when I create the page, I ...
0
votes
1answer
114 views

Create Visualforce page that opens up on hyperlink

There is a VF page OpenIncidentsByRep that shows columns having User Names and no. of Incidents of that User, referring from Incident object in a single row. The Number field is an hyperlink. I need ...
2
votes
2answers
45 views

Impact on the Standard Entity

If I use custom VF page to override the Save functionality @ Opportunity level, what will be the impact on the Triggers, VAlidation Rules and any other codelinked with the entity? In a nutshell, I am ...
2
votes
1answer
1k views

How to get Anchor tag (which works with JS function call) to work using rightClick > open in new tab?

I'm using an anchor tag <a href="#" onClick="javascriptMethod();">asdasdasd</a> This javascript function dynamically decides on the page to open. Works all right on click. But when I right ...
0
votes
1answer
216 views

Page.pagename OOPS Concept

We use Page.pagename to get the Page Reference of a Visual Force Page. I am unable to get the OOPS concept related to Page.pagename Here Page is a class? pagename is a static variable? What is ...
-1
votes
2answers
178 views

Too Many SOQL Queries 101 though limit 100 [duplicate]

I am getting this error though limit 100 is provided in SOQL statement.Can someone please suggest a way out here? Apex code: public class Attachments_11{ public List<attachmentCaseWrapper> ...
3
votes
2answers
503 views

Pagination in apex

I am getting an error of limit exception in salesforce for SOQL results more than 1000. I need to show 50000 records in a pdf page(may be in different pages). Can someone help me here to do ...
2
votes
0answers
79 views

saving form options

I have created to forms and i am trying to save selected options of form in there objects can you provide some help my code is like; what logic should be used in save button page-- <apex:page ...
0
votes
3answers
399 views

Why style.display = 'block' works only on Firefox?

I'm using the code below : <apex:outputPanel id="myID" style="display: none;"> ... </apex:outputPanel> <apex:commandButton value="Display" onclick="display()"/> <script ...
0
votes
2answers
144 views

Use Edit function in vf page

I have to use edit function in a vf page.Please find my apex class and corresponding error showing below. Apex class: global with sharing class poistionController1 { public ...
-1
votes
1answer
243 views

Show List values by pageblock table [closed]

Please let me know how to display list values in apex page by page block table format. I have this piece of code. <apex:dataList value="{!my_list}" var="c"> ...
1
vote
1answer
69 views

Display List values in apex page

I have apex class below having my_list as a List. I need to display in apex page. Apex class: global with sharing class poistionController { List<HCP_Depth_Tracker_OAPI__c> my_list = new ...
-1
votes
1answer
98 views

multiple Standardcontroller

I have to use VF page of a custom object in Account page layouts.Please find my apex class as below. Apex class: global with sharing class poistionController { public HCP_Depth_Tracker_OAPI__c ...
0
votes
1answer
98 views

Show custom object ,not immediate child in Account's related list

I have to show custom object HCP Depth Tracker in Account's related list.It is having Account reference.It's child of Depth Tracker object which is immediate child of Account.My approach is by ...
2
votes
1answer
339 views

Sites: While in maintenance mode, custom maintenance page(s) do not display

I'm currently trying to create a custom maintenance page in salesforce. I've actually created a custom page for each type of salesforce error. All the pages are created and in my site. All the pages ...
1
vote
1answer
107 views

Master field editable on VF page (reparent detail to new master)

I am trying to create a standard clone button type functionality for a custom object which has a master detail relationship with Account and lookup with Contact. On click on the custom button a vf ...
1
vote
2answers
1k views

Override tab to open a visualforce page?

I have a custom tab . What I want to do is : when I click on that tab, it should open a VF page that I made. How can I do that ?