Questions tagged [package-dependency]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

DX: Unlocked Package - override packaged formula field locally, but keep packaging the "original" formula field

Package description I am trying to create an unlocked package (e.g. package1), which adds multiple formula fields to the Opportunity object. Part of those formulas calculate the Opportunity's Revenue ...
Andrew Stopchenko's user avatar
0 votes
0 answers
37 views

Remove Parent Package Dependency from child Package

Package Dependency there are 2 packages - A and B. B package is dependent on A. Package A exposed global interface Global interface A1{ Void print(); } Now package B used that interface and also ...
Akshay Jain's user avatar
0 votes
2 answers
269 views

Package dependencies

I have a problem with the dependencies in the package and I don't understand why. sfdx-project.json { "packageDirectories": [ { "path": "force-app", &...
EricM's user avatar
  • 1
2 votes
1 answer
404 views

DX Standard Value Sets not included in unlocked package so dependencies on packages Standard Value Sets are not recognized

We build all our packages as "unlocked" packages. We have a package called "common". Common holds anything that is related to standard objects, like standard value sets. ie: ...
Mike Wannamaker's user avatar
0 votes
1 answer
239 views

Is it possible to create managed package referring to Org's custom objects?

I have a requirement to split project's code into two parts: Unmanaged part - mostly, it's custom data model. Should be editable in client's org. Managed part - wrapped in 2GP Managed Package. There ...
Bartłomiej Góral's user avatar
0 votes
0 answers
221 views

How can I find the dependent packages of a package version?

Given that I have two packages (packageA, packageB) and packageA depends on packageB, I would like that when I release a new version of packageB, I can automatically upgrade the package version Id of ...
imTachu's user avatar
  • 203
13 votes
2 answers
616 views

fflib as Second Generation Managed Package (2GP)

So, in a project of mine (a Second Generation Managed Package) I have a dependency on fflib. My initial idea was to include fflib-apex-common and fflib-apex-mocks as 2GPs with the same namespace as my ...
lightxx's user avatar
  • 271
0 votes
1 answer
59 views

How do I define a dependency in 2GMP for certain Salesforce feature like Quote object?

How do I define a dependency in 2GMP for certain Salesforce feature like Quote object? I need to release a package extension which should depend on Quote object. How should I define such dependency? ...
Patlatus's user avatar
  • 15.8k
0 votes
1 answer
42 views

Why does package version creation care about installed packages in org in certain scenarios and not others?

Package A is installed in Devhub Some code is taken out of package A and a package B version is created from it (not installed) Newest package A version is made dependent on the same package B version ...
Strong Like Bull's user avatar
2 votes
0 answers
829 views

Cannot add component to another package because it is installed so how else to move metadata without data loss?

I am trying to take out 3rd party libraries from a large monolith package called package M. These libraries are FFLIB, ApexMocks, ForceDI, and At4DX. Package M also has some code that references these ...
Strong Like Bull's user avatar
3 votes
1 answer
190 views

How to move third party code (FFLIB) out of a unlocked package that has references to FFLIB?

I am trying to break up a large unlocked package (package A) by moving open source libraries to their own package (Package B). Package A has some custom code that references these libraries (FFLIB). ...
Strong Like Bull's user avatar
1 vote
0 answers
28 views

Salesforce DX - Getting compilation error for field already specified on "Parent" package

My team and I have been facing an issue when trying to version an unlocked DX package that we have just created. This package, includes only classes, lightning components, and apex pages. Let's call ...
Lucas Calegari's user avatar
1 vote
1 answer
419 views

Can I Install a Salesforce Package, that is dependent on another package, without installing the dependent Package?

I'm fairly new to Salesforce. I've created a package, say OMI. The Package OMI is dependent on the package LTI. For some reason, I can't install LTI (LTI is in development). Can I just install OMI ...
Hunain-Gillani's user avatar
0 votes
1 answer
369 views

Can we add lwc component's dependency on a custom object of 3rd party apps?

I am trying to make an lwc component for a specific 3rd party ( app exchange app ) so that they could easily add our components in their app from UI builder. For that I am using targets and ...
Ayyaz Zafar's user avatar
4 votes
0 answers
296 views

Salesforce DX: Unlocked Package: Specifying HEDA/EDA as a package dependency

I am trying to create a package version using Salesforce DX for a package that includes EDA 1.103 as a package dependency, but when I attempt to create a package version, I got the following error: ...
Omair Inam's user avatar
2 votes
2 answers
1k views

Why I am getting error while Promoting Second Generation Package with dependent packages?

UPDATE: Facing the same issue even without package dependency. I am trying to promote a Pkg2 with a dependent package Pkg1. Both packages are 2nd generation manage package in the same namespace. I am ...
Sushant Srivastava's user avatar
2 votes
1 answer
206 views

Can a 2GP managed package depend on a BETA release 1GP managed package?

We are creating a new "extension package" for our AppExchange 1GP that integrates it with a third-party managed package and want to use 2GP for this "extension package". The third-party is willing to ...
Phil W's user avatar
  • 33.4k
3 votes
2 answers
2k views

SOQL query of MetadataComponentDependency: "Dependency API is not enabled"

