All Questions

Filter by
Sorted by
Tagged with
9
votes
3answers
2k views

Sites/Portals and SSL [duplicate]

Most of my clients who ask for a public portal or site on salesforce want two things: SSL personally branded site They like being able to manage everything through salesforce but they dont want ...
4
votes
3answers
4k views

Reports for two lookup objects that relate to a parent

I got a request this week from our customer service group that stumped me. We use person-account, case, and a custom object called order (that person bought something). Both case and order have ...
2
votes
2answers
2k views

Can I enable my users to customize their home page tab?

AFAIK, users can only use HomePage Layouts that I create for them, or only change the Dashboard that they see. That's assuming they do not have the Customize application permission. Assuming I don't ...
4
votes
2answers
2k views

<apex:pageBlock /> in Visualforce Email Template

Does anyone know any workaround for using <apex:pageBlock> and it's child tags in a VF Email Template? The error that I'm getting is : Error: <messaging:emailTemplate> cannot contain <...
22
votes
2answers
8k views

What are the implications of implementing Database.Stateful?

I've recently implemented a batch apex class that initially did not implement Database.Stateful. After using it for a while as-is I decided to implemente better error handling via a simple Map to ...
7
votes
4answers
6k views

Transfer Account ownership without changing opportunity owner

Need to maintain opportunity ownership when an account owner is changed using the change owner link. Our sales staff are creating accounts and working prospects using opportunities. Once the account ...
2
votes
2answers
841 views

Using the Entity–attribute–value model for sparse data

I'm looking at a design specification of a work request object that would if implemented purely as a standard salesforce object would cause very sparse columns requiring tens of recordtypes and ...
6
votes
1answer
3k views

Create a custom object via the API (define the object, similar to DDL)

I was looking through the Metadata API (and Partner) but can't find anywhere described how I can define via the API a custom object. We have specific datasets which have to translate into Custom ...
12
votes
2answers
3k views

Populating filter criteria and custom filter logic on Reports through URL

I have a custom report saved with no filter criteria. When calling it, I populate the criteria through the URL, so that the final URL looks something like: https://na7.salesforce.com/00OA000000xxxZG?...
8
votes
4answers
18k views

Workflow > Field update action > update field value with another field value?

I would like to update a picklist field value with another picklist field value in the workflow action 'Fieldupdate'. Is it possible?
3
votes
3answers
4k views

Using cases to manage and track internal SF tasks?

We have multiple administrators and or power users performing various designated tasks and want to use cases to manage, track, report and document. Anyone have any suggestions or best practices to ...
5
votes
2answers
4k views

How do I set the startpoint for an autonumber after field creation?

Just as the title asks, how do I set the startpoint for an autonumber after field creation? The field is an external Id and to avoid conflict with the external system, I need to move the id up a few ...
38
votes
8answers
5k views

Is there a way to setup continous integration for apex tests?

I would like to have continous integration (with Jenkins) for my apex code in order to run them automatically after each push to my git repository. Does anyone know a way how to do that?
11
votes
4answers
18k views

Call javascript function from your apex method

The basic need for me is to find distance between 2 accounts. I have the lat and long of addresses in accounts stored in as custom fields in Account object. In My VF page i have 2 lookups to choose ...
11
votes
4answers
9k views

Unable to refresh src from server using force.com IDE

I was trying to connect to my dev org using my force.com IDE and i got an exception "com.salesforce.ide.api.metadata.types.Metadata$JaxbAccessorF_fullName cannot be cast to com.sun.xml.internal.bind....
10
votes
5answers
16k views

Deploy to different environments using Eclipse

I am new to deploying from one org to another, Can someone refer some good documentation on how to deploy using Eclipse. Also, any steps / pointers would be great..
3
votes
1answer
4k views

Using the apex:page action attribute in embedded layouts

