The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
0answers
88 views

Multiselect picklist popup broken after rerender - a Salesforce bug?

When rerendering some multiselect picklist (or any of it's ancestors), some strange things happen with the floating multiselect popup - it's collapsed, the list appears twice (see picture). It seems ...
3
votes
1answer
32 views

Wrong Url displayed after redirect to PageReference

Have some strange behavior of the URL that gets displayed in my browser after redirecting between pages with a shared controller. Reproducible Code public with sharing class FooController { ...
4
votes
1answer
63 views

Can't open classes in developer console

We are not able to open and modify classes with Salesforce developer console. This restriction works also for another devs with system administrator profile. The message : Has anyone seen this ...
4
votes
0answers
51 views

SOQL not returning row (when it should be)

Running into a very weird issue that is actually causing preventing my IDE from compiling (mavensmate)... When Mavensmate compiles, it first checks the server version of the file to make sure it can ...
2
votes
1answer
85 views

Cannot Deploy Field: Picklist value is too long for the max size of 40

I'm trying to do a deployment on to a sandbox and I'm getting an odd error: Picklist value is too long for the max size of 40 As far as I know this limit has been removed for some time and ...
0
votes
0answers
16 views

actionpoller interval param will not use controller property?

I have a VF page that presents a wizard. Step 3 is a progress bar that periodically checks the status of a batch of requests sent off during step 2: <apex:pageBlock rendered="{!step == 3}" title="...
9
votes
1answer
241 views

Lightning: Get list view records

How can one get ALL the records from a list view in a visualforce page running in Lightning? (Since no checkbox for selecting are available) Similar old question. With an adaptation from that ...
1
vote
0answers
19 views

List Metadata Missing CaseComment?

Are there any restrictions on which standard objects are returned with a list metadata call for CustomObject or Workflow? Taking a stab at fixing a mavensmate bug which builds it's project manager ...
8
votes
1answer
250 views

What causes REQUEST_RUNNING_TOO_LONG test errors?

For most of our clients we've got a basic ant script that does a test deploy every night to make sure all the tests pass. Occassionally, we'll get a REQUEST_RUNNING_TOO_LONG error. What's strange is ...
1
vote
0answers
17 views

no contact field for JS button in Quote

Maybe it's Friday or something, but I have one JS button on detail page for Quotes and I wanted to check if Contact field filled, but as it turned out I can't access it from there. And it even isn't ...
0
votes
0answers
60 views

SalesForce Winter '16 Release Bugs

I wanted to warn you regarding two bugs of the Winter '16 Release: When creating a new user, after filling the details and pressing the "Save and New" button, in case you got a duplicate User-Name (...
2
votes
1answer
66 views

Unable to Change Log Levels - Winter '16

Working in sandbox with Winter '16 and when I try to change the log levels the page stalls I've checked the known issues list and haven't gotten any results. Has anyone run to this? Any workarounds ...
3
votes
0answers
89 views

Calling APEX out of JavaScript the APEX-API Version is ignored

I run in an issue with calling APEX out of JavaScript, when i call my APEX class, the class is executed with API-version 34.0, but in the metadata of this class is the API-version set to 27.0. I need ...
1
vote
1answer
184 views

Residue from managed package problem

I installed and then uninstalled a managed package on a sandbox multiple times. Then when I last tried to install the package again it gave some wierd errors(5 of them): (Activity.Custom_Field__c) ...
1
vote
1answer
30 views

sforce.connection.remoteFunction() response “double” double quoted?

I'm making a callout to a REST Resource using the sforce.connection.remoteFunction() and getting a strange result. My RestResource returns a String. @RestResource(urlMapping='/demo/*') global class ...
4
votes
1answer
252 views

Returning an object from an AuraEnabled method with properties named r or s

When you run the code below, everything works as expected. The console logs an object with all of the a-z properties minus r and s of course since they are commented out. If you uncomment s, the ...
4
votes
1answer
73 views

Salesforce Strange Screen when Login

Today I saw a strange screen when tried to login to Salesforce environment. I seems like a server default page. But curious to know if someone has seen this screen previously. In addition I am little ...
1
vote
0answers
111 views

Apex Scheduled Jobs Error

I am trying to scheduled a job but I get the following error: You have exceeded the maximum number (100) of Apex scheduled jobs. However when I checked my current scheduled jobs, I see only 2 jobs ...
4
votes
2answers
458 views

Email Alert Fails with Sites User “INSUFFICIENT_ACCESS_OR_READONLY, user does not have access to use approval assignment email template: []”

Question Is there anyway to get workflow email alerts to work when sent based on an action from a Sites user? Background We have an integration that pushes records into our system via a force.com ...
3
votes
0answers
212 views

ValidationRule queried via REST API returns Deleted objects VR too and that results in error with GACK?

UPDATE [15 Jul'15] : Salesforce support confirmed that this is indeed a bug and their Research & Development team is working on this case and the matter is under our observation. Here is the ...
2
votes
1answer
499 views

SingleEmailMessage SetWhatId with Quote Id

I am currently recreating much of the OOB Quote functionality in Apex and I am almost complete. Now there is just one other hurdle, the Email Quote functionality. Now, it doesn't seem like an issue......
1
vote
0answers
22 views

QueryException for visible managed package field?

I've got a basic query that references fields in a managed package. The field is visible to all profiles, and the object has view all perms for all profiles. But throws this query exception No ...
2
votes
1answer
23 views

Are fixes in new version applied to old versions of platform

I have a lot of apex classes and triggers. Some of them are using limits heavily. Every time new version is available, I'm switching classes on which I work to next version (via Eclipse), so I can ...
2
votes
2answers
61 views

Why an Unlicensed User able to fetch data from a Managed Packaged Custom Object?

Assuming I've 2 users in my org: [User A] & [User B] Assuming I've a Managed Package CustomObject: [abc__XYZ__c] IMPORTANT: [User A] - has been assigned a License of this Managed ...
0
votes
1answer
49 views

Force.com IDE takes forever to save JSON static resource

In my package I have a JSON file served as Static Resource. Whenever I change and save this file from a current version of the Force.com IDE it takes forever until its finally saved. I idles around 23%...
0
votes
1answer
84 views

Strange “Compilation error: unexpected token: '?'” in Force.com IDE

For the last few weeks my Force.com IDE (not updated recently) is showing this strange compilation error: Compilation error: unexpected token: '?' As you see in the screenshot there is no ? ...
1
vote
0answers
280 views

“Your request exceeded the time limit for processing.” when editing any code

I've been encountering this platform error when trying to update any code from the App > Setup: Time limit exceeded Your request exceeded the time limit for processing. For example, if I ...
3
votes
1answer
420 views

Filtered lookup fields don't work in Visualforce when records wrapped in Object

I have a grid Visualforce component that displays records as rows where fields are editable as apex:inputField. The component works for generic SObjects and uses fieldsets to defined editable fields. ...
4
votes
1answer
198 views

Customer org corrupted: Public class deleted in 1.2 magically gets deprecated in 1.1.1 patch

We pushed patch 1.1.1 of our managed app to a customer production org which worked fine in their sandbox for the last weeks. After the installation our customers faces compile-time type errors as Apex ...
6
votes
1answer
397 views

Losing StandardSetController selected records with first visit to VF page

I have a VF page that leverages a custom object's StandardSetController to compare records. I created a custom button to allow users to select records of that object from a related list and compare ...
6
votes
1answer
731 views

Standard Controller behavior with not available ids - behavior changed?

Question Do standard controllers no longer throw exceptions if the current user doesn't have access to the passed in id? Has this always been that case or did this just recently change? Hoping to ...
1
vote
1answer
326 views

Why is my workflow not firing? - “100 <> null” evaluates to false? null formula comparison issues?

Question In a workflow formula criteria, what's the expected behavior when comparing nulls with the <> operator? Details I've got a basic workflow that seems like it should fire but ...
6
votes
3answers
508 views

System.QueryException: No Such Column - Strange RunAs Behavior with Summer '14?

Question Is there any known reason a SOQL Query would return a runtime System.QueryException on a custom field in test methods, in particular one one via a parent lookup in a test? I would have ...
15
votes
2answers
892 views

Rest Routing with Multiple Wildcards / Supporting REST Routing for Nested Resources

Question Running into a SalesForce REST mapping issue involving multiple wildcards in an url. Is this not supported? Is there anyway to supporting routing for nested resources? My Setup I have this ...
5
votes
4answers
2k views

HTML5 Date pickers today stopped working in Salesforce1 on Android

I have a Salesforce1 app that uses native HTML5 date(time) pickers. This wonderfully worked on all supported mobile platforms, on the desktop and in the one/one.app test page. This morning (August ...
3
votes
2answers
287 views

Workaround for Possible Datetime.format() Framework Bug

I am generating a set of date-based keys by looping over a start date and adding successive months to the initial Datetime object. I seem to have run into a bug in the format() method of the Datetime ...
11
votes
1answer
479 views

CSRF (Cross-Site Request Forgery) in Visualforce Pages on Public Force.com Sites

Background On one of our public Salesforce Sites (Force.com Site) we allow users to create or/and update contacts "within" salesforce. To do so I'm using <apex:form>. In case Javascript is ...
7
votes
3answers
336 views

Data Not Available? Can't edit a custom formula field formula

Any ideas why I would get a "Data Not Available" error when editing a custom field? In this specific instance I'm editing a formula field, and I'm able to edit and save changes to the description and ...
4
votes
1answer
72 views

“MyClass object = (MyClass) t.newInstance()” considered harmful

I hope this turns out to be a still unknow security flaw that will be soon fixed by Salesforce.com. From code in my managed package I was able to call the constructor of a packaged class of another ...
3
votes
0answers
119 views

Tooling API Bug? or my bad? INVALID_FIELD_FOR_INSERT_UPDATE No access to entity 'anyobject__c'

Anyone seen this error before with the tooling api? All references to custom objects generate errors from references to custom objects. Only seems to apply to create calls, if I create it as an empty ...
5
votes
1answer
3k views

Example of using String.format() with a number / does this function even work?

Per the docs format(String, List<String>) Treat the current string as a pattern that should be used for substitution in the same manner as apex:outputText. Which would lead me to ...
6
votes
2answers
2k views

Scheduled batch “already scheduled”

I had a batch job that I tried to start. Its "startup" method that launches it checks to see if it's already running by querying the asyncjob object, then starts it only if it's not running already ...
2
votes
1answer
149 views

Tracking Changes to Lookup When Parent is Deleted

Question Is it a known issue that field history tracking doesn't detect changes to a lookup field as the result of the parent object being deleted? Background We had a big data integrity issue and ...
9
votes
3answers
672 views

Generic SObject Getters Return Null for Boolean fields?

Question Am I taking crazy pills are is it unexpected behavior for the generic sObject getters to return null for boolean fields? Background Was troubleshooting a null pointer error and noticed ...
6
votes
1answer
120 views

Troubleshooting a Record Sharing Mystery

Update: Totally rewriting/simplifying this question now that I've zero'ed in on the core issue. I'm sharing an Account, Program B with a public group called Access Program B's Data. As part of that ...
16
votes
1answer
4k views

Why does ApexPages.StandardController getId return a String?

I'm writing some new code, and I came across a curious situation. We are using a dynamic piece of code that determines how a record should be handled based on its ID value (e.g. different objects have ...
3
votes
4answers
4k views

Default Values in Visualforce Input Fields

This is one of the feature that was delivered "Winter 11" but looks like there are some limitation. The suggested feature seems to work only for the very first time when VF page loads but when a ...
4
votes
2answers
460 views

Open Id Connect Network Activation

I have configured a salesforce instance to use Google for user Authentication via Open Id Connect. This is for users with full Salesforce licenses to login to Salesforce. When I log in from a new ...
7
votes
1answer
304 views

Why can't I edit page layouts in Google Chrome in Winter 14?

When using the latest version of Google Chrome, the Layout Editor palette is empty, so we cannot add fields, related lists, buttons, or any other objects to the page. No console errors are reported. ...
2
votes
1answer
299 views

Does field level security affect list view criteria?

Question Is it true the field level security of a field used in the criteria for a list view is ignored? Or is this a bug? Background I created a new formula field that's true if a user lookup on ...