All Questions

30,819 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
98
votes
1answer
3k 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 ...
30
votes
0answers
448 views

Mini Page Layout Hovers in Managed Package

Has anyone using the mini page layout popup technique listed here in a managed package had the package rejected in security review because of it? This is obviously an unsupported technique, but given ...
26
votes
0answers
738 views

Managed Package Providers No longer able to access Debug Logs

I just wanted to double check because we are having trouble seeing debug logs for our extension packages in subscriber orgs. The main package which started it all works fine. I am being told by SF ...
23
votes
2answers
468 views

Email value is saved without parentheses (label) when using DML

When an email contains a label enclosed in parentheses, the value can be saved as typed in via SF UI. (Note: the email value "as is" is only seen when in Edit mode.) However, when the record is saved ...
22
votes
3answers
2k views

force:navigateToComponent not loading component in Summer '17 | DOM repetition issue in Summer '17

I'm using force:navigateToComponent to navigate to a different component on click. On the first click, it navigates to the component and everything is successfully loaded. When pressing back button ...
17
votes
0answers
2k views

why is the value in [] for insufficient access rights on cross-reference id: [] always/usually empty?

OK, I know how to debug this error and there are plenty of web resources to assist so please don't answer with those techniques. What I'm more after is why the ID value in [] is typically null for ...
17
votes
1answer
1k views

Using apex class as attribute type for component - Summer '14 IDE issue

I have a component that gets an instance custom Apex Class as an attribute, ie: <apex:component controller="ComponentController"> <apex:attribute name="myAttr" assignTo="{!attr}" type="...
17
votes
3answers
410 views

How does Salesforce handle Managed Package Licences between Packages?

So I have a managed package we'll call Package Core. It has various components, incl custom fields on Account and Contact. It is licensed by user, and works as expected - no license, no access to the ...
16
votes
0answers
1k views

What is the impact of the Release Update: “Enable Secure Static Resources for Lightning Components”? (due 2020-11-29)

On the Release Update page in the setup (/lightning/setup/ReleaseUpdates/home) I found this Enable Secure Static Resources for Lightning Components COMPLETE STEPS BY: 29.11.2020 TEST RUN SUPPORTED To ...
16
votes
0answers
791 views

Custom Labels in Packages - Potential BUG in Winter 19 (Confirmed as Know Issue by Salesforce)

We have an unmanaged package using 167 custom labels to use the Translation Workbench in Salesforce and to be able to translate texts into different languages. Until now, all our custom labels have ...
16
votes
0answers
579 views

Possible values returned from the _messagecontext personalisation string

I'm following the personalization string documentation and need clarification on the _messagecontext string. Specifically, I want to understand under what context the following values would be ...
16
votes
0answers
2k views

Highcharts tooltip getting overlapped by graph when locker service is activated

I'm facing an issue where Highcharts tooltip is being overlapped by the graph itself. Please find the following image which depicts the same: When LS is active: When LS is deactivated (The scale of ...
16
votes
0answers
441 views

Using the Tooling API to create trigger, getting Error No such column 'Email' on entity 'User'

I'm using the Tooling API to dynamically create an Apex Trigger. The trigger itself consists of one line, calling a method in a Util class. Creating this trigger by hand works fine. When I try to ...
16
votes
2answers
911 views

Is forcetk accessible in Communities

I am using forcetk to upload files (as Attachment records) in a VisualForce Page and it works fine. But when I access same page in a Community, I am not able to upload the file as I am getting the "...
15
votes
0answers
980 views

Salesforce DX: How to track custom objects' changes in custom profiles?

Salesforce DX does not track some of the changes I make on my scratch org. How to reproduce a problem: Create a custom profile -> sfdx force:source:pull Create a custom object -> sfdx force:...
15
votes
1answer
3k views

Lightning picklist for an SObject-Field - which one to choose ui:inputSelect or lightning:select or force:inputField or lightning:input?

I need to decide which path to proceed: <ui:inputSelect /> <lightning:select /> <force:inputField /> <lightning:input /> (Beta) write my own component... Use case: ...
14
votes
1answer
475 views

Cannot read property '$$OwnerKey$$' of null

