A platform for creating and deploying applications for the social enterprise. Essentially Salesforce.com without CRM.

learn more… | top users | synonyms

0
votes
0answers
18 views

Locking a record by validation rule and impact to Detail related records

I need to lock my opportunity when it's set to closed won, so certain profiles can't edit them. So, I'm doing that by a validation rule (though I'm open to suggestions!) . The opportunity has a ...
0
votes
1answer
26 views

UML Class Diagram Force.com Project

Could you suggest me a way to generate a UML class diagram for a Force.com Project?
0
votes
0answers
26 views

json.serialize is corrupting datetime

I am using json.serialize to pass a list into a visualforce page (in order to use it with a jquery library), for some reason the time of the date is 10 hours behind on the json I am wondering what do ...
3
votes
1answer
56 views

retrieving the selected checkboxes

How can I retrieve the checkboxes that are selected (ticked or equal to true) on my VF page if these checkboxes were created dynamically? The checkboxes are being displayed on my VF Page like this: ...
1
vote
1answer
19 views

Direct Users to a link for SSO

I'm trying to share a public calander with people in my org, and not everyone is using SSO (even though they are set up to have SSO!). What i want to do is give them a link to the calander and have it ...
1
vote
2answers
71 views

visualforce create dropdown from custom list

I have created a custom list using inner classes, this list is called "openPresentations". This list looks like this when I do json.serialize [{"name": "First Name","id": "a09N0000002R0oeIAC"}, ...
2
votes
2answers
33 views

Auto populate the opportunity name

When a user clicks the new button to create an opportunity, I want to autopopulate the opportunity name field for all my opps to "DO NOT MODIFY." Also, I want to carry over any existing functionality ...
0
votes
1answer
64 views

myUnitTest System.DmlException: Update failed

I have created Apex Class, followed by test class and a vf page related to Apex Class. Now every time I am deploying I am getting the error message. Please suggest and let me know how to make the ...
3
votes
0answers
32 views

Force.com IDE (Summer'14 release) - character set issue

I have the following issue since using the latest version of Force.com IDE (31.0.0.201406301722) in our Summer'14 sandbox: In the force.com IDE my code shows as follows: String test = ...
4
votes
1answer
42 views

Unable to modify certain fields in *-meta.xml files

I would like to be able to modify all fields in a specific *-meta.xml file in either the Force.com IDE or the Force.com Migration Toolkit. However, I am unable to set some fields. For example, I ...
2
votes
1answer
47 views

How to get id of record create on visual workflow?

I am trying to get back the id of a record created via a visual flow, I have try to use the same code as the following question on stack overflow ...
1
vote
2answers
306 views

Unable to connect to Force.com after installing IDE

I have been trying to install the latest Eclipse IDE for Force.com, but kept running into the "Invalid Api version specified on URL error". It's similar to this thread Force.com IDE unwilling to ...
2
votes
1answer
35 views

without sharing and delete?

I am creating a button that gives some users the ability to delete opportunities. The big caveat is that they need to be able to delete the opps where the owner is in the same role. I changed my ...
1
vote
1answer
23 views

Help with calculating dates are that in range between another set

Hi what I am trying to do is write a validation rule in a trigger for a custom object where users can pass in a from and to date. Now I am trying to make sure that they can't put another record that ...
0
votes
0answers
38 views

Cannot create new project on eclipse [duplicate]

I installed eclipse and java on window 8 then installed plug in following this link https://developer.salesforce.com/page/Force.com_IDE_Installation Now I found issue , I cannot create new project ...
11
votes
3answers
1k views

Force.com IDE unwilling to create New Project

Eclipse - Kepler (3.4), Force.com IDE latest version (a/o 7/1/14) One project worked fine, another project was displaying errors & was unable to be upgraded. I deleted the project and went to ...
2
votes
2answers
87 views

Can we use apex and visualforce pages with Site.com?

Recently, I worked on a custom development where I used Force.com sites to enable access to some visualforce pages to end users without any authentication. For designing the VF pages, I used Bootstrap ...
1
vote
2answers
34 views

visual workflow: country list dropdown

I am building a Visual workflow where one of the fields is a drop down for the user to select a country. Is there a way to bring the list of all the countries in the world via Dynamic Choice? or do I ...
3
votes
1answer
42 views

Approval Process Reassign Functionality Not Changing Record Owner

The 'Reassign' functionality for the Approval Requests does not change the 'Owner' of the record. It only the changes the 'Actor' field for the 'ProcessInstanceWorkitem' Is there any way I can change ...
7
votes
1answer
113 views

Can I build a canvas app using Salesforce?

Here is the situation (And I am still new to this platform)... We are building a product using the Force.com Embedded (OEM) model. For clients with existing salesforce org, we would like to have ...
0
votes
1answer
18 views

Visual flow not able to select resource on Record create

I have build a visual flow that creates accounts records. For some reason when I am mapping the fields, the system doesn't allow me to select resource, to some of the fields, please see image below: ...
2
votes
2answers
36 views

How to find the groups a user is a part of, either directly or via another groups?

I had been wondering if there is a simple solution to find out the different groups that a user is a part of, either by direct membership or via a sub groups or even deep. We were facing a challenge ...
1
vote
0answers
19 views

Issue with URL rewrite when having 2 or more parameters

I'm facing an issue with my site where URL rewrite is not working using URLFOR() for 2 or more parameters. As per an answer on Stack Overflow this is an existing issue. Site.UrlRewriter Interface ...
5
votes
1answer
21 views

Insufficient Privileges for Public Group Memberships Page

A user is a part of multiple public groups in Salesforce and has a custom profile. When the user navigates to the personal information page and clicks on the 'Go To List' link available under the ...
0
votes
0answers
10 views

Refer one chatter:feed component for two custom objects in same page

Requirement is to create a "News Feed" page for records from two custom objects. I am able to use a component to get the feeds for records from one object but could not use an additional chatter:feed ...
0
votes
0answers
16 views

Visual Flow with approval process

Hi Everyone I have a query about Visual Flows. Can I add Approval process to a visual flow. My scenario is I want to add new product to product master object (i.e custom object) by using visual flows ...
1
vote
0answers
34 views

Licenses for a custom app (Force.com) [closed]

I am a Salesforce.com consulting partner (although Im still young guy). I have done small projects using Group/Professional Edition and administration for large companies using Enterprise. I am very ...
18
votes
4answers
431 views

Eclipse/Force.com IDE not displaying errors in Problems pane - Summer 14 sandbox

I have been getting the 'File only saved locally, not to server' error today, and after checking Build Automatically, Work Offline and that the classes were listed in the project metadata listing, I ...
3
votes
1answer
24 views

Salesforce Multi Tenant Object Storage detail

I want to verify the following internal storage mechanisms in salesforce storage architecture, Standard Objects (Account, Lead, Contact etc ) - stored in separate table or single standard object ...
4
votes
0answers
56 views

Conditional page overriding using nooveride=1 #Salesforce1

I have to conditionally override standard Salesforce1 detail page for accounts but when I use nooverride=1, the salesforce1 still goes to the overridden page and enters an infinite loop. Can anyone ...
3
votes
1answer
212 views

Saleforce Too many future calls: 11

I have a business logic as follows. 1. A web service class parses XML file containing case data and loads the case to SF. 2. Trigger that on update of case email field make a call to future method ...
0
votes
1answer
29 views

Salesforce mobile sdk android error responses

I use the SFDC mobile sdk for android, and i can't get the server error response details (only 400 error) which is limited, public void sfInsert(final Context context, final RestClient client, ...
2
votes
1answer
66 views

Visualforce auto-completion in Force.com IDE

Where to enable auto-completion for Visualforce code in Eclipse? I am using Force.com IDE as Eclipse plugin. Some time ago auto-completion used to work fine when coding a Visualforce page. Now it ...
2
votes
2answers
86 views

Model-View-Controller in Apex Code

I am a newby of Apex code programming. Can someone please help me on whether Apex code supports MVC architecture? If Yes, How we can write Models, Views and Controllers in Apex Code?
5
votes
1answer
96 views

What's the difference between Force.com IDE 3.7 (Indigo) and 4.3 (Kepler)? [closed]

A while ago, I tried hard to install eclipse 4.2 (Juno) but didn't succeed. Now SF mentioned to support Kepler, I tried to install and: It worked! So far, so good, but what is the big win on this? ...
1
vote
1answer
66 views

unable to display apex:image from zip resource?

I have created 'download_images' static resource in salesforce , within that i have uploaded 'snaps.zip' file. After uploading , i have given path according to the salesforce docs ...
2
votes
1answer
242 views

Force.com IDE profile deployment - You cannot deploy to a required field Object_Name__c.Field_Name__c

The following error pops up when I am trying to move all the meta data from one environment to another (with Profiles). You cannot deploy to a required field Object_Name__c.Field_Name__c Upon ...
0
votes
1answer
41 views

Canvas Resize not functioning in IE8

Resize is not functioning in IE8 due to an inability to determine the size of a page within a Canvas frame. All of the following results in 0px, regardless of the page size. Note that all of these ...
1
vote
1answer
87 views

Create Force.com project from DE Org

I have Eclipse Kepler (4.3.2) installed and the Force.com plugin installed. I've been able to connect to a Development Sandbox from within Eclipse. However, I cannot connect to my DE Org ...
2
votes
2answers
72 views

Invalid id value for this SObject type on save from Eclipse

When saving my code from the Eclipse Force.com IDE, I get a bunch of errors like: Invalid id value for this SObject type: 001i000000qE9TfAAK What's mystifying about this is that I get this error on ...
4
votes
2answers
94 views

Date filter in child record while creating roll up summary field

Is there any way that we can put the date filter on child record (like created in last one year) while creating roll-up summary field? I want to count only those child records which are created within ...
1
vote
0answers
36 views

Force.com OAuth Endpoint Configurable

I want to make my Force.com OAuth endpoint applicationContext configurable so it can change to http://test.salesforce.com when someone select to login to their sandbox environment. Below is the the ...
0
votes
0answers
28 views

How to change the email id for site.forgot password and all other methods of site class?

In my project, we developed one site for their internal use. In this, when the user clicks on the forgot password, an email goes to the user's email with temparory login details. We are using ...
2
votes
0answers
78 views

Any Way to Enable Site Login Without Portals or Communities?

I have a public site/page that uses a visual workflow to create a task based on inputs. However, because guests do not have the permissions to create tasks or events - I need to figure out an ...
0
votes
0answers
38 views

Authorization Required Error?

I have created a new registration page , when i am going to browse, this page is displaying following error I have gone through all the sites for Setup --> Develop --> Site --> Public Access ...
1
vote
1answer
51 views

How will be a Component Diagram for Salesforce Project, if we have like this in .Net project

Hi everyone, I have to draw a Component Diagram for Salesforce App I have developed to add in my Project Report Documentation. I have attached here a example image of Component Diagram for .Net ...
5
votes
1answer
88 views

stackTrace is null within managed code

public class TestEx{ try{ //some code }catch(Exception e){ string errmsg=''; errmsg+=e.getmessage(); errmsg+='\n'; errmsg+=e.getCause(); errmsg+='\n'; ...
2
votes
1answer
76 views

Is this class thread-safe?

I'm trying to prevent race conditions while adding sequential legs to these transactionIDs. Does this look like a thread-safe implementation? // only interact with TransactionCount__c using ...
1
vote
1answer
102 views

Future Callout Unit Tests!

I am testing a SOAP callout. The callout happens on a after insert and after update. The issue that I am facing is that, when I insert or update a record in the unit tests, I can trace that it reaches ...
0
votes
0answers
25 views

Site that should be available to all Internet users gives “Authorization Required” error

I have a site that should be available to any user that hits a site. Debug logs are of no help debugging this issue, as I have tried capturing them while the issue is in process for a user, and there ...