Questions tagged [unmanaged-package]

Unmanaged packages are typically used to distribute open-source projects or application templates to provide developers with the basic building blocks for an application

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

How to write test class for metadata which is dependent on post deployment steps?

We have a functionality in our managed package which is dependent on Knowledge__kav. So we have an object Test which has a lookup on Knowledge object. And a custom permission CS1 which is given to ...
0
votes
0answers
14 views

change the value of record after installation of unlocked package

I am having one Custom metadata named Application_Configuration__mdt which is having a custom field as like below <CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> <...
0
votes
1answer
21 views

Load data into object after Unlocked package

I want to load some data into an object after a package gets installed. I tried using a post-install script but seems these only work for Second-Generation Managed packages and not for Unlocked ...
1
vote
1answer
24 views

How to deliver a managed package with custom development?

A customer wants to install our managed package on its org and needs custom development that will impacts our package core components: Somes Classes + Custom metadata types. Custom metadata types are ...
0
votes
3answers
23 views

Can't upload unmanaged package

I created unmanaged package and when upload it I receive the following error: "Dependent class is invalid and needs recompilation: Class PageMessageComponentController Method does not exist or ...
2
votes
0answers
21 views

Error creating a package version with Opportunity Teams

I'm trying to package an unmanaged package using opportunity teams, but each time I get the following error: ERROR running force:package:version:create: Invalid type: OpportunityTeamMember I tried ...
1
vote
2answers
51 views

Error: Reached maximum number of custom fields - When versioning DX package

We have included [AddCustomRelationships:10] to the scratch org definition file, however, the package versioning still fails with the following error: "reached maximum number of custom fields: ...
0
votes
1answer
28 views

Clarifications on salesforce 2g packages [closed]

I am working on 2g package generation and these are few questions troubling me : Is it mandatory to keep metadata in namespace org to create 2g package version. What if namespace org is empty and all ...
0
votes
1answer
38 views

Lightning Open CTI Demo Adapter - Partner Developer Edition

I have installed in a partner dev. edition the Open CTI (This org has namespace) the Open CTI package. I have made the configuration and added in the CTI Adapter URL the link: https://MYDOMAIN-dev-ed....
0
votes
0answers
16 views

Add new custom object to existing profile by metadata api

I have a few new custom objects in my unmanaged package and i want to give permissions to existing profiles in the target org. How can i do that? What i tried is the following xml file in my package: &...
0
votes
1answer
18 views

Where can I find a named report?

I have the following XML from a layout file: <layoutItems> <reportChartComponent> <cacheData>true</cacheData> <contextFilterableField>ACCOUNT_ID</...
0
votes
1answer
45 views

Unmanaged package missing standard field picklist while packaging

While creating a unmanaged package from sandbox, some custom stuffs are not deployed. a) Its missing order status custom picklist values. b) Custom Action link and buttons are not set by default to ...
1
vote
1answer
28 views

Optionally create new items in unmanaged package

I'm trying to create an unmanaged package that makes some modifications to Lead Layout, but it still includes "LogACall" and other actions that are standard in many orgs. I would like ...
1
vote
1answer
71 views

While using sfdx force:package:version:create -codecoverage get erro: No such column 'SourceOrg' on sobject of type Package2VersionCreateRequest

so for background. We are working for client with SFDX and packaged. We have build 3 packages trough last 2 years. Everything worked fine until today. We have huge development for last 4 months and ...
0
votes
0answers
43 views

How to use Open CTI Lightning Demo Adapter package to integrate third party API?

We want to third party integration using open CTI Lightning Demo Adapter package. We want to implement service for one company which provide call center service them customer. We installed Open CTI ...
1
vote
1answer
69 views

When is it correct to use a <fullName> tag in a package.xml? What is the benefit of 'naming' an unmanaged package?

I am working on a project that involves deploying a sequence of Managed Packages and unmanaged packages (using an ant deployment). As I was onboarded to the project, I noticed the unmanaged package....
0
votes
1answer
21 views

