Skip to main content

Questions tagged [managed-package]

A managed package is a fully-upgradeable container used to distribute everything from an individual component to a set of related apps.

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

ISV Subscriber Org Login logs still obfuscated

Sometimes when I log in to subscriber orgs from the Licence Management App, I do not get the full unobfuscated logs. Is there anything I need to do further to enable them? This is an example of the ...
fred's user avatar
  • 3,420
0 votes
0 answers
22 views

Releasing Version 2.2 with False Positive FLS Violations – Avoiding Security Review

Hello Salesforce Community, We have a scenario related to our app’s release cycle on AppExchange, and I need some guidance to handle the situation efficiently. Background: We have already released two ...
Pavan's user avatar
  • 5
-1 votes
0 answers
19 views

Install managed package via connected app API

New to salesforce, so might miss some details, but I'm trying to make it easy for our users on our website to simply connect salesforce to our website via some oauth flow and make it so, that actions ...
Giorgi Tsirekidze's user avatar
0 votes
1 answer
27 views

Connected Apps and Managed package and Tokens

Let me explain what I am trying to build. I am developing an LWC component that displays data from a custom object stored in another Salesforce org. To ensure that the target org is connected, users ...
nica's user avatar
  • 1,430
0 votes
0 answers
32 views

AuraException when running test code for 2gp managed package version create

I was created a unlocked package successfully, and I tried create a managed package with same codeset. But when I try to create package version for 2gp managed package, apex test failed with ...
MinGyoon Woo's user avatar
-1 votes
0 answers
29 views

How to mock managed package apex class into from custom apex class

Whenever record created or updated im calling future class which calling managed package class which is calling api to update record in salesforce. when i write test class its failing due to ...
Afrose ahamed's user avatar
1 vote
0 answers
26 views

How to manipulate release version while creating a new package version?

We are creating a new package version. Package details is as follows. Note that "Release version" is "61.0" Name Value ─────────────────────...
dev4life's user avatar
  • 582
0 votes
0 answers
38 views

Global value set 'BuyerAttributes' in record type on the entity 'Contact' cannot be resolved

We just packaged a new version of our solution. We attempted to install it in a developer org. Here is the error we are getting: Global value set 'BuyerAttributes' in record type 'Broker' on the ...
dev4life's user avatar
  • 582
0 votes
0 answers
24 views

Second Generation Package Test Failures - "Inaccessible Fields" Even When Granting Permission Set

We're attempting to build a second-generation package but are encountering numerous permission-based errors: Our package includes a permission set, granting administrator-level access to all fields/...
Isaac L's user avatar
  • 174
2 votes
1 answer
44 views

Limiting Custom Component Access in Managed Package

I have a managed package that I have gone through the process to create Permission Sets and associate Custom Permissions to those Permission Sets. After much struggle I found that all of the ...
bswartz's user avatar
  • 49
3 votes
0 answers
35 views

Managed package -- error in field names in decisions due to namespace prefix

I run into a problem after deploying a package with a namespace. Found an error in a decision within a record-triggered flow. The field "BC_Poder__c" should have received the namespace ...
Bernardo Lira's user avatar
0 votes
0 answers
37 views

Debugging Apex code in managed package

We are working on creating a 2GP managed package, and this would be used internally for some of our clients. So we won't be listing this on Appexchange. Now we have created a private custom setting ...
nica's user avatar
  • 1,430
0 votes
1 answer
35 views

Restricting Visibility of Component Using Custom Permission Not Working

I am trying to restrict the visibility of a managed package component that is deployed as a tab on an Account record. I have created the permission set and included a custom permission in that ...
bswartz's user avatar
  • 49
0 votes
0 answers
22 views

Stuck trying to install self made managed package after successfully creating it

I've successfully created a managed package: Name Value ───────────────────────────── ────────────...
Bernardo Lira's user avatar
0 votes
1 answer
13 views

Error while creating managed package -- entities not compatible

I'm creating a managed package and when creating the package I get this error: Warning: (1) Estas entidades no son compatibles: [Role, Group] Translation: these entities are not compatible: [Role, ...
Bernardo Lira's user avatar
0 votes
0 answers
13 views

Editing Managed Package new Named Credential (not legacy) URL in subscriber org

I'm looking to add a new Named Credential (not legacy) to my managed package. There's a similar question here, but that's in relation to legacy named credentials. Looking at the documentation, it ...
Nick C's user avatar
  • 7,005
1 vote
0 answers
31 views

Custom labels not working in LWC for managed packages

I create managed packages of the first and second generations. Some LWC require translations and I use Custom Labels to achieve that: import myLabel from "@salesforce/label/c.myLabel"; And ...
John John's user avatar
1 vote
2 answers
24 views

