1

I created in-app guidance in scratch org, pulled, and ran:

sfdx force:package:version:create --package "{packageName}" --definitionfile config/project-scratch-def.json --wait 10 --installationkeybypass

Am getting These entities are not supported: [Prompt]

Ideas?

1

1 Answer 1

1

This is currently not supported and a widely requested feature.

It is documented that it is not supported in 2GP managed packages as of now.

This has been raised internally and the teams are looking how to support it in the future.

For now you can package this separately as an unlocked package.

3
  • I would add to this that Managed Packages are most commonly used by partners to distribute an application. As far as I'm aware, it is against the partner TOS to distribute using unlocked packages.
    – Jeff Kranz
    Jun 9, 2022 at 16:47
  • On TOS yes thats something that one should work it out with respective AE or PAM or a TE. I see great chances of getting it exempted for one such scenarios like this where you just need to distribute something thats not package-able right now. I am not asking to put everything as unlocked package. Jun 9, 2022 at 16:54
  • 1
    Oh I thought it was blanket no-go for unlocked packages. If exceptions are possible I stand corrected, thank you!
    – Jeff Kranz
    Jun 9, 2022 at 17:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .