php - How to make an appexchange package that includes the key? -
i implementing salesforce in 3rd party app in cakephp. consumer key in 1 org created , not working in other org. how make appexchange package includes key can install package in other orgs. thanks
you need create whats called managed package, , add token/remote access settings package. create managed package, have turn on managed namespace in developer org, reason, in new/separate developer edition account.
- sign new developer edition account.
- login new account
- goto setup / app setup / create / packages, click edit on developer settings section.
- follow instructions give org namespace prefix.
- from package page again, in packages section click new , fill out form, remember check managed option.
- from package detail page, click new in remote access related list.
- fill in form , click save, new client id & secret generated.
- you can publish package remote access settings in it, you'll need add else (perhaps document describes app example)
- use add components add doc, or other item(s) package.
- click upload button , follow instructions make package available other orgs.
- when package available, you'll email (normally 5-10 minutes) contains installation link.
now you've created , published package contains tokens, using installation url, can install package in other orgs.
- click or paste installation url new browser window/tab.
- login target orgs credentials
- from package installation page, click continue , walk through install wizard.
- all done!
users in target org should able login oauth info.
Comments
Post a Comment