The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
16 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 ...
1
vote
3answers
25 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
35 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
26 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"> ...
0
votes
1answer
21 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
34 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
19 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
30 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
35 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
69 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
18 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
108 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
144 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
59 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 ...
7
votes
3answers
136 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
52 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.
0
votes
2answers
27 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
103 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
165 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
25 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
55 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
338 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
40 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
93 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
210 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
75 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
46 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
88 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
144 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
141 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
219 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
218 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
127 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
97 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
102 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
118 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
213 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
97 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
913 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
147 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
91 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
90 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 ...
5
votes
3answers
5k 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
362 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 ...
3
votes
2answers
71 views

How to ensure something only happens once in a request?

If I have a page which include multiple components which means that multiple back end controllers get invoked on page load. How do I ensure that a piece of business functionality only happens once? ...
5
votes
1answer
387 views

Lifecycle of Controllers

I am just wondering about the life cycle of page controllers? How often are than instantiated and is there any configurations which can change this? Is there a method guaranteed to be invoked every ...
1
vote
1answer
126 views

Problem in Helptext rendering due to showheader attribute in apex:page

i am displaying helptext with some fields but when i do showHeader="false" in apex:page,as i want to remove my header.all helptext disappears from my page.Why this is happening?How can i prevent from ...