Questions tagged [developer-productivity]
Anything for helping a developer to be more productive should use this tag
42 questions
6
votes
2
answers
3k
views
Which AI tools are able to generate code for Salesforce development?
I've had Cody AI running in my VS Code setup, but am wondering what other AI tools I should try e.g. GitHub Copilot?
Also I'm wondering if Illuminated Cloud 2 with its explicit parsing of Apex and the ...
0
votes
2
answers
227
views
Is there a way to run tests for a 2GP package in development, without creating a new package version?
I am developing a 2GP package. In order to run tests, I've had to create a new package version and install it in a scratch org (via sfdx). Is there a way to run tests after code changes without having ...
0
votes
2
answers
1k
views
Salesforce devops Center Azure Devops Support
In some demos of Salesforce Devops Center I saw info that there is upcoming support for integration with Azure Devops and other VCSs.
https://www.youtube.com/watch?v=otvLf2eYlrk
However can't see any ...
0
votes
1
answer
226
views
Does anyone know the link for the latest version of developer guide for Lightning Web Component? [closed]
I am trying to find a pdf copy of Developer guide for Lightning Web Components. I am only able to find online web version. Is the pdf version not published any more?
-2
votes
1
answer
120
views
What's the recommended strategy for Git 'Master' branch in Salesforce? [closed]
I want to know the recommended strategy for maintaining the Git 'Master' branch. I would like to share two scenarios:
Scenario 1: Our team is offered to work for a new client. The client has a pre-...
0
votes
1
answer
189
views
Error in Travis CI build, trying to complete SFDX Travis CI Trailhead module
I've been struggling a lot trying to complete this trailhead module. The first issue was while trying to log in with GitHub creds, which I solved using the GitHub-token flag.
Now, after I Kick-off ...
0
votes
2
answers
1k
views
How better is VSCode for SF development than other paid tools? - need your objective opinion [closed]
This question is aimed to get help to decide whether to migrate to VS Code or stay with IntelliJ+IlluminatedCloud.
I know this is a personal choice, but I feel like I'm being driven more and more to ...
0
votes
2
answers
218
views
Is there a way to re-use Ampscript with different variables?
I have the following code in a Cloud Page
%%[
var
@avisoprivet,
@llamadas,/*Autorizo Autorizo llamadas*/
@terceros, /*Autorizo terceros*/
@sms,/*Autorizo sms*/
@email,/*Autorizo E-mail*/
@...
5
votes
3
answers
3k
views
When will Salesforce Code Builder be Generally available and how to get access before becoming GA?
Salesforce has announced Code Builder few days ago but there is no information of its general avaialbility in that announcement. Being able to use VS Code features from browser is exiting and I cann't ...
0
votes
0
answers
1k
views
multiple developers working on same sandbox using visual studio code
We (Team & Org.) are new in salesforce development and not sure if our infrastructure setup is right or not.
Current Setup:
We have a set of 3 developers working on one developer sandbox. The ...
2
votes
3
answers
443
views
Determine if authorized org with SalesforceDX is Developer or Production
I'm struggling to determine the type of environment of authorized orgs using the SalesforceDX auth commands.
Once you've registered an org if you run
sfdx force:org:list --json
The output results ...
1
vote
2
answers
682
views
How can we create Custom objects and fields without using Object Manager(from the UI)?
I am already aware of the Traditional method of creating Custom Objects and fields using object manager in Salesforce but just curious if there is another way to create them that will increase a ...
2
votes
0
answers
53
views
Lightning Inspector - Performance tab issue
When I try to toggle recording button of the performance tab of the Lightning Inspector, i'm getting below error message; Any thoughts to prevent this?
3
votes
2
answers
329
views
Visual Studio Code: Keyboard shortcut for instance type
I want to get the type of an instance autofilled in VSCode based on its declaration, as in, typing:
List<Account> lsAcc = new
And then use a keyboard shortcut to get the default:
List<...
1
vote
1
answer
72
views
How to schedule a apex run after one other schedule is completed [closed]
There are schedule A and Schedule B
I want to run Schedule B after Schedule a completed
Is there a way a way i can do it?
2
votes
3
answers
2k
views
What more can we do with annotations in Apex?
Apex gives us many useful annotations (e.g. @AuraEnabled, @Future, @IsTest, @TestVisible, etc.)
Can we detect whether/how a class has been annotated?
Is it possible for us to create our annotations?...
1
vote
1
answer
566
views
In Salesforce development environment, how do I see the logs generated by my controller class?
I have a visualforce page and a custom controller. I view the page with the
Url:
https://***Salesforce_instance***/apex/myNewPageName?id=some_lead_d
Page
<apex:page standardController="Lead" ...
1
vote
1
answer
10k
views
Visual Studio Code + ForceCode not working?
With MavensMate no longer being developed, I've shifted over to VS Code with the VisualCode plugin. Our process is to focus around Git, so every morning we pull the newest code from the repo, merge ...
0
votes
1
answer
130
views
How to display trigger error as a message box or Aler Box on Approval Process Page
Since days I am trying on this thing and no winning. I have written a trigger and controller to display error when approval or rejection is provided without providing comments. This error displays on ...
3
votes
1
answer
2k
views
Developing a Marketing Cloud email locally with AMPScript is a pain
I am developing an email locally that is tightly coupled with both AMPScript and a Python application. Almost all content including text and images uses AMPScript for one reason or another. This makes ...
4
votes
1
answer
734
views
Create developer sandbox from Jenkins
I know how to create them manually through the interface (it is really easy)
setup > sandbox > new sandbox > and follow the GUI.
Is there an API or a script that would allow me to create a sandbox ...
0
votes
1
answer
643
views
Creating a dynamic SOQL query using a MAP referencing different sObjects?
So I have the below code:
Map<Id, String> sMap = new Map<Id, String>();
for(CKSW_BASE__Service__c s : Trigger.new)
{
if(s.VS_Site_Survey__c != null) sMap.put(s.VS_Site_Survey__c, '...
0
votes
1
answer
81
views
Fetch complete list of User Licenses available on Company Information Page
We have a requirement to fetch the complete list of User Licenses available in Company Information page and display it on a custom VF page.
We are using the same approach as mentioned in Getting ...
10
votes
3
answers
2k
views
Is there a desktop (Windows) application I can run SOQL queries with?
I am new to Salesforce and so far I have found three ways to run queries:
Developer Console
Workbench
Force.com IDE (Eclipse)
These work for quick ad-hoc queries but for writing more complex queries ...
5
votes
0
answers
494
views
Team Foundation Server as source control for Salesforce Project?
Does anybody has experience on using Team Foundation Server as source control for Salesforce project?
We are currently using Git but management wants to start using TFS as source control going ...
0
votes
2
answers
68
views
When do you know that you are project ready? [closed]
As a beginner to the salesforce development world, I feel as if i have been "learning" for quite some time. i have gone through the apex workbook, developer beginner for trailhead, even taking online ...
1
vote
1
answer
27
views
Force IDE bookmark line locations?
Can we bookmark line locations in Force IDE editor as explained in the below link for eclipse?
Eclipse IDE bookmark
Looks like Force IDE editor does not allow adding bookmarks.
Just wanted to know ...
1
vote
2
answers
401
views
Get Metadata Last Modified by into GIT without check in/out
I am passively pulling out the metadata periodically and pushing it into GIT. No issues there. This is not full blown CI, more to ensure we have source control around all our metadata.
Is it ...
1
vote
1
answer
342
views
GENERAL QUESTION: Do you really need to use a wireframe in building a Salesforce Database? [closed]
I would like to make a compelling arguement that you dont need to use a "Wireframe" in building a database to my boss as he insist of doing it. My question to everyone, is it really important to ...
2
votes
1
answer
555
views
Dev Console - Select Windows
I know that there is a keyboard shortcut for this, but it does not appear to be in the listed set. I want to change up which windows I see after Execute Anonymous, probably limiting it to back to just ...
1
vote
0
answers
119
views
Dev on extension package against unmanaged version of base package
We are currently developing both an extension and base package. Currently, due to namespaces, we are forced to develop the extension package against a managed base package. When we have to change the ...
3
votes
1
answer
168
views
Does salesforce development benefit from having a hyperthreaded cpu?
This isnt a development question but more of asking how salesforce utilizes local resources and what the best system is for development
Reason being is because im building a new pc and cant decide on ...
32
votes
1
answer
3k
views
Does an Apex or VisualForce code style guide exist?
Has anyone written an Apex or VisualForce code style guide, in the way of the Ruby Style Guide or jslint, or PEP-8, or any number of Java guides? I'm in the process on creating one for internal use ...
0
votes
1
answer
24
views
Payment and Media
I'm just curious on the Salesforce Partner front, is there any way to obtain physical media for local install (at a fee or otherwise) for any of the developer tools or is it strictly accessed through ...
2
votes
2
answers
174
views
Should I upgrade to Eclipse 4.2?
I read the following in the winter 14 release notes for the Force.com IDE:
https://wiki.developerforce.com/page/Force.com_IDE_Release_Notes#Supported_Platforms
"Eclipse Platform
Version 4.2 "Juno"
...
4
votes
2
answers
233
views
The sit and wait development model
Let's say I am working on a VisualForce page in Eclipse. I make changes and press save, so that I can see the changes. Eclipse then saves the file to the cloud. This seems to take anywhere from 3-6 ...
4
votes
1
answer
403
views
In-Page Editor Line Distortion
The SFDC In-page editor has always had distortion for me, and I'm just wondering if it's just a lousy browser plugin they're using or if someone has found a good browser / operating system combination ...
1
vote
1
answer
5k
views
Check Picklist Value versus PriorValue
Anyone have any clue how I can check along these lines (but actually have it work)?
not( ispickval( priorvalue( WebDev_Category__c ) , WebDev_Category__c ) )
I simply want part of a Workflow formula ...
5
votes
3
answers
554
views
Tracking errors in batch impossible as Dev Console stops logging or breaks with Server error
When single batch jobs fail only the last one is party shown in the Apex Logs page. This is not enough for debugging.
A better way ist to check the log entries that are written per batch execute.
...
6
votes
3
answers
2k
views
Sublime text 2 plugin for Salesforce
i'have installed Sublime Text 2 and i want to start to code with this for Salesforce development.
I'm using Windows.
Do you know which is the best plugin?
Thank you for any advice.
2
votes
1
answer
41
views
When is a new logfile used?
I am trying to debug something here and one thing that is making it harder is that force uses several log files for the output. I click a button, request happens and multiple logfiles are generated ...
16
votes
8
answers
2k
views
Slow development
When I am developing sometimes my eclipse hangs or takes 8 mins to push a change. IT really slows me down. It can take a long while to run tests.
I sometime run tests in the browser to speed things ...