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

From ADF Docs
Jump to: navigation, search
(PTSocialMedia Configuration)
(Application Code)
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
##Field Name:  apiTwitterTweetURL
 
##Field Name:  apiTwitterTweetURL
 
##Field Label:  apiTwitterTweetURL
 
##Field Label:  apiTwitterTweetURL
##Description: Twitter Tweet page URL. Use {{screenname}} for the screen name variable. And use {{twitterid}} for the twitter data identifier variable.
+
##Description: <nowiki>Twitter Tweet page URL. Use {{screenname}} for the screen name variable. And use {{twitterid}} for the twitter data identifier variable.</nowiki>
 
##Required: No
 
##Required: No
 
##Properties:
 
##Properties:
 
###Size: 60
 
###Size: 60
 
###Default Value: <nowiki>http://twitter.com/{{screenname}}/status/{{twitterid}}</nowiki>
 
###Default Value: <nowiki>http://twitter.com/{{screenname}}/status/{{twitterid}}</nowiki>
 +
 +
=== App Configuration Updates ===
 +
After the new fields have been added to the PTSocialMedia Configuration element:
 +
# Go to the Social Media App Configuration Manager and click the '''"Edit Configuration"''' button.
 +
# When the configuration form opens, add the '''default values''' from the list above as values for the new fields.
 +
# Then click "Submit".
 +
# When the configuration page reloads click the '''"Reset ADF / App Configuration"''' button.
  
 
== Application Code ==
 
== Application Code ==
 
# Rename directory "/ADF/apps/pt_socialmedia/" to "/ADF/apps/pt_socialmedia_v1_2/".
 
# Rename directory "/ADF/apps/pt_socialmedia/" to "/ADF/apps/pt_socialmedia_v1_2/".
 
# Rename file "/ADF/apps/pt_socialmedia_v1_2/appBeanConfig.cfm" to "/ADF/apps/pt_socialmedia_v1_2/appBeanConfig.cfm.old".
 
# Rename file "/ADF/apps/pt_socialmedia_v1_2/appBeanConfig.cfm" to "/ADF/apps/pt_socialmedia_v1_2/appBeanConfig.cfm.old".
# Download the PT Social Media v2.0 and exported into the "/ADF/apps/pt_socialmedia/" directory.
+
# Download the PT Social Media v2.0 and import into the "/ADF/apps/pt_socialmedia/" directory.
  
 
[[Reset ADF|Reset the ADF]] for the server and site.
 
[[Reset ADF|Reset the ADF]] for the server and site.

Latest revision as of 15:16, 2 May 2014

Back to PT Social Media

Overview

The following guide is upgrading from v1.2 to v2.0.

Custom Element Updates

PTSocialMedia Configuration

Add the following new fields to the Twitter API tab of the ptSocialMedia Configuration element:

  1. a Tweet URL text field
    1. Type: text
    2. Field Name: apiTwitterTweetURL
    3. Field Label: apiTwitterTweetURL
    4. Description: Twitter Tweet page URL. Use {{screenname}} for the screen name variable. And use {{twitterid}} for the twitter data identifier variable.
    5. Required: No
    6. Properties:
      1. Size: 60
      2. Default Value: http://twitter.com/{{screenname}}/status/{{twitterid}}

App Configuration Updates

After the new fields have been added to the PTSocialMedia Configuration element:

  1. Go to the Social Media App Configuration Manager and click the "Edit Configuration" button.
  2. When the configuration form opens, add the default values from the list above as values for the new fields.
  3. Then click "Submit".
  4. When the configuration page reloads click the "Reset ADF / App Configuration" button.

Application Code

  1. Rename directory "/ADF/apps/pt_socialmedia/" to "/ADF/apps/pt_socialmedia_v1_2/".
  2. Rename file "/ADF/apps/pt_socialmedia_v1_2/appBeanConfig.cfm" to "/ADF/apps/pt_socialmedia_v1_2/appBeanConfig.cfm.old".
  3. Download the PT Social Media v2.0 and import into the "/ADF/apps/pt_socialmedia/" directory.

Reset the ADF for the server and site.

Site Customizations

During the application implementation customizations may have been created. Check under the "/_cs_apps/pt_socialmedia/" directory under you site to see if any customizations exists. If you do have site customizations, you'll need to update these accordingly.