Difference between revisions of "PT News v1.2 Upgrade"

From ADF Docs
Jump to: navigation, search
(Created page with "Back to PT News NOTE: v1.1 of this application is compatible with both '''ADF 1.8.x''' and '''ADF 2.0'''. == Overview == This guide is to upgrade the PT News v1...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Back to [[PT_News|PT News]]
 
Back to [[PT_News|PT News]]
  
  NOTE: v1.1 of this application is compatible with both '''ADF 1.8.x''' and '''ADF 2.0'''.
+
  NOTE: Version 1.2 is compatible with the ADF 2.x or greater and CommonSpot 10.x or greater. However, using at least ADF 2.4.1 is highly recommended.
  
 
== Overview ==
 
== Overview ==
This guide is to upgrade the PT News v1.1 from v1.0.  
+
This guide is to upgrade the PT News v1.2 from v1.1.  
 +
 
 
<!-- If you are updating from a version earlier than v1.1, please follow the [[PT_News_v1.1_Upgrade|Version 1.1 Upgrade Guide]] before upgrading to v1.2. -->
 
<!-- If you are updating from a version earlier than v1.1, please follow the [[PT_News_v1.1_Upgrade|Version 1.1 Upgrade Guide]] before upgrading to v1.2. -->
 
 
<!-- == Custom Element Updates == -->
 
<!-- == Custom Element Updates == -->
 
<!-- === Element Name  === -->
 
<!-- === Element Name  === -->
Line 21: Line 21:
  
 
== Application Code ==
 
== Application Code ==
# Rename directory "/ADF/apps/pt_news" to "/ADF/apps/pt_news_v1.0".
+
# Rename directory "/ADF/apps/pt_news" to "/ADF/apps/pt_news_v1.1".
# Rename file "/ADF/apps/pt_news_v1.0/appBeanConfig.cfm" to "/ADF/apps/pt_news_v1.0/appBeanConfig.cfm.old".
+
# Rename file "/ADF/apps/pt_news_v1.1/appBeanConfig.cfm" to "/ADF/apps/pt_news_v1.1/appBeanConfig.cfm.old".
# Move the PT News v1.1 and into the "/ADF/apps/pt_news/" directory.
+
# Move the PT News v1.2 and into the "/ADF/apps/pt_news/" directory.
 
# Reset the ADF
 
# Reset the ADF
  

Latest revision as of 18:27, 23 January 2020

Back to PT News

NOTE: Version 1.2 is compatible with the ADF 2.x or greater and CommonSpot 10.x or greater. However, using at least ADF 2.4.1 is highly recommended.

Overview

This guide is to upgrade the PT News v1.2 from v1.1.


ADF Application Code Review

This is only for reviewing the code that is in the "/ADF/apps/" directory, not at the site level.

  1. Download the application from the Community project page.
  2. Unzip the application zip folder.
  3. Analyze the updated app code compared to the current app code on your server.
    1. Identify any customizations that you have made to the application code to make sure these are not overwritten by the app update.
    2. A great tool to use is Beyond Compare to compare the new and current file to identify the exact lines of code that have been changed.
  4. Once this is complete, then move your app customizations into the new app code package.

Application Code

  1. Rename directory "/ADF/apps/pt_news" to "/ADF/apps/pt_news_v1.1".
  2. Rename file "/ADF/apps/pt_news_v1.1/appBeanConfig.cfm" to "/ADF/apps/pt_news_v1.1/appBeanConfig.cfm.old".
  3. Move the PT News v1.2 and into the "/ADF/apps/pt_news/" directory.
  4. Reset the ADF

Site Level Customizations Review

This is only for reviewing the site level customizations in the "/_cs_apps/pt_news/" directory, not in the ADF directory.

  1. Analyze the updated app code compared to the app customization code on your server.
    1. Identify any customizations that you have made to the application code to make sure these are updated with any functionality.
    2. Again, Beyond Compare is a good tool to compare the new and current file to identify the exact lines of code that have been changed.
    3. This is important for components that have customized functions to the site level "/_cs_apps/". The best practice is to identify the function that have been customized and compare with the new app function to identify any updates. A good help is to check the function comment header to see if any updates have been made.
  2. Once completed, Reset the ADF.

Reset the ADF

Reset the ADF for the server and site.