Deleted components still showing up when trying to uninstall package

I'm trying to uninstall a managed package, but in the list of problems with uninstall I get these few items that I've already deleted but are still showing up as a problem. When I click the links it ...
Ryan Neel's user avatar
2 votes
1 answer
27 views

Need to add translations to a second-generation managed package

I'm working on a second-generation managed package where some LWC need to be translated into German. The translations are done using Custom Labels. I added labels and translations folders into the ...
John John's user avatar
0 votes
1 answer
52 views

Is populating external credentials from VF using connectAPI safe from security review?

I'm packaging the permissions, principals, namedcredentials and externalcredentials with the managed 2gp However I'm not packaging the external credential principal secret i.e. APIKey for the callout ...
ApexSam's user avatar
  • 29
1 vote
1 answer
32 views

External Credential Principal Access is not included in managed package permission set metadata

We have a managed package that includes one permission set. We have used the Salesforce Setup UI to include in the permission set an External Credential Principal Access assignment. However, this is ...
dev4life's user avatar
  • 582
-1 votes
1 answer
42 views

uninstall unmanaged package considerations

My understanding is that when uninstalling a managed package, that will basically remove everything, but this is not the case with unmanaged packages. Salesforce does not seem to have documentation ...
zargosh's user avatar
2 votes
0 answers
44 views

Managed 2GP ExternalService NamedCredential callout using OAuth JWT bearer flow

