Questions tagged [sourcecontrol]
The sourcecontrol tag has no usage guidance.
34
questions
17
votes
1
answer
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:...
6
votes
1
answer
631
views
What limits are there on Patch Orgs?
I'm looking to learn about what limits apply to Patch Orgs. For example:
How many patch orgs can I spawn off one release?
Can I upload unlimited versions from a patch org as long as they don't add ...
5
votes
2
answers
731
views
Are there ever exceptions to the one trigger per object rule?
I know from this blog post and this answer that a one trigger design pattern per object is ideal. Are there ever exceptions to that rule? If so, what are they?
Here is my situation to argue that ...
5
votes
1
answer
787
views
How to detect ant retrieve failure in script?
Question
Is there a way to detect if an ant retrieve call fails due to a login issue?
Background
I've got a pretty basic bash script that uses ant to retrieve the latest changes from our production ...
5
votes
1
answer
3k
views
sfdx is removing metadata from permission sets when changing read/write to false
I updated some permissions sets in my package and change some field-level security access to read/write false for some objects.
When I run sfdx force:source:pull instead of marking the XML as
<...
5
votes
0
answers
493
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 ...
4
votes
1
answer
762
views
SFDX development 'without ScratchOrg and Unlocked Packages' with Git [closed]
I think that the first reaction that anyone will have after reading my question will be 'Why do you want to move to DX without using ScratchOrgs and Unlocked Packages'?
Well, we are planning to use ...
4
votes
1
answer
3k
views
Error: Cannot find module '@oclif/config'
I already sort of asked this question but there doesn't seem to be a solution for it. So I figured I would ask a new question about work arounds people have done.
When running any form of sfdx ...
4
votes
0
answers
2k
views
merge tool for salesforce profiles - can it be done?
I am implementing git for our salesforce team. I've got some slick python scripts that retrieve/deploy to the cloud and it's all good except for a few situations which are pretty painful. I hope ...
3
votes
1
answer
13k
views
Git: no changes in this file have been detected, or it is a binary file
I have refreshed a sandbox a few weeks ago and since then all the files in the repository are "marked" like if there was a difference but they are not, showing the message: No changes in this file ...
3
votes
1
answer
2k
views
Set up Git in IntelliJ with Illuminated Cloud
I’m new to source control (git in our case) and have just set up a development flow with CI using Gearset. That’s all well and good (and working fine). But, I also want to set up VCS within my IDE (...
3
votes
1
answer
3k
views
Usage of cli command - sfdx force:source:convert
I used force:source:retrieve to retrieve the given list of components (classes, workflows etc) and committed the files to git. Now I want to deploy these components to higher environments like QA and ...
2
votes
1
answer
1k
views
Create Scratch Org Definition file
To create a scratch org, a Scratch Org definition file should be created. Is there any way to identify the list of features and settings required?
Note: Our org has a lot of features as it is ...
2
votes
1
answer
2k
views
Working with GIT and org code in VS code for a single sandbox
We have our existing code repository in GitHub. This code is in folder structure resembling eclipse IDE forlder structure(or probably they call it metadata structure), like src --> classes --> myclass....
2
votes
1
answer
784
views
How to work with open source SFDC Packages and source control?
Question
How do you keep your installation of open source salesforce packages update to date and track changes if you're not using managed packages?
Background
As Salesforce matures there are more ...
2
votes
1
answer
97
views
Prevent creation of default pages and classes when enabling Community
I'm working on a project for which we have enabled a community on a sandbox. We have removed most of the pages and classes that were automatically generated when a community or site is created (for ...
2
votes
0
answers
73
views
Multiple developers on one git repository [duplicate]
I have a git repository with code from salesforce instance.
The SF project is managed in eclipse (keppler version with egit plugin). I ignored the package and schema files in order to prevent ...
1
vote
1
answer
515
views
Agile Accelerator (GUS) Source Control connector
Since this is a managed package I am not able to dig into the code and figure out how stuff works but it appears that the SF Agile Accelerator AKA GUS has links into GIT and a couple of other source ...
1
vote
2
answers
253
views
Should all available metadata be managed in a VCS?
I'm setting up a git repository for an SFDC project across a team of developers.
I think I should commit all metadata comprising the full org so we can manage changes in addition to the usual ...
1
vote
1
answer
250
views
Where can I find Field History Tracking metadata for Activity object?
I have set some fields for field history tracking on Task object. The standard field metadata files have <trackHistory>true</trackHistory>.
The custom field for Task was created in the ...
1
vote
0
answers
100
views
Compare Flow Versions
Now that Flows are being pushed more and more, I would like to facilitate the code review of those.
Have you found a way to visualize the difference between flow versions (for non-XML nerds)?
I came ...
1
vote
0
answers
28
views
Eclipse Neon updates server with components I haven't saved
Running Eclipse Neon 4.6.0 and Force.com IDE 37, and whenever I have it set to build automatically and work online, when saving changes to a component I'm finding multiple components updated that I ...
0
votes
1
answer
3k
views
Source Tracked vs Non-Source-Tracked org
What's the difference between these 2 kind of orgs?
It seems Trailhead Playgrounds orgs I am creating are non-source-tracked org and certain CLI commands can't be run against it.
How I can identify ...
0
votes
2
answers
221
views
Pushing all of Salesforce metadata into VCS [closed]
How do you begin to pull all the metadata of Salesforce Production Org so that everything could be tracked in a Version Control System.How do I create that complete package.xml which will pull ...
0
votes
2
answers
317
views
Source Code Control and Migration
I am hunting for the best(Free/low cost) option through which i can manage my organisation's code in some repository and also make it configure so that i can deploy changes to other org as well.
I ...
0
votes
2
answers
356
views
Single Source of Truth for Org Development Model [closed]
I think that the SSoT (single source of truth) is VCS (e.g. Git) Am I right?
0
votes
1
answer
47
views
Is regular date for deployment beneficial? [closed]
The company is thinking about introducing a proper version control/source control.
Within this process is considered an idea to introduce a regular date for deployment to production, for example every ...
0
votes
1
answer
437
views
Wondering how to properly organize git repo for salesforce org (branching strategy)
We have a little CRM project and I'm wondering how I could organize the whole git-sandboxes-deployment thing in a nice and smooth way.
At the moment, I don't think there's actually a big need to do ...
0
votes
1
answer
100
views
Is pushing all changes on one branch on Git a great idea?
We didn't use much Git during development and we created multiple functionalities.
Is pushing all changes on one branch a great idea or should we create one branch for every feature?
Advantages: we ...
0
votes
1
answer
674
views
VS Code project structure not matching IntelliJ and Repo
I joined a team who do not like to use VS code as it doesn't match the source GIT and their IntelliJ IDE's do.
Is there any way to "fix" this in VScode?
VS Code: Showing content under the normal ...
0
votes
0
answers
64
views
handle defect resolution after deploy codes into UAT
Our team has just started using source control to manage the source code, we have multiple scrum teams which work in various projects. Current environment setup is one shared development sandbox, one ...
0
votes
2
answers
91
views
How do I create a robust deployment process?
Apologies for the broad question, but there's considerable detail to add here in the body that wouldn't fit in the title.
I need to craft a deployment approach for our dev sprints that aligns to our ...
0
votes
1
answer
260
views
Automation Deployment of Declarative and Imperative Components
This is a slightly large Architectural question.
Within Salesforce you have many components. Those components are either declarative or imperative (like APEX and VF). As implementations get larger the ...
-3
votes
1
answer
197
views
Is there anyone who has knowledge/experience on bit bucket with salesforce [closed]
My requirement is when I do any changes to my sandbox then I can also fetch to my local system and can commit those changes to feature branch.