Questions tagged [versioning]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 views

SFDX Package Version List command returns 431 Error

When I execute the command sfdx force:package:version:list I receive a message <h1>Bad Message 431</h1><pre>reason: Request Header Fields Too Large</pre> I don't understand why ...
user avatar
  • 13.3k
1 vote
1 answer
262 views

How to install a specific version of the Salesforce CLI on Linux?

I know that there is some code on how to install latect linux sfdx tar.xz archive inside container. you have to download the archive, unpack it and then run ./sfdx/install which works fine. However, ...
user avatar
4 votes
0 answers
462 views

ERROR running force:package:version:create: No matching source was found within the package root directory

I'm trying to update an unmanaged package that I've been developing and am running into the following error when running the following command: sfdx force:package:version:create -p SomePackage -d ...
user avatar
  • 619
4 votes
2 answers
1k views

How do I best switch versions of sfdx and plugins?

When there are bugs in different versions of SFDX CLI and the Plugins: There is a need to switch to another version. But I find uninstalling and re-installing too time consuming. Often people post ...
user avatar
1 vote
1 answer
194 views

Error: The Entity 'AccountContactRelation' is not found. Contact the vendor for more details

Running into the following error when trying to create a package that has a dependency on a "parent" package: The Entity 'AccountContactRelation' is not found. Contact the vendor for more ...
user avatar
2 votes
1 answer
197 views

Create an unlocked package with references to custom fields in target system

i'm trying to create a version of my unlocked package. It contains like 3 sobjects and 2 classes. In my objects i have fields, which are related to other custom objects from the target system. The ...
user avatar
  • 123
5 votes
1 answer
300 views

2GP: Package upgrade from patch to next minor version

I have a package version 1.2.0.0 and I've created a patch with some hotfixes which I packaged as 1.2.1.0 (updated the patch version). During packaging of 1.2.1.0 the ancestor version specified is ...
user avatar
  • 83
2 votes
1 answer
159 views

