Skip to main content

All Questions

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

Errors "Not available for deploy for this organization" and "Invalid type: AgentWork" when try to create a unlocked package

I've recently started working with Salesforce. I've made an omni-channel application and would like to create an Unlocked package that would deploy my classes, lwc components, and omni configuration. ...
Daeron's user avatar
  • 1
1 vote
0 answers
206 views

Type cannot be serialized - Working in unmanaged code, failing in managed package

I'm working with the following JSON: { "compositeRequest" : [ { "url" : "/services/data/v58.0/sobjects/Case", "referenceId" : "Parent", &...
d_k's user avatar
  • 1,311
0 votes
1 answer
747 views

field names and namespace for unmanaged and managed package

Basically on my scratch org when I create a new field, this one comes prefixed with the namespace. When I do the same in a packaged environment, the new field is not prefixed. Why and how can I know ...
learner's user avatar
  • 75
0 votes
0 answers
1k views

"apexClass" is invalid. Provide the API name of an Apex class that includes an Apex data type supported in flows

We have created a unmanaged package to migrate to a new org. It builds the package successfully and it runs fine in the old org but when we go to install in the new org we get the following error: (...
zachary edgell's user avatar
0 votes
1 answer
210 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 ...
Nagendra Singh's user avatar
0 votes
3 answers
349 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 ...
Igor Vasylevskyi's user avatar
1 vote
3 answers
427 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 ...
Joe's user avatar
  • 11
0 votes
0 answers
164 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 ...
Goldberg's user avatar
17 votes
0 answers
2k views

Custom Labels in Packages - Potential BUG in Winter 19 (Confirmed as Known 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 ...
Uwe Heim's user avatar
  • 28.5k
2 votes
2 answers
751 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 ...
Nilesh Mangalhara's user avatar
1 vote
2 answers
827 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
0 votes
1 answer
1k views

Can a managed package be converted to unmanaged package? [closed]

Can a managed package be converted to unmanaged package by the vendor? If it is possible, how can it be done?
Jaguar's user avatar
  • 330
13 votes
2 answers
452 views

Salesforce Packaging Bug with Lightning Components? (Warning: very strange!)

Since years I'm using Metadata and Tooling Apex classes to connect with those APIs (based on Andrew Fawcetts work here https://github.com/afawcett/apex-toolingapi). Today I'm encountering a very ...
Uwe Heim's user avatar
  • 28.5k
2 votes
2 answers
344 views

how to debug Async callout failures

we have an unmanaged package that makes an API call out to eternal system.This callout triggers based on user actions like when user creates an opportunity; it runs asynchronously as a logged in user. ...
vraavi's user avatar
  • 335
0 votes
1 answer
269 views

Can't select fields from AgentWork using APEX code in managed package

I am trying to run APEX code from managed package to retrieve fields from AgentWork table. My statement is SELECT ActiveTime FROM AgentWork WHERE id = '0BzB000000098N4' I get back the following ...
Polina F.'s user avatar
  • 123
1 vote
1 answer
193 views

Approaches for Add-On Package on top of Main Managed Package?

Lets say I've a free app on AppExchange (ie managed package) which provides end to end functionality and works great for most customers. Now I'm planning to build add-on logic which will provide ...
Chirag Mehta's user avatar
  • 1,261
8 votes
2 answers
5k views

How to host an Unmanaged package on salesforce appexchange

Is it possible to publish unmanaged package for appexchange through developer edition. We can only publish managed app through salesforce partnes environments. How one should proceed to publish app,...
Ganesh's user avatar
  • 113
0 votes
2 answers
239 views

Migrate from dev org to partner editon [closed]

How to migrate the triggers and classes and components created in developer edition to the partner org so we can make it into to package. The objective is to make it into a unmanaged package..please ...
Ganesh's user avatar
  • 113
1 vote
1 answer
471 views

Need Help Optimizing SOQL Query For 100,000+-Record Table (old query, suddenly failing)

Although my org seems to have had over 100,000 Task records for quite some time (as of this morning, we're at 119,479), between a week ago and yesterday two of the test methods that come with an ...
k..'s user avatar
  • 1,257
1 vote
1 answer
1k views

Installation of unmanaged packages with ant?

As described here http://andyinthecloud.com/2013/06/23/look-ma-no-hands-automating-install-and-uninstall-of-packages/ managed packages can be installed via ant or the APEX wrapper. Is it possible to ...
Uwe Heim's user avatar
  • 28.5k
0 votes
2 answers
121 views

Change the Design Pattern of an Unmanaged Package

One of our client is using Appexchange app and would like to change the Design Pattern of the app which is unmanaged Package.Do we have an option to change the Design ,Functionalty etc.Any ...
nikkey's user avatar
  • 1,375