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
0answers
9 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
49 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
14 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
37 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
32 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
25 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
35 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
45 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
74 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
33 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
20 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
70 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
43 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
83 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
31 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
235 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
143 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
51 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
90 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
24 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
41 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
663 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
0answers
32 views

Installation of Package with Knowledge Articles Error

I received this error when I install my unmanaged package (Einstein BOT) to my trailhead org. (FAQ__kav.General) Lightning Knowledge is not enabled, or you are in the unsupported Migration Stage. ...
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
75 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
238 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 ...
4
votes
1answer
655 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 ...
1
vote
1answer
73 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
102 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 ...
0
votes
1answer
186 views

Problem when doing package:version:create comment SFDX

So to set up status! Package is unmanaged and has namespace which i reserved on dev org which i connected to my DevHub org. I did create package itself but when i try to create package version ...
2
votes
2answers
291 views

Error creating a package version

I get an error while trying to create a package version with this command sfdx force:package:version:create -p MySalesforcePackage -d force-app -k MyPassWord --wait 10 -v DevHub This is the arror. ...
0
votes
1answer
233 views

Visualforce page does not have valid controller for use with action

I am doing unmanaged package containing App within it.After I press upload button I get the below error as "Visualforce page does not have valid controller for use with action" Any help is ...
1
vote
0answers
132 views

SFDX Retrive package

I am trying to retrieve package with name containing spaces for example "Hello World", i have tried using single quotes as mentioned by salesforce sfdx force:mdapi:retrieve -u test -p 'Hello World' -s ...
0
votes
1answer
35 views

Facing issues while installing unmanaged package to other sandbox

I am trying to install Unmanaged package which include only some custom fields but during installation I am getting below error I do not include any of the field whose duplicay is shown here. It is ...
2
votes
0answers
69 views

Trialforce Template and unmanaged code/package

We are creating a Trialforce Template on Trialforce org and we would like to include below items in Trialforce Template. One managed package which passed security review One unmanaged package, which ...
2
votes
1answer
138 views

Fetch the missing package.xml in an open source unmanaged package

I found this open source repo, and want to fork from it for own usage. Then I realize that the package.xml is not present in the repo. It is excluded by .gitignore for whatever reason. I perceive ...
3
votes
1answer
537 views

Unlocked package component overridden metadata components in the org

I created the Unlocked package (no namespace) with the common/dependency components like Account, Contact fields, and Custom labels which have been on Packaging org already, but I forgot and included ...
1
vote
0answers
165 views

Custom Tab not Visible after deploying Un-Managed Package to different environment

I have custom tabs and I have created Un-Managed Package and deployed it on new environment. But custom tabs are not visible on new environment. Profile level visibility is set to Default On and ...
16
votes
0answers
574 views

Custom Labels in Packages - Potential BUG in Winter 19 (Confirmed as Know Issue by Salesforce)

We have an unmanaged package using 167 custom labels to use the Translation Workbench in Salesforce and to be able to translate texts into different languages. Until now, all our custom labels have ...
1
vote
1answer
168 views

How to clone unmanaged package

I have an unmanaged package that has a dependecy on a third party managed package. I want to use this unmanaged package to create a new org to do some work. However, the new instance doesn't have this ...
0
votes
1answer
177 views

How do I keep Product namespace in DX Org after migrating from DE?

In our managed package we have 'XYZ' namespace in most of our product sourcecode. When we try to get this to DX, as per their guide here we must create an unmanaged package. Salesforce doesn't allow ...
4
votes
1answer
665 views

Pushing to Scratch Org - Converting existing org to dx

I'm currently attempting to migrate my existing production org to Salesforce DX. My production org has several managed packages that appear to be causing errors upon deploy to the scratch org. One ...
4
votes
1answer
343 views

Are custom labels referenced only in Lightning Components automatically packaged?

This (not marked as delivered) idea Custom Label Auto Packaging in Lightning Components has a "Latest Comment from Salesforce" of: Farhan Tahir - 5 months ago This is coming in Spring'18!! ...
0
votes
1answer
61 views

Once a package is deployed, are the components immediately visible?

I created a VF page, packed it and deployed to a staging org. I am not able to see my VF page in the staging org. Is this supposed to be this way or I should usually be able to see it immediately? I ...
0
votes
2answers
54 views

Creating a Package - VisualForce page is missing

I created a new VisualForce page - an exact copy of the last one I developed, but with a different name and the same controller code, but with a different name. So, now I want to create a new package (...
0
votes
1answer
621 views

How to install Unmanaged Package from URL

I created my own Unmanaged Package on a test sandbox. I would like to install the package on another sandbox now, but I am not able to see where to do this from. I have produced the Installation URL. ...
2
votes
2answers
326 views

Can we find dependent components using apex?

When we create unmanaged packages, if we add a Lightning app in the component list, Salesforce automatically adds all the related components - Apex classes, Objects, Fields, Custom settings, etc. in ...
3
votes
1answer
47 views

Unmanaged package postinstaller not running

I wrote a post-installer which is aimming to deploy some DB records once users install our unmanaged pkg. The data is not deployed to the database as expect. However, we can execute the method ...
1
vote
2answers
293 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 ...