Using Apex to mimic semantic string versioning (to validate “increment only” logic to a text field that represents semantic version

Hey versioning experts, Has anyone used Apex to construct a semantic version bumper? Im looking to implement an Apex-driven "versioning" concept to a custom app, functioning somewhat similar ...
user avatar
  • 1,080
1 vote
2 answers
245 views

How To maintain Code versioning with Salesforce DX? [closed]

I wanted to know how can one maintain Code versioning with Salesfroce DX.
user avatar
2 votes
1 answer
267 views

2GP managed package: cannot create a patch release

We have an "extension" package that integrates our managed 1GP with a third party managed 1GP. This "extension" package is realized as a managed 2GP. We hit a problem when trying ...
user avatar
  • 27.4k
1 vote
1 answer
220 views

How can/should I do unlocked package version management?

I followed this Trailhead module (Build an Automated CI/CD Pipeline with GitLab) and have successfully created an unlocked package that has a CI/CD pipeline. There is this part (in the Trailhead ...
user avatar
1 vote
0 answers
203 views

How ignore Entitlement Process in Salesforce DX CLI?

I tried many times to ignore the Entitlement process (with versioning enable) and was unable to do it. All Scratch organizations that I created, after the first push, the first pull return many errors ...
user avatar
1 vote
1 answer
66 views

TFVC vs GIT For Salesforce [closed]

We are planning to use CICD for Salesforce development, for that we are going to use TFS. In TFS we can create both TFVS and GIT type of repository. What is the difference between these two with ...
user avatar
3 votes
1 answer
121 views

Enforce default version order in Managed 2GP

One great feature of Managed Second-Generation Packages (M2GP) is dynamic and flexible versioning. In First-Generation packages we had a strict linear version where each uploaded version dependent on ...
user avatar
2 votes
1 answer
62 views

How to track why community changes have been undone

My team has reported several times regarding their community changes have been overwritten (Changes which are there once but disappear after a certain period of time). Originally they though it was ...
user avatar
  • 12.7k
3 votes
1 answer
108 views

Is it possible to discover a sandbox version with a API request to a sandbox?

We built and are enhancing a "Salesforce Sandbox Manager" to allocate Salesforce sandboxes to our Jenkins CI/CD and occasionally facilitate other sandbox management tasks. We'd like our manager to ...
user avatar
5 votes
1 answer
428 views

sfdx-cli npm package install not using the proper sfdx version

When installing sfdx with npm in a docker (npm i -g sfdx-cli), there is a mismatch between the sfdx version shown by sfdx --version and the version used by sfdx commands. sfdx --version show sfdx-cli/...
user avatar
12 votes
1 answer
568 views

Can Unlocked Packages only modularize a single project / repo / org?

The longer I read and watch everything related to Org modularization using Salesforce DX Unlocked packages there more I get the feeling that this is only about local dependencies meaning: You take ...
user avatar
12 votes
3 answers
1k views

Efficiently merge handle parallel feature branches in SFDX

Imagine a team of 5 developers using DX scratch orgs (using Salesforce' Falcon Template) for working on multiple features in parallel. They start from a clean packaging org and a clean Git master. ...
user avatar
2 votes
1 answer
32 views

As an ISV, what customisations can depend on old versions of my package? How exactly does SF run them?

I've just upgraded some subscriber orgs to a new version of our managed package. Now, we're seeing some erroneous behaviour in the subscriber org where the only explanation I can see is that sometimes,...
user avatar
  • 12.8k
4 votes
2 answers
240 views

Lightning Components version strategy

I want to implement a component versioning in lightning. The versioning would help me when I want to deprecate a component and start to use a new componet without having any impact for the users. I ...
user avatar
  • 41
0 votes
2 answers
849 views

Scratch ORG versioning with GitHub

Our company wants to use the benefits of SDFX's scrath orgs for versioning and deploying to our GIT repository. Once we install the CLI I can see I need to login using the command sfdx force:auth:web:...
user avatar
  • 335
3 votes
2 answers
2k views

Versioning and Roll-Back in Marketing Cloud

Is there a way to version changes and do roll-backs in Marketing Cloud. We want to do versioning and roll-backs on Cloud Pages and Email Content. Thanks
user avatar
7 votes
1 answer
175 views

From inside a Salesforce packaging org, how do you query the list of created versions for a managed package?

I have, a Salesforce packaging org, it contains a managed package with a namespace. I need to be able to query the list of created versions for that managed package. I am aware that a user can go ...
user avatar
3 votes
0 answers
40 views

Report snapshots monthly with the filters

I would like a month-end snapshot of each report so that if the new data is added the report can be seen again with the old data and able to compare them with filter also. This is like freezing the ...
user avatar
18 votes
4 answers
2k views

Custom Apex REST API versioning

Are there any people who already implemented a custom apex REST api that requires versioning in order not to break existing applications who consume the web service? Do you know any best practices ...
user avatar
  • 2,064
0 votes
1 answer
2k views

Journey Activated - Change to Wait times - New Version

I have a journey working and had made the journey have a wait + time of 1 day until 10:00am. Unbeknownst to me was the fact that MC operates on a 24hr period, and not the calendar. Anyway - That ...
user avatar
  • 1,377
1 vote
1 answer
38 views

Understanding End point url

The endpoint url of the service looks something like this: urn:ttsp.com/is/tel/telecom/UpdateHistoryWSV1.0/UpdateHistoryWSV1.2'; Why is two version name of the wsdl mentioned?
user avatar
0 votes
0 answers
26 views

Not able to commit force.com project to Bitbucket due to specific error

I have added a force.com project to eclipse, but when i am trying to push/commit the entire project to bitbucket master branch it's giving me the following specific error - Following is the project ...
user avatar
8 votes
2 answers
2k views

Get currently installed package version from Apex Class

In my managed package I have a Setup page that should only display setup steps relevant for the currently installed version of my package. I know in InstallHandler implementations there are way to ...
user avatar
7 votes
1 answer
1k views

GIT: How do I maintain modular version control within Salesforce development?

Version control within Salesforce can be quite a tricky topic, very quickly one will experience the conflict of knowing what is the source of truth within their organization. It seems the most ...
user avatar
  • 4,368
3 votes
0 answers
85 views

Does List<SObject>.sort method implementation depend on version?

I believe that I have found very interested undocumented bug in Salesforce. I don't see in the documentation saying that List.sort method implementation depends on version, but looks like it does. If ...
user avatar
  • 13.3k
1 vote
1 answer
59 views

Any versions available for Email Templates in sfdc

Hi Friends i thought it is not an important question.I went to an interview few days back they ask me about version using in email templates. But,till no i didn't see any version for email templates ...
user avatar
  • 1,455
4 votes
0 answers
188 views

System.requestVersion() doesn't give me the patch. How can I get it programmatically?

The Version class has methods to get the major, minor, and patch version numbers, but after getting the version using System.requestVersion(), patch() seems to always return null. Is there a way in ...
user avatar
  • 775
1 vote
2 answers
1k views

How to attach file to Feed Item in SOAP API v36

Can someone give me an example of how to attach a file to Lead using FeedItem in SOAP for version 36 since ContentData and ContentFileName fields are obsolete? My previous code was FeedItem post = ...
user avatar
2 votes
1 answer
329 views

How does Salesforce handle multiple versions?

How does Salesforce handle multiple API versions? Does it maintain separate tables/classes for each available API version and at the run-time loads the specific required version copy of the table/...
user avatar
1 vote
1 answer
161 views

Api version Modification

Can I upgrade or downgrade salesforce Api version? I created a package from my org and tried to install on other org with different (lower)Api version, It gave me error So i think i have to ...
user avatar
  • 478
2 votes
2 answers
991 views

How to export and version control all metadata of an org

How to export and version control all metadata of an org, by saying that, I mean if I import all these metadata into a brand new org, it will create an identical org as the original org. THIS HAS TO ...
user avatar
  • 145
1 vote
1 answer
136 views

CSS file version will not update in Site.com. How to force it?

For some reason, an update to Site.com is not updating the version call for the css file. Site.com forces the call to the css file in the head to have a version number. (eg, /assets/css/styles?v=...
user avatar
7 votes
1 answer
777 views

How to work with a team of developers and version control with svn for Apex and Lightning Components?

We have been trying to figure out a way to work as a Team on a salesforce project using Apex and lightning components. I envision a scenario where each developer would have his/hers own org (...
user avatar
4 votes
1 answer
364 views

Custom versioning for a feature in Salesforce

This is not same as 'Salesforce API version'. Objective: There is a VF page that renders as PDF which numerous users use. I would like to include in the footer my own running version number that is ...
user avatar
3 votes
1 answer
321 views

Mismatch Version

I have created unmanaged package in sandbox(Enterprise Edition). And link after uploading package in sandbox is like https://test.salesforce.com/packaging... And I am trying to install it in ...
user avatar
6 votes
2 answers
8k views

Deploying an Apex class with a dependency on an older managed package version

I'm working on automating the deployment from source control to a sandbox that will be used by a single developer. I want to be able to deploy to the sandbox so that it mirrors the chosen source ...
user avatar
2 votes
0 answers
67 views

How to downgrade a Managed Extension Package?

I have a managed extension package EXT which is built on top of managed package BASE. In the packaging/dev org of EXT 1.x I installed version 2.0 of of BASE to work on upcoming features of EXT. By ...
user avatar
2 votes
1 answer
31 views

Are fixes in new version applied to old versions of platform

I have a lot of apex classes and triggers. Some of them are using limits heavily. Every time new version is available, I'm switching classes on which I work to next version (via Eclipse), so I can ...
user avatar
1 vote
1 answer
306 views

Version Control and deployment with Setup menu and Dev console

If i choose to do customization and coding through Setup menu and Developer console in my dev sandbox without using Force.com IDE plugin with eclipse, what process should i follow to use version ...
user avatar
  • 2,213
11 votes
3 answers
2k views

Git for Salesforce

Do you use Git with Salesforce? What are the key challenges that you have encountered in using Git for Salesforce? We are about to make a decision on Git, and would like to learn from this community.
user avatar
11 votes
1 answer
1k views

Lightning Beta - Lightning file locations?

Our team is exploring Lightning development and a couple of our requirements are to be able to: Work on a shared code base across multiple orgs Check our code into version control Currently due to ...
user avatar
24 votes
2 answers
803 views

Version Control tightly integrated into the Platform - is this coming?

Besides my disappointment that this years Dreamforce did not bring any notable improvements for isv and partners that mainly use the platform, I stumbled over this screenshot in this Platform EBook (...
user avatar
8 votes
1 answer
1k views

Automating revision of version settings for apex classes

I am curious to know if there is a way of automating the version settings for Apex classes. Does anyone have any suggestion on this? Thanks.
user avatar
  • 1,381