How do I see number of downloads of my unmanaged package?

We supply an unmanaged package of reports and dashboards to our customers, is there somewhere I can see total number of downloads?
0
votes
1answer
122 views

Copy all Metadata from Sandbox to Production [duplicate]

How do you transfer all setting & metadata (not data) from a sandbox to production? I have just joined a project which has been tested and approved by the client. My first job is to move ...
1
vote
1answer
85 views

Possible to unlink source from an unmanaged package?

TLDR; Essentially I want to uninstall the unmanaged package but keep all the contents. Here is the interesting scenario. ORG_B was created as a spinoff of ORG_A. This was done with an unmanaged ...
2
votes
1answer
72 views

Unmanaged package: publishing a new package version vs a new package

At my company we have published an unmanaged Salesforce package consisting of a number of Apex classes, Apex triggers, custom objects, and additional custom fields added to the Contact object. This ...
1
vote
1answer
31 views

Cannot see Lightning Web Component in custom section of Page Edit

After following Trailhead instructions, I have been able to install an unmanaged package into Trailhead Playground and confirm that I can add a Lightning Web Component to a page (namely the ...
0
votes
0answers
10 views

Metadata API - Determine package type on a given namespace

I have a requirement to classify the metadata components retrieved through Metadata API. The listMetadata() call returns the file properties with the namespace property. Is there a way to link this ...
1
vote
3answers
114 views

Can't add Campaign Influence Apex Trigger to packages?

I'm trying to create an unlocked package that uses an Apex trigger to create campaign influence records for a custom campaign influence model. I keep running into errors that seem to be caused by the ...
0
votes
0answers
121 views

How to make Managed package with Einstein Analytics Assets(Dataflow, Dashboard)?

I have salesforce (Custom Objects, LWC,Apex) and Einstein Analytics components(Dataflow,Dashboard,App) in my Dev Org. How to make the managed package so that the outcome of installing this package ...
1
vote
1answer
261 views

SFDX Test Cases Failing only on Package Version Create

EDIT: If you are using a CI flow, ensure that it isn't creating profiles for you when running test cases. That was the main issue for me when using cumulusci. I am trying to deploy a package version ...
0
votes
0answers
47 views

How to scan the unmanaged package in salesforce using OWASP ZAP Tool?

How to scan the unmanaged package in salesforce using OWASP ZAP Tool. I am new to use Zap tool. I created a unmanaged package with Lightning web components and i am having installed package url. I ...
2
votes
1answer
28 views

SF DX: create data when creating a package

While creating package version, I have a process that is causing the package build to fail because it references a message template record that is missing in the scratch org that is being built as ...
1
vote
1answer
111 views

Unmanaged Packages

I have an assignment to check pros & cons of managed and unmanaged packages. It's the first time i get into this part. I investigated pros & cons and in my dev org i created an unmanaged ...
1
vote
0answers
87 views

Salesforce package upload failure “A change was made to the package after the upload was initiated. Upload the package again.”

I created a package with a couple of flows and process builders. But when I try to upload it is failed. The email alert states: A change was made to the package after the upload was initiated. ...
2
votes
0answers
195 views

Unlocked Package - Modify Custom Metadata Type in Subscriber Org

I created an Unlocked Package that contains a Custom Metadata Type (CMT). When I install this package inside an org, I would like to give access to admins to edit this deployed CMT (e.g. - create a ...
0
votes
2answers
73 views

Cascade Delete on Lookup in Unmanaged Package

Salesforce has the option to enable cascade deletion for lookup relationships. Thus, if you delete the parent in the lookup, the child will also be deleted. However, this option must be enabled on a ...
2
votes
1answer
47 views

How to extract component from the Package (un-managed)

I'm trying to pull the components (fields/objects....) from the un-managed package but I could not find any way using APIs or APEX is that even possible ? Here is the example:
-2
votes
2answers
78 views

Cannot invoke LWC from Apex class [closed]

I'm using a scratch org and developing lwc. LWC code : import createTransaction from '@salesforce/apex/MyClass.test'; onButtonClick() { const msg = { message: '...
1
vote
0answers
77 views

Unlocked Package Custom Metadata SubscriberControlled not working

I have an unlocked package that uses custom metadata to store settings (Shipment_Setting__mdt). XML of the Shipment_Setting__mdt <?xml version="1.0" encoding="UTF-8"?> <CustomObject xmlns="...
0
votes
1answer
214 views

How to create manage package using developer edition with Dev Hub enabled

I have already enabled my Dev Hub on my developer edition and using this environment to create scratch orgs with Visual Code. Now we want to create a managed packaged from this developer edition but ...
2
votes
0answers
51 views

DLRS unmanaged Installation

I want to install the unmanaged dlrs package I only saw the managed link and on the github a suggestion to use convert and deploy. can you please direct me how?
0
votes
1answer
719 views

Error on Package Installation - In field: object - no CustomObject named WorkFeedbackRequest > found

I have built an unmanaged package and was able to deploy it to several orgs. Unfortunately at the current Service Cloud org I get the following error: In field: object - no CustomObject named ...
2
votes
0answers
294 views

SFDX Package lookup filter deployment issue

I am trying to create an unmanaged package which has one custom object with lookup filter on a master detail field. <fullName>Contact__c</fullName> <externalId>false</externalId&...
0
votes
1answer
268 views

Download unmanaged-package to local pc

I got an unmanaged-package installed in my org, I wish to export the package to my other org, how can I download the package or export it to other org?
-2
votes
1answer
28 views

error 'The ObjectType references '01I2v000002sQO8', which doesn't exist as an object in the organization.'

I created an Unmanaged package and uploaded. but while installing got this error 'The ObjectType references '01I2v000002sQO8', which doesn't exist as an object in the organization.'
1
vote
1answer
251 views

How to include custom field in a standard object using package manager?

I am trying to turn an app into an unmanaged package using the package manager's wizard in setup. The app has some custom fields within standard objects that I am trying to include in the unmanaged ...
0
votes
1answer
33 views

Unmanged package: issue with existing field reference

I created an unmanaged package that includes a reference to a field that already exists in the target org. I tried to get around this problem by selecting the "Rename" option in the install page, but ...
0
votes
2answers
51 views

how to extract a single app from an org into its own package

Goal: Our Org has multiple apps that I would like to extract each app into its own individual package. The goal is to retrieve this package to push to a scratch org and then make it an unlocked ...
0
votes
1answer
2k views

When Lightning Knowledge is enabled, you can’t add an article type

I am trying to package the Einstein Bot where FAQ__kav is referenced by apex classes. When I try to install the package to other org, it says that there are problems that prevent this package from ...
0
votes
1answer
23 views

Package a list of packages is it possible? [closed]

Hi so apparently I have made some progress on the org and packaged the features . Assuming that I have features : foo and bar. and packages : foo-package and bar-package can i package both of them to ...
0
votes
1answer
136 views

Unmanaged package error

I have created a lightning component and want to create a package for that i wrote a test class for apex class coverage too which is showing 100% code coverage but when iam trying to upload the aura ...
1
vote
1answer
393 views

Is there a test coverage requirement for 2GP Unlocked package?

From here we learn of the 75% coverage requirement for any package that is to be published on App Exchange In addition, before you deploy Apex or package it for the AppExchange, the following ...
5
votes
1answer
1k views

Cannot add component to another package because it is an installed component

I have two unlocked packages. One package defines a number of custom fields on the Opportunity object and the other defines page layouts and other configurations the Opportunity. I receive the ...
2
votes
1answer
111 views

Referring Managed Packages in Unmanaged package

I have one AppExchange package, which is installed by various clients (for e.g. 100 customers). One of these customers has a specific requirement and to complete that I need to create an unmanaged ...
0
votes
1answer
197 views

How to delete unmanaged package along with all components from an org

We have an unmanaged package on an org with thousands of components in this package. And package has not been released yet. Now we'd like to do some clean up and remove this package along with all ...