Anyone aware of why the initializeActivity method would not be called (when embedded in a layout)? calling javascript throws a cross domain error. I really dont want to have to make a callout to make ...
10
votes
3answers
5k views

Optimal way to get Case.Id from Case.Thread_Id

We've implemented a custom Apex Email Service to extend the standard Email-to-Case functionality, and one area we're struggling to do efficiently is figure out the CaseId when all that is known is the ...
3
votes
1answer
599 views

Developer org needs Salesforce Content License

I'm trying to insert a ContentVersion item as follows: string before = 'Testing base 64 encode'; Blob beforeblob = Blob.valueOf(before); ContentVersion v = new ContentVersion(Title='New Document',...
11
votes
3answers
5k views

Salesforce Trigger - “DML not allowed on RecordType”

I have created a trigger which is dependant on a custom record type existing. In my test for the trigger, I want to ensure that when this record type doesn't exist the trigger throws the appropriate ...
4
votes
1answer
1k views

PageLayouts and Fieldsets in APEX

We've repeatedly tried to figure out ways to display a Pagelayout and/or FieldSet settings in our custom VF pages without having to rely on the standard controller. For example to display a fieldset ...
7
votes
3answers
267 views

AppExchange Checkout for ISV outside the US

Does AppExchange Checkout already support ISVs located outside the US? I know that they are using Recurly and based on Recurly's website, they do accept Paypal Payments. Does this mean that anybody ...
4
votes
1answer
249 views

Is it possible to use Office-connect with sandbox?

Is it possible to use Salesforce for office in sandbox ? I would like to test before deploy my custom objects to production.
6
votes
2answers
176 views

How to consolidate dates to parent object?

