Unanswered Questions

23
votes
1answer
885 views

An interface extending a system interface causes process hangs?

We're trying to implement dynamic batch processes to dispatch different classes. Specifically, we have integrated multiple systems, and depending on certain events, we dispatch callouts to those ...
19
votes
1answer
148 views

Why documentation deep links are broken?

Since the Salesforce developer documentation was never the fastest UI ever made by man, I enjoyed the old FRAME layout which allowed me to create deep links to content I use frequently. Now having ...
19
votes
0answers
232 views

When are the Queueable/Batchable penalties going to be enforced?

According to The New Apex Queueable Interface, from October 2014, we were told that chained Queueable calls would be exponentially delayed up to 64 seconds, chaining Batches would be exponentially ...
14
votes
0answers
223 views

Premature optimization is the…cure of all CPU timeouts?

According to Donald Knuth actually "is the root of all evil". But this doesn't seem to hold true on the Force.com platform and its CPU time Limit. After watching Paul Battisson's Faster Loops ...
14
votes
2answers
218 views

Can batchable custom iterables support null values?

Background We're trying to do a type of pseudo-parallel processing mechanism, where a record will be processed twice. The thought was to make an overlapping series of values that look like this: ...
12
votes
0answers
218 views

Reset password flow for Communities is destructive?

In most SaaS password reset flows, the actual reset of the password does not occur until the user clicks on a link received via email. This link prompts the user to enter a new password. (Salesforce, ...
11
votes
2answers
272 views

Is forcetk accessible in Communities

I am using forcetk to upload the files(attachments) in VisualForce page and its working fine. But when I access same page in Community not able to upload the file as I am getting the "503 Service ...
11
votes
1answer
547 views

Create Community User through REST API

I am using nForce libaray with node.js. Everything's go right and we perform CRUD on Case object. However when we would like create User using an external account with "Delegated External User ...
10
votes
0answers
385 views

deserializing JSON to object: different behavior in unit test vs API?

So let's say I've got a class that looks like this: public class APIParams { public String name; public String category; public Boolean taxable = false; } Then I have a ...
9
votes
1answer
217 views

Creating Idea Votes from portal user in Test code. DML Exception

I Wrote a very simple VF Page and Controller to show the Accounts that voted on certain Ideas. Here is the controller. Just aggregates the Up and Down votes on the Idea excluding internal votes. ...
9
votes
1answer
616 views

Obtaining all ContentDocument records using SOQL

According to the Salesforce documentation on ContentDocument Users (including users with the “View All Data” permission) can only query files they have access I find this very strange. Why would ...
8
votes
0answers
73 views

Lighting/Aura components: aura attribute default sobjectType gives error for Standard Objects

sorry for almost duplicate - but I have not enough reputation yet to comment on: Lighting/Aura components: aura attribute default sobjectType gives error in managedpackage I am having the same issue ...
8
votes
0answers
63 views

How to know if a field is part of a compound address field and thus is not permissionable

I am working on a class that dynamically created FieldPermissions records for a permission set. This is working fine, except when it comes to standard compound address fields. When you attempt to ...
8
votes
1answer
126 views

SOQL query returns inconsistent order despite ORDER BY statement

The following SOQL query is designed to return CampaignMember information by associated Contact.Name. The first time the SOQL query is run, it returns a list where two subsets of the CampaignMembers ...
8
votes
1answer
78 views

What's the pattern for Platform Encryption field mask length?

I've enabled Platform Encryption on standard Account and Contact fields, as well as on custom fields. In general masked field values are displayed as 5 asterisks (*****), but there are some ...

15 30 50 per page