SalesforceLabs / survey-force

85 stars 61 forks source link

Updating Unmanaged Package #65

Closed jarrods123 closed 4 years ago

jarrods123 commented 4 years ago

Hi,

To start out I'm not a developer, I'm wondering what your recommended method would be to update the unmanaged package other than the uninstall re-install method, as I have a number of things built into the environment that would not facilitate this. Additionally to the above query, how would you recommend promoting the package to a production environment?. I understand you have responded to a similar issue only a few days ago, however I'm hoping you can provide more of a method for the regression testing / pulling from github into a sandbox.

Thank you.

jrattanpal commented 4 years ago

Yes, while re-install method is the easiest for upgrading, you may end up loosing your configuration. Hence it may not be the best way forward in your situation.

Unfortunately, the only way is to get Github Content and move it your org. That process requires some type of knowledge for Git, Salesforce MDAPI etc.

There are also some tools which can help you take Github code and deploy to your sandbox. Here is an example:

You could test it with a test org first and then try to deploy it in your sandbox. But, you have to be careful if you have custom configurations, This will overwrite your code. In that case, we go back to having to do this manually and then merge changes.

Apologies, I don't have any tool or advise on how you can pull latest code without overwriting your customizations (at least not without manually doing it )

On Sun, Apr 5, 2020 at 8:39 PM jarrods123 notifications@github.com wrote:

Hi,

To start out I'm not a developer, I'm wondering what your recommended method would be to update the unmanaged package other than the uninstall re-install method, as I have a number of things built into the environment that would not facilitate this. Additionally to the above query, how would you recommend promoting the package to a production environment?. I understand you have responded to a similar issue only a few days ago, however I'm hoping you can provide more of a method for the regression testing / pulling from github into a sandbox.

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/survey-force/issues/65, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABV6HLBCG2SC2WLSVMDGXETRLEQFJANCNFSM4MBV52VA .

jarrods123 commented 4 years ago

Thank you very much for your reply

On Tue, 7 Apr 2020, 1:19 am jrattanpal, notifications@github.com wrote:

Yes, while re-install method is the easiest for upgrading, you may end up loosing your configuration. Hence it may not be the best way forward in your situation.

Unfortunately, the only way is to get Github Content and move it your org. That process requires some type of knowledge for Git, Salesforce MDAPI etc.

There are also some tools which can help you take Github code and deploy to your sandbox. Here is an example:

  • How to use the tool:

https://andyinthecloud.com/2013/09/24/deploy-direct-from-github-to-salesforce/

You could test it with a test org first and then try to deploy it in your sandbox. But, you have to be careful if you have custom configurations, This will overwrite your code. In that case, we go back to having to do this manually and then merge changes.

Apologies, I don't have any tool or advise on how you can pull latest code without overwriting your customizations (at least not without manually doing it )

On Sun, Apr 5, 2020 at 8:39 PM jarrods123 notifications@github.com wrote:

Hi,

To start out I'm not a developer, I'm wondering what your recommended method would be to update the unmanaged package other than the uninstall re-install method, as I have a number of things built into the environment that would not facilitate this. Additionally to the above query, how would you recommend promoting the package to a production environment?. I understand you have responded to a similar issue only a few days ago, however I'm hoping you can provide more of a method for the regression testing / pulling from github into a sandbox.

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/survey-force/issues/65, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABV6HLBCG2SC2WLSVMDGXETRLEQFJANCNFSM4MBV52VA

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SalesforceLabs/survey-force/issues/65#issuecomment-609859351, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOQL6TQVVX7QSLXUK5TDA73RLHXIZANCNFSM4MBV52VA .

-- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. You should not disseminate, distribute or copy this e-mail. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.