PT Social Media Version 3.3 Upgrade
From ADF Docs
Revision as of 20:54, 10 October 2024 by Gcronkright (talk | contribs) (→Update the SocialMedia Filtering Custom Element)
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.
Contents
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
- Rename directory "/ADF/apps/pt_socialmedia/" to "/ADF/apps/pt_socialmedia_v3_2/".
- Rename file "/ADF/apps/pt_socialmedia_v3_2/appBeanConfig.cfm" to "/ADF/apps/pt_socialmedia_v3_2/appBeanConfig.cfm.old".
- Download the PT Social Media v3.3 and copy the extracted files into the "/ADF/apps/pt_socialmedia/" directory.
- 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.
- Analyze the updated app code compared to the app customization code on your server.
- Identify any customizations that you have made to the application code to make sure these are updated with any functionality.
- 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.
- 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.
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:
- a YouTube Include List field
- Type: Large Text Area
- Field Name: youtubeIncludedList
- Field Label: youtubeIncludedList
- Description: YouTube posts that are selected to be displayed.
- Required: No
- a YouTube Exclude List field
- Type: Large Text Area
- Field Name: youtubeExcludedList
- Field Label: youtubeExcludedList
- Description: YouTube posts that are selected to be hidden.
- Required: No
- a WordPress Include List field
- Type: Large Text Area
- Field Name: wordpressIncludedList
- Field Label: wordpressIncludedList
- Description: WordPress posts that are selected to be displayed.
- Required: No
- a WordPress Exclude List field
- Type: Large Text Area
- Field Name: wordpressExcludedList
- Field Label: wordpressExcludedList
- Description: WordPress posts that are selected to be hidden.
- 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.