Questions tagged [versioning]
The versioning tag has no usage guidance.
69
questions
5
votes
1
answer
156
views
ApiVersion 61.0 changes behaviour of inheritance (cannot override private methods in inner class)
After upgrading our source from 60.0 to 61.0, I observed regression in some of our libraries. After investigation, I noticed that api version 61.0 breaks (changes?) the way, inheritance for inner ...
1
vote
1
answer
38
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 ...
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 ...
1
vote
2
answers
737
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 ...
0
votes
2
answers
78
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:...
1
vote
0
answers
61
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 ...
0
votes
1
answer
37
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 ...
0
votes
1
answer
58
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 ...
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, ...
4
votes
0
answers
1k
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 ...
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 ...
1
vote
1
answer
745
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 ...
2
votes
1
answer
519
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 ...
5
votes
1
answer
917
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 ...
2
votes
1
answer
270
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 ...
1
vote
2
answers
422
views
How To maintain Code versioning with Salesforce DX? [closed]
I wanted to know how can one maintain Code versioning with Salesfroce DX.
3
votes
1
answer
501
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 ...
1
vote
1
answer
483
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 ...
1
vote
0
answers
243
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 ...
1
vote
1
answer
76
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 ...
3
votes
1
answer
176
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 ...
2
votes
1
answer
624
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 ...
3
votes
1
answer
237
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 ...
5
votes
1
answer
831
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/...
12
votes
1
answer
753
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 ...
12
votes
3
answers
2k
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. ...
2
votes
1
answer
37
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,...
4
votes
2
answers
329
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 ...
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:...
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
7
votes
1
answer
252
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 ...
3
votes
0
answers
68
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 ...
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 ...
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 ...
1
vote
1
answer
68
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?
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 ...
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 ...
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 ...
3
votes
0
answers
101
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 ...
1
vote
1
answer
123
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 ...
4
votes
0
answers
278
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 ...
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 = ...
2
votes
1
answer
472
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/...
1
vote
1
answer
345
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 ...
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 ...
1
vote
1
answer
326
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=...
7
votes
1
answer
863
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 (...
4
votes
1
answer
400
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 ...
3
votes
1
answer
376
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 ...
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 ...