Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [versioning]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
28 views

Programmatically getting the major/minor/patch details for a 1GP managed package from its packaging org

I have a collection of package version IDs for a 1GP managed package that I want to translate into major.minor.patch format details. I had expected to be able to do this using a Tooling API query of ...
Phil W's user avatar
  • 36.7k
0 votes
1 answer
43 views

How or do we have anyway to run ValidateMetadata via REST API before creating package version

i'd like to do a check metadata validation in advance even before creating package version in each PR. My question is do we have any way to do check code-coverage verify metadata before creating ...
vctqs1's user avatar
  • 85
1 vote
2 answers
478 views

Managed Package Upgrade Strategy for Beta Versions or Promote Version

I'm currently working on developing a managed package and have encountered challenges with the upgrade process for Beta versions. When attempting to install a Beta version of the managed package in an ...
vctqs1's user avatar
  • 85
0 votes
2 answers
62 views

Error: Compile Error: Variable is not visible: MSTimeCalculator_CC.priorityMap at line 5

When I try to save the code (API version 58.0), I keep getting a compile error stating: Error: Compile Error: Variable is not visible: MSTimeCalculator_CC.priorityMap at line 5:13 Below the apex class:...
Tom's user avatar
  • 23
1 vote
0 answers
57 views

Unlocked packages dont support standardValueSets so why is package version creation failing without standardValueSet folder?

I have an unlocked package that has standardValueSet folder and we are able to create versions just fine. As part of technical debt I want to remove standardValueSet folder as it is not packageable ...
Strong Like Bull's user avatar
0 votes
1 answer
25 views

Can I convert a packaged active flow into an active flow template in a 1GP managed package?

We have a flow, packaged in our AppExchange 1GP managed package. We want to convert this to a flow template in a new major/minor package release. Before we try to do this, I wanted to see if anyone ...
Phil W's user avatar
  • 36.7k
0 votes
1 answer
57 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 ...
Patlatus's user avatar
  • 17.1k
2 votes
1 answer
2k 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_pruser's user avatar
4 votes
0 answers
968 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 ...
hgolov's user avatar
  • 773
4 votes
3 answers
3k 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 ...
TheArchitecta's user avatar
1 vote
1 answer
697 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 ...
Lucas Calegari's user avatar
2 votes
1 answer
501 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 ...
Zero's user avatar
  • 123
5 votes
1 answer
831 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 ...
mcekol's user avatar
  • 83
2 votes
1 answer
263 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 ...
Peter Noges's user avatar
  • 1,130
1 vote
2 answers
417 views

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

I wanted to know how can one maintain Code versioning with Salesfroce DX.
Tejo Guntakatta's user avatar
3 votes
1 answer
483 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 ...
Phil W's user avatar
  • 36.7k
1 vote
1 answer
469 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 ...
Zhuang Paulus's user avatar
1 vote
0 answers
237 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 ...
Leonardo P Macedo's user avatar
1 vote
1 answer
75 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 ...
salesforce Developer's user avatar
3 votes
1 answer
174 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 ...
Robert Sösemann's user avatar
2 votes
1 answer
574 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 ...
Lance Shi's user avatar
  • 13k
3 votes
1 answer
227 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 ...
Brian Kessler's user avatar
5 votes
1 answer
819 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/...
Jeremie Robert's user avatar
12 votes
1 answer
723 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 ...
Robert Sösemann's 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. ...
Robert Sösemann's user avatar
2 votes
1 answer
35 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,...
Aidan's user avatar
  • 13.7k
4 votes
2 answers
319 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 ...
Steven's user avatar
  • 41
0 votes
2 answers
1k 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:...
TheAdmin's user avatar
  • 355
3 votes
2 answers
3k 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
Sanchit Mittal's user avatar
7 votes
1 answer
246 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 ...
Matthew Craig's user avatar
3 votes
0 answers
61 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 ...
user199354's user avatar
18 votes
4 answers
3k 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 ...
Nielsm's user avatar
  • 2,084
0 votes
1 answer
3k 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 ...
Tom Callahan's user avatar
  • 1,407
1 vote
1 answer
65 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?
SFDCRookie's user avatar
0 votes
0 answers
27 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 ...
Nirmallya Ghosh's user avatar
9 votes
3 answers
3k 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 ...
Robert Sösemann's 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 ...
Xtremefaith's user avatar
  • 4,570
3 votes
0 answers
100 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 ...
Patlatus's user avatar
  • 17.1k
1 vote
1 answer
108 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 ...
Pavan tej's user avatar
  • 1,460
4 votes
0 answers
258 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 ...
Neo's user avatar
  • 775
1 vote
2 answers
2k 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 = ...
Nikola Matić's user avatar
2 votes
1 answer
461 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/...
Suraj Gharat's user avatar
1 vote
1 answer
331 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 ...
RaviKant's user avatar
  • 508
2 votes
2 answers
1k 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 ...
Lee's user avatar
  • 145
1 vote
1 answer
317 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=...
Tony Brasunas's user avatar
7 votes
1 answer
856 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 (...
Vinicius Santana's user avatar
4 votes
1 answer
397 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 ...
Lightning Evangelist's user avatar
3 votes
1 answer
366 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 ...
Vrushabh Jain's user avatar
6 votes
2 answers
12k 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 ...
Daniel Ballinger's user avatar
2 votes
0 answers
89 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 ...
Robert Sösemann's user avatar