I have a Visualforce Lightning Out page that's rendering some <lightning:input type="date"> elements. Since the Winter '19 release in the dev sandbox I'm working in, whenever I select a date ...
14
votes
0answers
221 views

How do we manage our roles in Salesforce DX?

We currently have about 700 roles in production, which is more than the default 500 roles allowed for an org. When trying to create a scratch org, this means that we can't push all of our roles. ...
14
votes
0answers
414 views

How would I set up Doxygen to document Apex Code?

Currently I'm in a situation where I'd like to add documentation support for my code using Doxygen. I've downloaded and installed the program and I have all of my .cls files in a single folder. I am ...
14
votes
1answer
3k views

Bad rightOperand type: got SObjectScriptRow

I just want to know what is SObjectScriptRow! All I can find about it is this question. I'm building an invocable method to be used from a process, where I have one input parameter: a list of an ...
13
votes
1answer
809 views

Highcharts not being rendered in Microsoft Edge browser | Lightning component

I'm facing an issue where Highcharts report is not being loaded when opened using Microsoft edge browser. It's loading fine when opened using Google Chrome. Here's the code:- Component:- <aura:...
13
votes
0answers
2k views

Managed Package error “Dependent class is invalid and needs recompilation”

I'm getting an exception email from a client who has installed my Managed Package in his org. The error message I receive is: Apex script unhandled trigger exception by user/organization: ...
13
votes
1answer
550 views

ui:inputDateTime date and time pickers not displaying properly

We are working on some Lightning Components for a Salesforce Community. We are using our own template which is bare bones. Here's the code: <aura:component access="global" implements="...
13
votes
4answers
1k views

How to send an email in response to a triggered event?

We need to send emails in response to a triggered event. We have created two data extension, one for client data and another to event data. These data extensions are filled with API procedures. We ...
13
votes
1answer
1k views

How to handle errors when using dynamic Custom Labels referencing?

Any ideas how to prevent error when trying dynamically access label which doesn't exist? Check somehow whether it exists before referencing or maybe catch this error. Here is my page: <apex:page ...
12
votes
0answers
245 views

Made 3500 SOQL Queries in one context. LIMITS HACK?

Steps to reproduce: Create Visualforce Email Template Create Visualforce component and add it into the email template Create Apex Controller for the component from pt.2 Do some SOQL queries there, ...
12
votes
0answers
3k views

Debugging Lightning Components worse in Communities in Winter 19? [NoErrorObjectAvailable] Script error

Debugging little javascript errors has become a nightmare (again.. feel like this is how it was a year ago and earlier). Simple errors it seems, like referencing a controller method that does not ...
12
votes
1answer
1k views

mCustomScrollbar not working when Locker Service is enabled in Salesforce-1

