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.

  1. sign new developer edition account.
  2. login new account
  3. goto setup / app setup / create / packages, click edit on developer settings section.
  4. follow instructions give org namespace prefix.
  5. from package page again, in packages section click new , fill out form, remember check managed option.
  6. from package detail page, click new in remote access related list.
  7. fill in form , click save, new client id & secret generated.
  8. you can publish package remote access settings in it, you'll need add else (perhaps document describes app example)
  9. use add components add doc, or other item(s) package.
  10. click upload button , follow instructions make package available other orgs.
  11. 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.

  1. click or paste installation url new browser window/tab.
  2. login target orgs credentials
  3. from package installation page, click continue , walk through install wizard.
  4. all done!

users in target org should able login oauth info.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -