Brock Elgart
  • Member for 7 years, 8 months
  • Last seen more than a month ago
I'm unable to use sfdx force:org:open command after authorizing an org via the sfdx CLI
Accepted answer
6 votes

Restarting my computer and running sfdx plugins:install salesforcedx@latest fixed this for me

View answer
How to test PushTopic creation
Accepted answer
2 votes

Here's how I would refactor the startCreateTopic method to achieve 100% coverage: public static void startCreateTopic(){ String topicName = 'AccountCreatesTopic'; if(Test.isRunningTest(){ ...

View answer
How to keep sandbox in sync with changes from other developers?
2 votes

I would recommend setting up a Continuous Integration tool to deploy changes to your full sandbox automatically when they are committed to the Master branch. Options: Copado Bamboo (Atlassian) ...

View answer
Accessing Chatter API in Communities
2 votes

See the documentation for Connecting to Salesforce Communities You need to do the following, both when authenticating and accessing /chatter/users: Replace "https://.force.com" with the full path to ...

View answer
Can we find unused methods in Apex?
1 votes

If you download Mavensmate (compatible with SublimeText or Atom) there's a feature called Health Check which does this. The documentation is poor but it should be under Project > Health Check https://...

View answer
No_Oauth_Token: Access token was not returned
1 votes

See steps 6-8 in the steps to setup Files Connect You still need to: Define an External Data Source for SharePoint Check External Data Source Access on the Permission Set Edit the Permission set and ...

View answer
Possible causes of "invalid assertion" error in SAML assertion oauth flow
0 votes

It looks like there's a salesforce help article with 2 possible causes of this issue. Might be worth checking out: OAuth 2.0 SAML Bearer assertion flow receives {"error_description":"invalid ...

View answer
Non-Selective Query Async (fails) vs Sync (works) - Is that supposed to happen?
0 votes

Are you developing a managed package or is c2g something you installed? If you don't have access to make configuration changes there's not much you can do. That being said, if you make ...

View answer
Parallel Execution of JavaScript remoting calls
0 votes

This Blog post explains the various methods for asynchronous javascript, Promises being the most recent method which is widely supported. It is, in fact, asynchronous, and the issue is likely that ...

View answer
Populate Owner in REST API Using external Id
Accepted answer
-1 votes

I used a Custom REST API and populated OwnerId via the apex logic of the Custom REST API

View answer
How to know if a field is part of a compound address field and thus is not permissionable
-2 votes

You'll want to use the isPermissionable() method of the DescribeFieldResult class and only add fields to the Permission set for which the result returns true. public static Set<string> ...

View answer