All Questions

32,406 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
32 votes
0 answers
539 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 ...
user avatar
  • 24.7k
29 votes
0 answers
903 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 ...
user avatar
  • 53.1k
23 votes
3 answers
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 ...
user avatar
  • 2,225
22 votes
1 answer
3k 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 ...
user avatar
  • 61.4k
17 votes
0 answers
828 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 ...
user avatar
  • 15.6k
17 votes
2 answers
595 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 ...
user avatar
17 votes
1 answer
2k 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="...
user avatar
16 votes
0 answers
1k views

Custom Labels in Packages - Potential BUG in Winter 19 (Confirmed as Known 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 ...
user avatar
  • 33.5k
16 votes
0 answers
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 ...
user avatar
  • 2,225
16 votes
3 answers
992 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 "...
user avatar
16 votes
1 answer
553 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 ...
user avatar
  • 634
15 votes
0 answers
1k 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:...
user avatar
15 votes
1 answer
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: ...
user avatar
  • 33.5k
14 votes
1 answer
501 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 ...
user avatar
14 votes
0 answers
507 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 ...
user avatar
  • 235
14 votes
1 answer
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 ...
user avatar
  • 2,000
13 votes
0 answers
352 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, ...
user avatar
13 votes
0 answers
744 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....
user avatar
  • 506
13 votes
0 answers
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: ...
user avatar
  • 5,596
13 votes
1 answer
595 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="...
user avatar
  • 1,299
13 votes
3 answers
3k 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 ...
user avatar
13 votes
5 answers
2k 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 ...
user avatar
  • 285
13 votes
1 answer
2k 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 ...
user avatar
  • 181
12 votes
1 answer
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 ...
user avatar
12 votes
0 answers
3k 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 ...
user avatar
12 votes
1 answer
558 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 ...
user avatar
  • 942
12 votes
0 answers
9k views

SFDX Deploy: Global Value Set Cannot Be Resolved

I am trying to use DX to deploy to a sandbox. It has been a major hassle. At this point the only error I get is this: Global value set 'External_Evaluation_Required__c' in record type 'Exception' ...
user avatar
  • 1,020
12 votes
0 answers
4k 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 ...
user avatar
  • 4,203
12 votes
1 answer
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: ...
user avatar
  • 2,225
12 votes
0 answers
152 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 ...
user avatar
12 votes
1 answer
1k 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", ...
user avatar
  • 121
12 votes
1 answer
171 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. ...
user avatar
  • 3,652
11 votes
0 answers
166 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 ...
user avatar
  • 129k
11 votes
0 answers
417 views

Manually Invoke Refresh on Custom AuthProviderPluginClass

I have recently implemented a custom auth plugin provider in hopes of getting away from making a token call with every request OR having to manage the token myself. I am using the Oauth 2.0 client ...
user avatar
  • 1,798
11 votes
0 answers
853 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 ...
user avatar
11 votes
0 answers
508 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 ...
user avatar
11 votes
2 answers
791 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 ...
user avatar
11 votes
3 answers
964 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 ...
user avatar
  • 4,906
11 votes
3 answers
4k 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?...
user avatar
11 votes
1 answer
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 *** ...
user avatar
  • 22.2k
11 votes
1 answer
608 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 ...
user avatar
11 votes
2 answers
165 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 ...
user avatar
11 votes
1 answer
635 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. ...
user avatar
10 votes
0 answers
222 views

Font Awesome fonts are not being loaded after "Enable Secure Static Resources" activated for testing

Recently I have encountered the feature "Enable Secure Static Resources" on the release update (that was already being postponed as I am writing this) and read this question talking about it ...
user avatar
10 votes
1 answer
352 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 ...
user avatar
  • 3,605
10 votes
0 answers
287 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 ...
user avatar
  • 931
10 votes
1 answer
1k views

How to distinguish between ContentDocument and ContentNote?

There seems to be some unusual stuff going on with SObjectType for the enhanced note ContentNote (ERD) object and the underling ContentDocument (ERD) structure. For example, both these return a ...
user avatar
  • 129k
10 votes
0 answers
385 views

Scratch orgs and Critical Updates

I notice that all the scratch orgs I've been creating starting in Spring '18 open up with a reminder to Enable the New URL Format for Lightning Experience and the Salesforce Mobile App. Another update ...
user avatar
  • 10.6k
10 votes
0 answers
602 views

Lightning Component - Intermittent Long Loading Times

I've created this very same example in my org in order to test the new lightning:datatable. The SOQL query in the apex method is also limited to 10 records. Typically my requests finish within 2 ...
user avatar
10 votes
2 answers
485 views

Is Duplicate Management detecting duplicate records inside a bulk dml transaction?

I'm getting a really weird behavior from the new Duplicate Catcher in Salesforce. It seems like sometimes, the standard Duplicate Catcher will catch duplicate when doing a bulk operation, but some ...
user avatar
  • 4,310

15 30 50 per page
1
2 3 4 5
649