I have a managed 2GP that I want to publish on AppExchange This package uses triggers to make external service callouts (ex. https://example.com/api/v1/sfdata) I want the callouts to be authenticated ...
ApexSam's user avatar
  • 29
1 vote
1 answer
20 views

If managed package retires, can they "pull" the managed objects or other managed elements?

If a vendor stops managing a package, it was my understanding that the objects remained in the installed org unaffected (without future updates etc). But can the vendor somehow remove/disable the ...
Blue iris's user avatar
0 votes
0 answers
18 views

Deploying prefixed metadata with DevOps Center/CLI: "Only components in the same namespace as the organization can be created through the API"

I'm trying to wrap my head around how metadata-driven deployments (e.g. through DevOps Center or the sf CLI) can coexist with metadata created by managed packages. For example, our org installed the ...
Stephen Funk's user avatar
2 votes
1 answer
33 views

Encryption via managed package

In my current project we are trying to redirect a logged in user from a webpage to a salesforce community page with guest user access. We want the community page to recognize the user and so we are ...
Dane's user avatar
  • 167
0 votes
0 answers
39 views

Deactivate Duplicate Rules in 2GP Package Version Creation

We are having trouble creating a 2GP package version with code coverage. The unit tests in our package rely on standard Duplicate Rules being deactivated. For context, in our current CI Build, we ...
Patrick Speranza's user avatar
0 votes
1 answer
34 views

Salesforce Managed 2GP Setup for NamedCredentials with External Credentials

Objective: Create Salesforce Apex package to be distributed, as an integration with a third party service Development Details: API v61 (Summer 24), SF CLI Development Steps: Following the workflow ...
ApexSam's user avatar
  • 29
0 votes
1 answer
33 views

How to setup multiple packeges for AppExhange listing?

We have a appexchange listing built on 2gp, we are planning to release a new feature as an upgrade to the existing package. But we wish to charge additional amount for it. Is it possible to have that ...
Ragul's user avatar
  • 541
0 votes
0 answers
26 views

Deploying CRM Analytics App & it's associated Template metadata make Source App N/A in Template

I'm trying to set up a CI/CD pipeline with multiple orgs for developing an CRM Analytics App & Template. So my flow is to build an App & some Dashboards in Dev 1 org, and then using the App ...
VarunC's user avatar
  • 6,010
0 votes
1 answer
54 views

How to resolve Stored XSS and reflected XSS in visualforce page?

We are having trouble locating the problem that the Checkmarx tool reported. We have sanitized the variables in Visualforce pages using JSENCODE, HTMLENCODE, URLENCODE. We have added the escapeHTML4() ...
Mohammad Afzal's user avatar
0 votes
1 answer
24 views

Refer static resource in css of lightning component in Managed Packages

I have a CSS with a class like this: .c-rating__item { -webkit-box-flex: 0; -webkit-flex: 0 0 24px; -ms-flex: 0 0 24px; flex: 0 0 24px; height: 24px; background: ...
Fran Mejias's user avatar
0 votes
0 answers
32 views

Access installed managed package version from external system

I have a managed package which orgs can install. The creates some custom objects in which I sync some data from an external system (I have done OAuth integration using which I create/update my custom ...
Mohit Sharma's user avatar
0 votes
0 answers
32 views

Salesforce functions replacement for appexchange packages?

Has anyone building appexchange packages (esp. for regulated industries) used Salesforce functions and what are they migrating to with the EOL imminent? I have an appexchange package where functions ...
Greg Grinberg's user avatar
0 votes
0 answers
45 views

Stripe Embedded Form functionality in Salesforce LWC

We have developed an app that basically helps in accepting payments from Stripe. We have used Embedded Form in it where we have to pass this stripe's js cdn to use Stripe method pass public key & ...
Atlas Jay's user avatar
2 votes
1 answer
78 views

How Reference A Global Inner Class From a Managed Package?

I have the following class structure in a managed package - global class outerA { global class innerB { } } How would I reference innerB in a different package? I would have thought it ...
Tom Ansley's user avatar
0 votes
2 answers
35 views

How to handle setup and nonsetup objects record creation on postinstall script

In managed package we need to install some records on custome objects also when installing we need to add assign permission set to all users, if we do setup and non-setup object creation on same class ...
Afrose ahamed's user avatar
0 votes
0 answers
45 views

What makes the "CRM Analytics Dashboard" LWC component available in an org so that a managed package referencing that component will install?

This is a re-ask of this question How to enabled CRM Analytics Dashboard Component in App Builder? that has no definitive answer. I have built an embedded CRM Analytics app (one that does not require ...
Keith C's user avatar
  • 137k
0 votes
1 answer
38 views

Will Lightning Web Components get my managed package prefix?

I am wondering if lwc gets a managed package prefix. If the prefix is "ABC", will the component look like ABC__myComponent.js, etc. in VS Code or on an org or will it stay on the default ...
Kacper Walat's user avatar
0 votes
0 answers
35 views

Can we put external credentials in a managed package? [duplicate]

I need to put a named credential and external credential in my managed package that I create. Furthermore, if not possible like this is it possible to create via the postInstall script??
Pogger Cheems's user avatar
0 votes
1 answer
47 views

is that possible to check current managed package version name on post install script

When upgrading managed package, i need to check current pacakage version name contains BPM then i need to remove picklist values using post install script. how to check current pacakage version name? ...
Afrose ahamed's user avatar
1 vote
1 answer
65 views

Problem with namespace referencing in LWC in package deployment

We are trying to deploy our package, but a weird error is thrown: The thing is, in that LWC, we are in fact NOT adding the namespace when importing those fields: import PRODUCTO_FIELD from '@...
joacoiudica's user avatar
3 votes
1 answer
92 views

CRM Analytics (AKA Wave, Einstein) packaging questions

This is a question on CRM Analytics that run directly in the Salesforce org. I have a simple dashboard referencing Salesforce Objects directly (no datasets or lenses involved). Looking at the metadata ...
Keith C's user avatar
  • 137k
1 vote
0 answers
44 views

2GP dependent package creation fails with dependency error [duplicate]

We have a 2GP devhub in which we are trying to create packages. Our main package has a released version, and this main package is a dependency for our other package in the same namespace. { "...
Dorgaldir's user avatar
1 vote
1 answer
23 views

Clarification on Editable Properties and Package Upgrade Behavior

I have a question regarding editable properties after package promotion or installation, specifically for scenarios where both the subscriber and the package developer can edit component properties. ...
vctqs1's user avatar
  • 105
0 votes
1 answer
61 views

Getting error "Unable to parse package2-descriptor.json: invalid attribute 'subscriberPackageId" using "release":"previous" in current preview window

I'm encountering an error today (2024-06-10) that I think I need Salesforce's assistance with. I am trying to create a new beta package using sf-cli 2gp package creation. Today when I create a package,...
Vincent Ip's user avatar
0 votes
0 answers
82 views

Cross Object Field on FlexiPage in 2GP Package Issue

Trying to version/validate a package and continually running into issues surrounding cross object fields on a flexipage. Something went wrong. We couldn't retrieve or load the information on the field:...
bblackinton's user avatar
0 votes
0 answers
74 views

Creating manage package Development org from Environment Hub

I am trying to create a Development org from a PBO org which has same namespace as packaging org. When I create a new dev org from the Environment Hub, the org created doesn't have the managed package ...
Manjot Singh's user avatar
  • 3,556
0 votes
0 answers
63 views

How to grant access to a flow in a Managed Package

I'm developing a managed package and delivered a screen flow. I installed the package in a testing org and want to grant access to the flow. When I view the flow in the list and hit the dropdown ...
Ken's user avatar
  • 488
0 votes
0 answers
50 views

How to create 2GP package when using JWT Bearer Type External Credentials

I am trying to create a 2GP managed package that includes named credentials / external credentials. The issue I'm having is related to the Authentication Flow Type of my external credential being 'JWT ...
Daniel Collier's user avatar

1
2 3 4 5
47