function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sabina Ismailova 1Sabina Ismailova 1 

How to package a connected app?

Hello everybody, help me please!
I finished developing integration "MyApp->Salesforce". I want to make my app global and put it on App Exchange. In the end I want to get something like that: https://appexchange.salesforce.com/listingDetail?listingId=a0N30000001rmjpEAA  - when somebody presses "Install" it redirects to my website.
I'm using .NET application with Oauth. I read that I need to create a package to make app global. So here I got my app:
User-added image
And I'm trying to make a package, but there's no my app in apps list. Also my package is not "managed" by default and I can't change check there.
User-added image
Help me please, maybe I'm missing something? I really don't get it.
 
SonamSonam (Salesforce Developers) 
Before you can have the ability to create a managed package, you need to define a namespace for the org and then you can edit your existing app and will see the managed checkbox which you can check to convert an unmanaged to a managed package.

To choose a namespace, read about:
https://help.salesforce.com/HTViewHelpDoc?id=register_namespace_prefix.htm&language=en_US
David Tissen 7David Tissen 7
Also with a managed package I'm unable to create a Package. Any Idea on this? Got the message when using SFDX: ERROR running force:package:version:create: XXX: Installing an app (XXX) that has been deleted.