Difference between revisions of "PT Social Media Version 3.3 Upgrade"

From ADF Docs
Jump to: navigation, search
(SocialMedia Filtering Custom Element)
(Update the SocialMedia Filtering Custom Element)
 
(6 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
## This is important for components that have customized functions to the site level "/_cs_apps/".  The best practice is to identify the functions that have been customized and compare them 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.
 
## This is important for components that have customized functions to the site level "/_cs_apps/".  The best practice is to identify the functions that have been customized and compare them 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.
 
# Once completed, Reset the ADF.
 
# Once completed, Reset the ADF.
 
  
 
== Update the SocialMedia Filtering Custom Element ==
 
== Update the SocialMedia Filtering Custom Element ==
 
If you have not done so previously, you will need to add the following new fields to the '''SocialMedia Filtering''' Global Custom Element:
 
If you have not done so previously, you will need to add the following new fields to the '''SocialMedia Filtering''' Global Custom Element:
# an Instagram Include List field
+
#a YouTube Include List field
 
##Type: Large Text Area
 
##Type: Large Text Area
##Field Name:  instagramIncludeList
+
##Field Name:  youtubeIncludedList
##Field Label:  instagramIncludeList
+
##Field Label:  youtubeIncludedList
##Description: <nowiki>Instagram posts that are selected to be displayed.</nowiki>
+
##Description: <nowiki>YouTube posts that are selected to be displayed.</nowiki>
 
##Required: No
 
##Required: No
#an Instagram  Exclude List field
+
#a YouTube Exclude List field
 
##Type: Large Text Area
 
##Type: Large Text Area
##Field Name:  instagramExcludeList
+
##Field Name:  youtubeExcludedList
##Field Label:  instagramExcludeList
+
##Field Label:  youtubeExcludedList
##Description: <nowiki>Instagram posts that are selected to be hidden.</nowiki>
+
##Description: <nowiki>YouTube posts that are selected to be hidden.</nowiki>
 
##Required: No
 
##Required: No
#a YouTube Include List field
+
#a WordPress Include List field
 
##Type: Large Text Area
 
##Type: Large Text Area
##Field Name:  youtubeIncludeList
+
##Field Name:  wordpressIncludedList
##Field Label:  youtubeIncludeList
+
##Field Label:  wordpressIncludedList
##Description: <nowiki>YouTube posts that are selected to be displayed.</nowiki>
+
##Description: <nowiki>WordPress posts that are selected to be displayed.</nowiki>
 
##Required: No
 
##Required: No
#a YouTube Exclude List field
+
#a WordPress Exclude List field
 
##Type: Large Text Area
 
##Type: Large Text Area
##Field Name:  youtubeExcludeList
+
##Field Name:  wordpressExcludedList
##Field Label:  youtubeExcludeList
+
##Field Label:  wordpressExcludedList
##Description: <nowiki>YouTube posts that are selected to be hidden.</nowiki>
+
##Description: <nowiki>WordPress posts that are selected to be hidden.</nowiki>
 
##Required: No
 
##Required: No
 +
''Note: Even if you do not intend to use the above services, it is a good idea to add these fields to avoid any general App errors''
  
 
== Reset the ADF ==
 
== Reset the ADF ==

Latest revision as of 20:54, 10 October 2024

Back to PT Social Media

 IMPORTANT: v3.3 of this application requires ADF 2.5 or greater and CommonSpot 10.5.2 or 10.6.1 or greater.

Overview

The following guide is for upgrading from v3.2 to v3.3. If you are updating from a version earlier than v3.1, please complete the v1.0 - v3.3 Upgrade Guides in order.

Application Code

  1. Rename directory "/ADF/apps/pt_socialmedia/" to "/ADF/apps/pt_socialmedia_v3_2/".
  2. Rename file "/ADF/apps/pt_socialmedia_v3_2/appBeanConfig.cfm" to "/ADF/apps/pt_socialmedia_v3_2/appBeanConfig.cfm.old".
  3. Download the PT Social Media v3.3 and copy the extracted files into the "/ADF/apps/pt_socialmedia/" directory.
  4. Reset the ADF

Site Level Customizations Review

This is only for reviewing the site-level customizations in the "/_cs_apps/pt_socialmedia/" 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 files 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 functions that have been customized and compare them 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.

Update the SocialMedia Filtering Custom Element

If you have not done so previously, you will need to add the following new fields to the SocialMedia Filtering Global Custom Element:

  1. a YouTube Include List field
    1. Type: Large Text Area
    2. Field Name: youtubeIncludedList
    3. Field Label: youtubeIncludedList
    4. Description: YouTube posts that are selected to be displayed.
    5. Required: No
  2. a YouTube Exclude List field
    1. Type: Large Text Area
    2. Field Name: youtubeExcludedList
    3. Field Label: youtubeExcludedList
    4. Description: YouTube posts that are selected to be hidden.
    5. Required: No
  3. a WordPress Include List field
    1. Type: Large Text Area
    2. Field Name: wordpressIncludedList
    3. Field Label: wordpressIncludedList
    4. Description: WordPress posts that are selected to be displayed.
    5. Required: No
  4. a WordPress Exclude List field
    1. Type: Large Text Area
    2. Field Name: wordpressExcludedList
    3. Field Label: wordpressExcludedList
    4. Description: WordPress posts that are selected to be hidden.
    5. Required: No
Note: Even if you do not intend to use the above services, it is a good idea to add these fields to avoid any general App errors

Reset the ADF

Reset the ADF for the server and site.