I'm trying out the Dependency API (Winter '20 beta release) to help me draw package boundaries. I ran a test query from the Dev Console using the Tooling API but immediately hit the error [object ...
Brent Bowers's user avatar
  • 3,064
5 votes
2 answers
374 views

Managed Package: How to get rid of dependency from Territory Management feature

SF is going to drop Territory Management (aka TM 1.0) in Summer 2020. So we are trying to migrate our managed package to Enterprise Territory Management (aka TM 2.0). As the first step of such ...
wesaw's user avatar
  • 2,980
4 votes
2 answers
2k views

Unlocked Package Dependency Missing Organization Feature Knowledge

Error when creating new version of unlocked package. An error occurred while trying to install a package dependency,ID 04XXX: Missing Organization Feature: Knowledge sfdx-project-json "...
ddeve's user avatar
  • 1,537
1 vote
0 answers
97 views

Any way to configure source code in a namespaced scratch org to have a package version number?

We have some dependent managed packages. In our build, in scratch orgs, we install a first managed package that a second managed package depends on but instead of installing the second managed package ...
Keith C's user avatar
  • 134k
4 votes
0 answers
22 views

Building a package leveraging Service Cloud without a hard dependency

We'd like to include some dependencies on Service Cloud into our managed package. The question is: if we do this can we have a hard dependency on Service Cloud? Can we use Service Cloud features ...
nchursin's user avatar
  • 991
3 votes
2 answers
282 views

Include HEDA/EDA as dependency for package using SFDX

I am trying to include HEDA as a dependency for a package that I am trying to create, but when I attempt to create a package version, I get the following error: ERROR running force:package:version:...
Aaron George's user avatar
2 votes
0 answers
40 views

Can metadata container contain AuraDefinitionBundle, Layout, FlexiPage, Object? [duplicate]

I want to build a package to find out metadata dependencies and determine which classes, triggers, pages, components, lightning components and applications, flexi pages, layouts, objects, custom ...
Patlatus's user avatar
  • 15.8k
1 vote
0 answers
356 views

Dependencies on a queue deletion. We plan on removing (50+ queues)

I need to delete a bunch of queues in the org (maybe be over a 50) that are no longer used. As I delete each of them I do see the dependencies.Is there a way I could see its references all in one ...
Starsandrobots's user avatar
1 vote
2 answers
723 views

Call a static method in managed package dynamically

I am preparing an un managed package. I need to call a static method in a managed package from the unmanaged package. I went through salesforce documentation on Type class. But I didnt find any way to ...
Surendranadh Nune's user avatar
2 votes
4 answers
239 views

How to get dependent classes for a trigger?

we are working on a migration from salesforce to salesforce. We have bought one new production instance. We want to migrate selected objects and their trigger and trigger dependent classes and the ...
Prasanth Srinivasan's user avatar
1 vote
2 answers
1k views

Remove managed package dependency

Good day Everyone. My question is a follow up question for my first problem which is already answered here. This is the link of my first question Use Object from another manage Package without making ...
Hope's user avatar
  • 1,243
5 votes
1 answer
365 views

Use Object from another manage Package without making my own package dependent to it

I have some problem with package dependency. This is the scenario. There is a package named as "Package B". In my class I want to check if "Package B" exist. If it exist, I will create new record on ...
Hope's user avatar
  • 1,243
5 votes
2 answers
435 views

Offline tool that can show dependencies between different metadata files

I was looking for a some kind of app (other than ant migration tool) that could analyze a code base pulled from a Salesforce org and show all dependencies between the files (for example – between apex ...
wintermute's user avatar
3 votes
0 answers
363 views

Removing Design Tokens Dependency in Package

I have a managed package that leverages design tokens in lightning components (and automatically pulls in our defaultTokens.tokens design token bundle as a dependency). I am trying to create an ...
Michael Welburn's user avatar
2 votes
2 answers
968 views

Missing uninstall link for managed package

I'm unable to uninstall a managed package from a customer org, and I suspect it is due to a dependency from some component, as explained in the Salesforce doc [edit] There is no Uninstall link next ...
Jelle van Geuns's user avatar
1 vote
1 answer
202 views

Package Installation - Omni Channel Optional Dependency

Let's say I've a managed/un-managed package to be installed in an Org. I want the Application to have an optional dependency on Omni-Channel feature. Right now, we have referred the omni channel ...
Vignesh Damodharan's user avatar
2 votes
2 answers
2k views

Is it possible to upgrade an unmanaged package by installing another unmanaged package?

I have an unmanaged package with some features for Opportunity. It includes classes, triggers and custom objects. I'd like to extend that features to Quote and Order. Is it possible to make extension ...
Fernando Gavinho's user avatar
1 vote
1 answer
188 views

Salesforce Territory and User Role

Can we use Salesforce Territory in our Managed Package which builded on force.com? We have two Supervisors A & B in the same territory, both A & B have two Sales Reps, Supervisor A has A-Rep1,...
BruceYue's user avatar
  • 433
1 vote
1 answer
379 views

Missing Organization Feature: Tagging

I faced with such kind of exception during our beta package installation: Missing Organization Feature: Tagging Looks like Tags are enabled in Setup -> Customize -> Tags -> Tags Settings What ...
Sergey Teplyakov's user avatar