Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
26 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
42 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
58 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
86 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> ...
1
vote
2answers
151 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
41 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
57 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
60 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 ...
-2
votes
1answer
44 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
27 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
45 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
35 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
77 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
44 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
234 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
22 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
126 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
538 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
166 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 ...
8
votes
3answers
314 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
64 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
32 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
160 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
281 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 ...
0
votes
0answers
34 views

Daily evm performance chart for projects

In need a daily evm performance chart like the picture below.It needs to begin from the beginning of the project and it needs to be line chart just like this.Is there any possibility to create it ...
0
votes
0answers
68 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 ...
2
votes
2answers
539 views

JavaScript doesn't work with Apex command Button

I was able to get the id of the button but no able to get the outputText id. Please help <script > function exButton(){ var remainingValues = ...
2
votes
1answer
55 views

Two different page layout on a single object

I have two objects whose parent is another object. I want to set two different page layout on the parent just by differentiating the record type. How do i do it?
3
votes
2answers
119 views

Restrict VIsualForce page access from Custom Tab

My question is about VisualForce page availability in Custom Tabs. I have a VisualForce page inside my managed package and I'd like to know if there is a way to prevent adding my pages to Custom Tab ...
2
votes
1answer
244 views

Page refresh after inserting picture

I have a page that give the possibility to insert two pictures to the users. This is a page in a section that it is part of a custom object. Everything works fine except that when inserting pictureOne ...
3
votes
1answer
92 views

Can't create apex page which uses controller extension via apex-mdapi

I have a class in my managed package: global class myExtensionClass - which is extenison controller. I installed this package in test salesforce developer account. When user click one of the button ...
2
votes
1answer
62 views

Using personalisation strings in landing pages

I was just wondering is there anyway to populate personlisation strings in landing pages? I know that I can set variables and access these via @[variable_name], however I have a landing page, that ...
-1
votes
1answer
99 views

Help summing columns in a datatable

I am creating a PDF report which has 3 columns productId, SupplySize, and qty. I would like to sum the qty depending on the SupplySize. and display the values somewhere outside the table. This will be ...
2
votes
1answer
182 views

How to Add a Conditional Attribute in a Visual Force form?

I have a VisualForce form that includes a phone number input. I want to turn off Autocomplete on this input based on an incoming URL parameter. This is what I have now: <apex:inputText ...
0
votes
1answer
158 views

Google Map Not Displaying in Apex Page

I am trying to add simple map in Apex Page. But it is not getting displayed. <apex:page > <style> #map_canvas { width: 500px; height: 400px; background-color: #CCC; } ...
1
vote
2answers
282 views

Issue with Overriding Opportunity View

There is an issue with overriding Opportunity view for some particular profile.Currently We are redirecting the profile users to a VF page by default. we have a button in our VF page, which takes the ...
2
votes
1answer
270 views

Apex Page Component set Language via Javascript

Is it possible to set the language attribute of apex:page via javascript? I actually tried this but I'm not getting the expected result. Example: <apex:page ...
1
vote
1answer
171 views

Creating ICS links on a Landing Page via AMPscript

We're building a set of linked pages inside of ExactTarget using AMPscript and data extensions. The Data extensions contain events with date tags and we'd like to use these to have an ICS link appear ...
1
vote
1answer
127 views

Page View Counts

If your page is calling a component that serves as sidebar in your page, does it counts as page view? I placed some images in Documents Object and not in Static Resource because there would be time ...
2
votes
3answers
108 views

Need to Create a page to display all the account records existing the instance.

Need to Create a page to display all the account records existing the instance. It should display 20 records in one page and should have NEXT & PREVIOUS button to navigate to other records. but ...
1
vote
1answer
130 views

How to break a standard action on a visualforce page? [duplicate]

In my vf page, there is a save button that of standard vf command button. A JS confirm will popup when someone click this button. Now, if user has chosen cancel, I want to cancel the action of save. ...
4
votes
2answers
256 views

Whether a bread crumb can be added in Developer edition

Most of you could have seen links similar to « Back to List: Custom Object Definitions in many of the standard pages . The user permission needed to add this link were listed as Site.com Publisher ...
1
vote
0answers
98 views

Integrating HashTag with Chatter component in VisualForce Page

We are working with hash tag and chatter and what I am supposed to bring the output was with SalesForce headers. Now we have to integrate the hash tag with chatter in VisualForce Page. Does anyone ...
2
votes
2answers
2k views

Adding multiple markers on a google map in a visualforce component

I am creating a Visualforce component which holds a google map. The plan is to pass a list of addresses to this component and the map will place markers over these addresses. Here is a sample ...
4
votes
1answer
1k views

visualforce, adding new products to a table on same page

I'm trying to do one thing for my application, I already did object Products. Added fields, manipulated with object... Next I overrode the Products page with a VisualForce custom page, that uses ...
2
votes
2answers
175 views

What does the meaning of version setting in visualforce page

There is a tab "version setting" when we used to view visualforce page. I never used it. If someone knows how to use this and what is the reason of this tab in visual force ( In case of Apex class i ...
1
vote
2answers
95 views

Custom form not saved

Iam a newbe to APEX and I have the following form and Controller <apex:page controller="AddLinesController"> <apex:pageBlock > <apex:pageMessages /> <apex:form > ...
2
votes
0answers
92 views

apex:repeat works on one page, but not another similar page

To perform some testing, I cloned a page and started making adjustments to a new section. Once I had this completed, I cut and pasted the block of code to the original page (the one that was clone ...
6
votes
3answers
6k views

Best practice for calling Apex methods from custom button?

I want to put a custom button on a standard detail page layout to execute Apex code, and I'm wondering if using VF page action attribute is the best practice. Here are the details. When the user ...
5
votes
1answer
402 views

Sending a redirect

I have a hyperlink in an email which will open an opportunity using the standard opportunity page. Before the opportunity page is open I want to carry out some business logic. I only want this ...