All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
2k views

Visualforce page in step in approval process

Is it possible to create a Visualforce page for the page where an approver actually approves or rejects an approval request? To clarify; I've created an order object and orders have to be approved. So ...
4
votes
1answer
149 views

Adding a fieldset to an unmanaged package

Can we add a fieldset to an unmanaged package? When I tried it didn't show up for selection. Is there anybody who faced the same situation?
7
votes
3answers
2k views

Find out if a given string is Salesforce Id in Java

Is there a way(regex or something) to find out if a given string is a Salesforce Id or not? I'm looking for some helper class in Java.
2
votes
2answers
5k views

How to deal with parsing JSON response when it contains a dynamic object?

While playing with the JSON parser I encountered a use case (described below in detail) for which using JSON.deserialize(JSONResponse, SampleParent.class) method for parsing doesn't work. Below is ...
2
votes
1answer
1k views

How can I expose the content of a Product custom field (txt) to quote line item field (txt)

I have a custom field (Text) on each Product called Production Code. I need for that field's data to be entered and editable in a custom field (txt) on Quote Line Item. The Production Code copied ...
0
votes
1answer
296 views

External IDs unavailable in Apex Data Loader

I have a number of external Ids in my SFDC environment, but I can't see them in the Data Loader or in the Jitterbit Data Loader. Any ideas? Data Loader: Field settings:
3
votes
1answer
2k views

Using Product standard price in Custom Object

I'm trying to create a classic Invoice by using Custom Object Invoice (Master) Invoice Line Item (Detail) Invoice_Line_Item should have a look up relationship with Product. Also it has to include ...
1
vote
1answer
194 views

High Volume Portal User Custom Field on Formula Field

I have created a custom field on the User Object - Canvas_Id__c ... This value is only populated when the user is a high volume portal seat user. I have a custom object Student Task where I want to ...
10
votes
2answers
160 views

Incomplete code blocks vulnerability

I've submitted my application for Security Review and I've got this problem in the report. I'm not sure how to fix it. Let's see the First case: I have some classes that don't have any code like ...
4
votes
1answer
3k views

Counting parent records in parent-child report