On Account object I have Custom field: Support_end_date I have a custom object called: license. On license I have a custom field called: license_end_date. Each license has a parent object: Account (...
8
votes
4answers
1k views

Branded Visualforce Page

I am stuck with one scenario here, I have implemented one Visualforce page, which will be part of a Managed Package and will be represented on a Force.com website. As this package can be used by ...
4
votes
1answer
298 views

How to get Chatter limits in apex?

There is currently a limit that a single user can only follow 500 entities on Chatter. This is very low for a Social Enterprise, in my opinion, and I figure that it will have to get increased once ...
24
votes
4answers
26k views

How to Print/Export the schema builder?

I wonder if there is the ability to print / export the schema builder? If so, where can I find? If not, would be a great idea to implement this feature for future releases.
7
votes
1answer
4k views

Handling Record Errors in a Batch Process

How does one handle individual record errors in a Batch Process? Tried the following example below, but once I iterate through wlist after the batch has completed (checking the job status through an ...
7
votes
1answer
968 views

Add Tabs in Public Sites

I have a Customer Portal. It has these tabs: I also have a Site (from Setup->Develop->Sites) that has Public Access enabled And I have this tab: However, I should see 2 more tabs: Answers and ...
3
votes
1answer
2k views

Why does my org say “Trial Expired” when I try to log in and how do I fix it?

We have an org we use to do demos. When preparing for a demo this morning we discovered that the org had "expired" and we couldn't log in. We were instructed to call support who, after a lengthy wait, ...
40
votes
13answers
4k views

How do you manage passwords across SFDC orgs?

As an ISV partner I find myself juggling a bunch of username/passwords for my SFDC orgs. I have our "real" org where we do our own CRM related stuff. I have multiple dev orgs where we create our ...
19
votes
6answers
914 views

What's more helpful than Salesforce Customer Support? [closed]

IRC channel #Salesforce seems to be the only place with valid answers and helpful admins/devs.
11
votes
5answers
1k views

RemoteAction Insert Error: “Please provide an id or sobjectType value”

I posted this to Twitter a couple of times but I'm still stumped. I have an Apex class called "TestRemoteActionClass" with a method marked as a @RemoteAction that looks something like this: @...
3
votes
3answers
335 views

API Limits Exception

We have a customer whom is hitting API limits in their org: More than 50,000 API call per-day. They're trying to isolate an installed package that might be to blame, and the only thing they've given ...
9
votes
4answers
12k views

How to query all Chatter Files attached to a record?

We're trying to build a custom Visualforce related list that will show all the Chatter Files that are related to a record. All files should be displayed, regardless of if they are explicitly shared ...
4
votes
2answers
2k views

Test class for Visual Workflow

I have a flow, which shows a list of Opportunities, one by one based on score. This flow has been referenced in a Visualforce page: <apex:page controller="OppPriorityController"> <h1&...
6
votes
7answers
6k views

Calculate distance between two places on accounts from a VF page

I looking to find distance between 2 vendors(Accounts). I do have the lattitude and longitude of the accounts. I think i could use the google maps API to get the distance. Anybody worked with google ...
4
votes
2answers
4k views

Recurring Time Dependent Workflows

What is the best way to implement a recurring time dependent workflow? Ex. An action should be performed every year. I've heard of some Button Click Admin tricks where we could use two workflows ...
7
votes
4answers
3k views

Can't use getContent() in a batch, future method, trigger etc

I have a VF page which has a method in the controller that generates PDF and sends it out via email. It's all working fine when I trigger off the method from a custom button on the page, which is the ...
5
votes
2answers
1k views

What can be done by “DOT”? (Black Tab Feature)

I know that Salesforce has a black tab feature where they could "DOT" an Org (Copy data and metadata) to another org. What are your experiences on this? Like what were they able to do with this ...
8
votes
2answers
1k views

Building an App that works in Group & Professional Edition?

What are the considerations when trying to build an AppExchange Application that works for Group or Professional Edition? I understand that there are a lot of Professional edition org and it would be ...
11
votes
3answers
13k views

How can an apex:pageBlockSection be rerendered if it originally has a render value of false?

I am having trouble getting an apex:pageBlockSection to rerender from an apex:actionFunction call if the section is initially not rendered. My goal is to initially hide a section when the page is ...
4
votes
2answers
7k views

Apex Repeat Using Set Collection

My Controller returns a list of strings in a SET variable to Visual force page. I want to use an apex repeat to iterate over the SET collection but when I save the VF page it gives me an error. Is ...
2
votes
1answer
406 views

Creating a method that ensures safe HTML input

We're building an app that requires the user to be able to input raw HTML (for a design template) and then be able to display that within SFDC. The challenge we've found in a security process is that ...
4
votes
5answers
2k views

How can I avoid problems when merging Salesforce instances?

My company has 2 Salesforce instances. We built our own instance, and then acquired a company that had a completely different set of nomenclature, routing rules, etc. Both have years’ worth of data ...
5
votes
4answers
339 views

Using the ApexCSIAPI that backs to Force.com Console to pull data

When the Force.com/Developer Console is open and checking for updates I can see it polling the server with Ajax POST calls to https://instance.salesforce.com/_ui/common/apex/debug/ApexCSIAPI. Has ...
3
votes
2answers
1k views

Javascript redirect with Google Analytics cross-domain link

I have a visualforce site, running the Google Analytics asynchronous tracker. So that a customer can log in, we have a redirect from the unsecure, branded site (www.something.com) to the company....
3
votes
1answer
258 views

Salesforce - Time Dependant Workflows

I am currently creating some time dependant workflows and was wondering how the evaluation criteria - on the time dependent workflow action works. Are time dependant workflows re-evaluated on the ...
2
votes
2answers
212 views

How do I access the customer logo in the top left in Apex?

I know that to change the customer logo in the top-left corner of the screen you need to go into Setup -> Create -> Apps. However I am unable to find a reference to this in my Apex class. The prefix ...
12
votes
4answers
22k views

Lookup search not returning results

I'm having an unusual problem where I am unable to search for a particular contact from a contact lookup field on another object. I have full visibility of the contact in question and can search for ...

15 30 50 per page