The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
14 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
21 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
1answer
14 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
29 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
26 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
39 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
17 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
0answers
19 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
32 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
68 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. ...
0
votes
1answer
62 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
61 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
110 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
71 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
250 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
35 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
70 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
129 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
180 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
111 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
88 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
34 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
101 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
44 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
81 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
44 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
765 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
185 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
159 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
401 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
73 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
291 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
129 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
185 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
56 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
86 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
84 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
236 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
99 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
837 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 ?
1
vote
0answers
27 views

Menu is not closing when Page size down

Here resize main page like mobile screen kind of size.then now click Login to community portal On dashboard/any page, click on hamburger menu. The menu list should be displayed. Again click on ...
2
votes
2answers
290 views

Colouring the text on standard page

On standard Account page I have a text field,and my requirement is that Font colour of text should be change as per values entered. For eg if i enter 1 or 2, Font colur should be Red, for 3 or 4 ...
3
votes
1answer
1k views

Apex InputField value binding error

Why I will get all the time this error? Could not resolve the entity from value binding '{!order.test}'. <apex:inputField> can only be used with SObjects, or objects that are ...
1
vote
2answers
488 views

Modify dependent inputField style

I'm experiencing an issue when trying to modify the style of an apex:inputField which is dependent from another one in a VF Page What I want to do is set the exact position of the inputField, its ...
10
votes
3answers
1k views

apex:include vs. Visualforce component, when and why?

I recently had a reason to look more closely at the standard apex:include component in Visualforce, and I'm intrigued by the intent behind this component. Would anyone be willing to share some ...
4
votes
1answer
75 views

User field for number cases owned by a user

I would like some help where when a user owns a case and I want to go to their user page and see how many cases the user currently owns.
1
vote
2answers
33 views

Is it possible to make Account Page Specific to any Application

Here is my scenario I have Account Object and I have entirely two different Application. Now i want to make Page Layout specific to the application which I select for the same profile users. I can ...
0
votes
0answers
356 views

Visualforce page action method does not get invoked in force.com site

I am using a method is page's "action" attribute. When I am testing this by login into salesforce, it's working fine. But when I used this page on Force.com sites, the action method didn't execute ...
3
votes
1answer
458 views

Dynamic field retrieval from sobject in vf page

Map<String, Schema.SObjectField> M = Schema.SObjectType.Account.fields.getMap(); from this we can retrieve all the fields but of account object but i want retrieve all the fields of any ...