Example: Accounts with Opportunities report How do you add a count of the Accounts listed to such a report?? I have tried to no avail to find a solution for this WITHOUT exporting to Excel (or ...
1
vote
2answers
4k views

Compile Error: Incompatible value type

My rough apex class for a Nested map is map<string,list<string>> str = new map<string,list<string>>(); map<string, map<string,list<MyInnerClass>>> str1 = ...
2
votes
0answers
183 views

Closing task on lead without going to task page

I want to close the task on lead list page without going to task page an close. I just want to close the task by clicking cls link in front of created task. Please guide me, how can i do this.
2
votes
2answers
2k views

getting error on including apex:inputfile in visualforce

i am getting error apex:inputFile can not be used in conjunction with an action component, apex:commandButton or apex:commandLink that specifies a rerender or oncomplete attribute. but i cant ...
3
votes
2answers
2k views

Render a row's dataTable after clicking its commandLink

I have a commandLink in pageBlockTable. When I click it, I want the dataTable in the same pageBlockTable to render. At present I can render all records when I click on the commandLink. My ...
2
votes
1answer
2k views

Inline editing in visual force inconsistent

I have a vf page where i have few columns and i have used inline editing for the columns, the code is as follows: <apex:commandButton value="Add Session" action="{!createNewSession}" id="...
6
votes
3answers
5k views

Apex Data Loader is loading previous date

Apex Data loader is loading previous date. Salesforce Organization Default Time Zone is GMT+05:30 Salesforce User Time Zone is GMT+05:30 Apex Data Loader time zone is GMT+05:30 CSV, for Apex Data ...
3
votes
1answer
901 views

How to get a dependent drop down list and other as free text option?

I got a request to have 2 pick lists, with dependancy (that's easy to implement) but the request is to have in the controlling field: the option of: 'Other' When selecting Other - the value needs to ...
1
vote
2answers
674 views

How to find org's date of creation?

I want to know if my org was created before Winter '12 so that the higher outbound email limit will apply. How do I find my org's date of creation?
2
votes
2answers
759 views

Customizing Service Cloud Portal

Calling all Customer Portal (also known as Service Cloud Portal) SME's(Subject Matter Experts) to clarify and hopefully document the level of customization possible on a Customer Portal. For e.g. The ...
10
votes
1answer
102 views

Force.com IDE error 'NotAfter'

Any idea what's causing this error? It's happening on both the Force.com IDE and the Force.com plugin for Eclipse, on Windows XP 32 bit. Strangely it's ONLY happening for one particular ...
1
vote
1answer
1k views

CommandLink or CommandButton as New Button to create a new record of a specific record type

Instead of having a user to click "New" and then select the record type before he sees my custom New page I want 3 Buttons that let him create a record of on of three potential record types. I know ...
3
votes
2answers
9k views

Office Toolkit & Excel Connector

The Steps Followed to Get the Excel Connector working are as below: [1] Installed Office Toolkit from the below Site: http://www.salesforce.com/us/developer/docs/office​toolkit30/...
7
votes
1answer
2k views

Problem creating Job in Bulk API

I have been successfully able to use REST API for my application but I found that Bulk API will be better for my application. So, now I am trying to switch to Bulk API but I am stuck at the first step....
4
votes
2answers
2k views

Live Agent for Service Cloud Console Problems

We have rolled out Live Agent for Service Cloud Console and are having some intermittent problems. Sometimes we will get an "insufficient privileges" error upon accepting a chat. Other times a chat ...
76
votes
11answers
74k views

How to study/prepare for the Salesforce Developer Certification

I am fairly new to Force.com development (less than a year). I did not learn it from the ground up. So I think it will be good to study for the developer exam to strengthen my basics and improve my ...
3
votes
3answers
1k views

I am getting a SObject row was retrieved via SOQL without querying the requested field

I am getting a little lost here and have read the related topics on stackexchange carefully. I am using the standard controller for a custom object in a managed package. This code works perfectly in ...
6
votes
1answer
2k views

Integration - Outbound Messages - configure Endpoint URL dynamically!

Hello guys! Scenario: I am sure all of you come across this everyday if you do integrations. I have 2 sets of machines (Training and Production). The outbound messages in prod. instance point towards ...
5
votes
1answer
8k views

Ant Migration Tool - Order of Package.xml File Matter?

Does the order of the package.xml file matter? For instance: <?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <...
3
votes
2answers
595 views

Lookup displaying JavaScript error (Internet Explorer)

One of our user is receiving a JS alert when filling a lookup (from a custom object). error: { faultcode: 'soapenv:Client', faultstring: 'Attribute "xmlns" bound to namespace "http://www.w3....
4
votes
1answer
61 views

Can Email to Salesforce leverage Shared Activities?

I noticed that I can leverage Shared Activities on outbound emails from Salesforce, but it seems like Email to Salesforce doesn't seem to support it. Was curious if anyone had a good workaround on ...
4
votes
3answers
4k views

How to display the field history related list for a custom object on a Visualforce page?

I cannot find anything equivalent to: <apex:relatedList list="ProcessSteps" /> which works for Approvals. The only solution I can think of is to build a controller/extension that gets the raw ...
8
votes
2answers
13k views

Use a Custom Label in a Custom Link/Button

Is there a way to use a custom label in a javascript custom button ? for example: var targetUrl = encodeURI("http://{!$Label.targetHost}/what/ever?user={!$User.Username}");
2
votes
1answer
714 views

Is it possible to download a file other that by a callout in Apex?

Governor limits prevent downloading files larger than 3 megabytes using HTTPRequest. Is there any other way to download a file from an external resource using Apex or any other mechanism in the ...
2
votes
3answers
3k views

A Chatter Feed related to a Record as well as a Chatter Group

I have a business case where currently we post chatter feeds to a Chatter Group using Apex. This is done by assigning the CollaborationGroup (chatter Group) Id to the ParentId field on the FeedItem. ...
2
votes
1answer
2k views

Do Governor limits apply to downloading files?

Governor limits include Maximum size of callout request or response (HTTP request or Web services call) - 3 MB Does this include downloading files via HTTP from external servers? Will those files ...
4
votes
1answer
1k views

Does debug log add up to the Apex heap size?

Does debug log add up to the Apex heap size? I had enabled debug logs with some specific debug filters in place and immediately hit the Apex heap size limit, when I turned it off the apex ran without ...
1
vote
1answer
242 views

Activities with or Without Contacts

I want to pull this report - Activities with or without contacts where i can show activities and the related contact details(if contact is mapped in the activity). I tried using the standard "Tasks ...
14
votes
4answers
7k views

Standard Datepicker Year values

I have used date field in my visualforce page.By default the datpicker is showing values upto year 2012.but i nedd to insert few more years before 2012.How can i implement this as it is the default ...
0
votes
0answers
174 views

Need to display a helpText beside a tab

Extension to my Previous Question which is placed here "Hyperlink in help text which comes from XML" My requirement was changed Now and it was a bit tough one.... :( My xml is something like this &...
2
votes
1answer
418 views

Salesforce base URL in android REST client

I'm building an android application which makes REST callouts to Salesforce. I'm using standard Salesforce REST client, however I need to show a webview in android(Visualforce Page). How do I hit ...
2
votes
1answer
138 views

Deleting a package from the packaging org

We have this scenario now: We have 2 orgs : Developer org ( where actually development takes place) Packaging org ( where the package is created and uploaded) We had a released version published say ...
4
votes
2answers
4k views

Is it possible to default a pricebook based on the recordtype?

Is it possible to set default pricebook based on recordtypes. We have recordtypes like sales and sevice. So when an user selects sales recordtype we should have sales pricebook as default and service ...
3
votes
4answers
3k views

Code Formatting

Has anyone gotten code formatting (Ctrl+Shift+F) to work in Eclipse? I know it's basically a Java feature but it would be neat to format Apex code according to rules. I also can't get some hotkeys ...
5
votes
3answers
2k views

Column in pageBlockTable is not rendering

I got stuck in a scenario. I have a pageBlockTable and in that I have 3 columns with a dataTable in the 3rd column. I have a commandLink in that column, and when I click on that all records are ...
4
votes
1answer
3k views

How to make all contacts visible to the sites guest user?

I'm building a basic sites page that displays a bunch of widgets based on a contacts address. It references code in a managed package, so I don't have the ability to use without sharing in the ...
1
vote
2answers
1k views

Why I can edit an apex class in sandbox, but not production. What works in sandbox fails to deploy in production.

I installed an unmanaged app (by @michaelforce http://goo.gl/8rx7t) to enhance the "Add Products to Opp" page. It works great in both Prod and Sandbox. However, I need to add the Discount field to ...
9
votes
1answer
627 views

How can cache times be controlled in Site.com?

According to the Site.com informational page Site.com leverages a global network of caching servers that deliver content with fewer server hops How can I (or can I at all) set cache times for ...
3
votes
2answers
1k views

Global override for triggers, workflow & validation rules

I have seen a number of posts regarding implementing overrides for triggers, workflow and validation rules using custom settings/labels. In practice / large complex Salesforce deployments are people ...
6
votes
1answer
3k views

Visualforce: Major grief with IE9 AJAX refresh/rerender issues

Friends, I have a VF page which is part of a customer portal. This page displays records from custom object in a Apex:DataTable. I have added pagination with Prev,Next,First,Last links to enable ...
1
vote
3answers
12k views

Duplicates in Map

Is it possible to create a Map with duplicate Key Key Value Product 1 100 product 1 200 product 2 200 product 2 300 Scenario : I have a trigger on quote and have to find the ...

15 30 50 per page