I am having problem when using mCustomScrollbar (GIT Hub) when locker service is activated. During initialization of mCustomScrollbar in the helper, it throws the following error [TypeError: ...
12
votes
0answers
140 views

Fluctuations in obfuscation of managed package details

I've seen Salesforce obscure certain details about a managed package when it was deployed in a subscriber org. For instance, the debug logging generated from the managed package namespace isn't ...
12
votes
3answers
2k views

Create a currency formula field with no decimal places for Standard Page Layout

We have the following challenge with currency fields: Scenario: On child record(s) (in a multi-currency org) we have pricing information which is stored as a currency value with 5 decimal numbers in ...
12
votes
2answers
2k views

Rollup Summary Fields with multi currency are not working on Salesforce1

I have a Master-Detail relationship between two custom objects. A rollup summary field sums up a currency field on all detail objects with an specific record type. The Rollup summary field is ...
12
votes
1answer
846 views

Filter empty date field in SF analytics api

Using the analytics rest api we need to add a filter to a date field to get only the records where this field is empty. In json: { "column": "Account.Date_Field__c", "operator": "equals", ...
12
votes
1answer
145 views

Anyone else have this problem?: googling developer related issues returns foreign language documentation

I'm not sure where else to take this issue... Basically, I've noticed in past weeks that generic searches for apex/vf documentation is returning the correct SF documentation.. but in Japanese. ...
11
votes
0answers
386 views

WSProxy setClientId in Child BU does not allow execute at Parent BU

In SF Marketing Cloud, I'm trying to update a subscriber at the Parent BU Level from my SSJS in the Child BU. I created a Cloud Page at the Child BU to run the following code in order to debug faster....
11
votes
0answers
756 views

How to convert Standard Volume Event into High Volume Platform Events?

With Spring 19, High Volume platform events are generally available. Now I want to convert my existing standard volume event into a high volume event. I tried editing the event object in Setup, it ...
11
votes
2answers
524 views

Setting non-nullable fields on Synchronized Data Extensions

I need to do an attribute-to-attribute comparison as part of a Decision Split (Journey Builder). One of the attributes happens to be from a Synchronized Data Extension (Sales Cloud source). Apparently ...
11
votes
0answers
2k views

Test cases failing with “Could not run tests on class 01pXXX because: connection was cancelled here”

When running all the test classes in my dev org I'm getting intermittent failures on some of them with: Could not run tests on class 01p400000000001 because: connection was cancelled here The ...
11
votes
1answer
405 views

Why is my Lightning App inside a Managed Package extremly slow during its bootstrap phase (but not in the DEV org)?

I do have a managed package that contains a Lightning app (myApp.app) which contains various custom Lightning components. When I install the package in any org and open the app, it takes a very long ...
11
votes
0answers
3k views

Including access token in endpoint URL when using named credential in REST callout

I'm trying to retrieve a list of forms using the FormAssembly API via a HTTP Request to the endpoint: https://app.formassembly.com/api_v1/forms/index.json I was able to setup named credentials and ...
11
votes
0answers
701 views

Points to be considered for Salesforce Instance movement from NA to EU

I am working for a project that requires salesforce data center to be migrated(moved) from NA to EU due to security reasons. This org migration from server is obsviously going to be done by Salesforce ...
11
votes
3answers
730 views

referencing static resources in lightning components with dynamic namespaces

We have a lightning component thats part of our appexchange package. We have development environments with no namespace, a beta/staging package namespace, and our production package namespace. Is it ...
11
votes
1answer
1k views

Flex security cross-domain issue in salesforce

I have developed a flex component which I am using on salesforce visualforce page. When I run that flex component on local machine it works fine. But when I run i through salesforce page it says *** ...
11
votes
1answer
468 views

CPU timeout - Does the DevConsole output tell me anything?

In a complex trigger situation: Triggers in base and extension package Complex (many lines of code) trigger logic Many records Extra customer logic (validation rules,...) in target org our packaged ...
11
votes
3answers
3k views

Lightning: dynamic index in aura attribute with type List

related post I am having the same issue. Trying to access array with dynamic index arrayList[index] (index from aura:iteration), but Salesforce doesn't support that. Does anyone know how to do this?...
11
votes
2answers
125 views

CORS issues with Chatter API Photo Posting

I have a Chatter Communities API request that creates a new user profile picture. This API callout works when I use an app like Ruby or even a cURL command. However, using an AJAX callout, I get a ...
11
votes
1answer
600 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. ...
10
votes
0answers
62 views

Is there a reliable way to have WITH SECURITY_ENFORCED applied to all queries?

I've just gone through a biggish code base making sure that WITH SECURITY_ENFORCED is set on every query. Most were, but for some recent additions, it hadn't been included. For managed packages that ...
10
votes
1answer
283 views

$Setup cannot resolve protected setting in managed package after Spring 2020

A custom button in a managed package uses a protected custom setting in the same package to retrieve a namespace: /apex/{!$Setup.Constants.URL_Namespace__c}PageName?param=value When installed with ...
10
votes
0answers
190 views

Cache.Session not honoring ttlSecs argument?

I'm using session cache and trying to set the TTL (lifetime) to 60 minutes. However it is expiring much more quickly (it appears to be using the default 5 minute expiry). The docs say TTLs is ...
10
votes
0answers
457 views

How can I create an example component for AuraDoc which does not appear in the component library?

As I was playing around with the Lightning Component's documentation I saw that in order to display an example, I need to provide a reference to an actual example, but I haven't figured any possible ...

15 30 50 per page
1
2 3 4 5
617