<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://community.paperthin.com/adf-docs/index.php?action=history&amp;feed=atom&amp;title=PT_Comments_v2.4_Upgrade</id>
		<title>PT Comments v2.4 Upgrade - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://community.paperthin.com/adf-docs/index.php?action=history&amp;feed=atom&amp;title=PT_Comments_v2.4_Upgrade"/>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Comments_v2.4_Upgrade&amp;action=history"/>
		<updated>2026-04-22T20:25:12Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=PT_Comments_v2.4_Upgrade&amp;diff=7638&amp;oldid=prev</id>
		<title>Gcronkright: Created page with &quot;Back to PT Comments   '''IMPORTANT''': v2.4 of this application requires '''ADF 2.5''' or greater and '''CommonSpot 10.5.2 or 10.6.1''' or greater.  == Overvie...&quot;</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=PT_Comments_v2.4_Upgrade&amp;diff=7638&amp;oldid=prev"/>
				<updated>2020-03-03T17:34:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Back to &lt;a href=&quot;/adf-docs/index.php/PT_Comments&quot; title=&quot;PT Comments&quot;&gt;PT Comments&lt;/a&gt;   &amp;#039;&amp;#039;&amp;#039;IMPORTANT&amp;#039;&amp;#039;&amp;#039;: v2.4 of this application requires &amp;#039;&amp;#039;&amp;#039;ADF 2.5&amp;#039;&amp;#039;&amp;#039; or greater and &amp;#039;&amp;#039;&amp;#039;CommonSpot 10.5.2 or 10.6.1&amp;#039;&amp;#039;&amp;#039; or greater.  == Overvie...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Back to [[PT_Comments|PT Comments]]&lt;br /&gt;
&lt;br /&gt;
 '''IMPORTANT''': v2.4 of this application requires '''ADF 2.5''' or greater and '''CommonSpot 10.5.2 or 10.6.1''' or greater.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
This guide is to upgrade the PT Comments v2.4 from v2.3. If you are updating from a version earlier than v2.3, please follow the [[PT_Comments_Upgrade_v2.3|Version 2.3 Upgrade Guide]] before upgrading to v2.4.&lt;br /&gt;
&lt;br /&gt;
== ADF Application Code Review ==&lt;br /&gt;
This is only for reviewing the code that is in the &amp;quot;/ADF/apps/&amp;quot; directory, not at the site level.&lt;br /&gt;
&lt;br /&gt;
# Download the application from the Community project page.&lt;br /&gt;
# Unzip the application zip folder.&lt;br /&gt;
# Analyze the updated app code compared to the current app code on your server.  &lt;br /&gt;
## Identify any customizations that you have made to the application code to make sure these are not overwritten by the app update.  &lt;br /&gt;
## 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.&lt;br /&gt;
# Once this is complete, then move your app customizations into the new app code package.  &lt;br /&gt;
&lt;br /&gt;
== Application Code ==&lt;br /&gt;
# Rename directory &amp;quot;/ADF/apps/pt_comments&amp;quot; to &amp;quot;/ADF/apps/pt_comments_v2.3&amp;quot;.&lt;br /&gt;
# Rename file &amp;quot;/ADF/apps/pt_comments_v2.3/appBeanConfig.cfm&amp;quot; to &amp;quot;/ADF/apps/pt_comments_v2.3/appBeanConfig.cfm.old&amp;quot;.&lt;br /&gt;
# Move the PT Comments v2.4 and into the &amp;quot;/ADF/apps/pt_comments/&amp;quot; directory.&lt;br /&gt;
# Reset the ADF&lt;br /&gt;
&lt;br /&gt;
=== Comments Custom Element ===&lt;br /&gt;
 IMPORTANT: It is a good idea to backup your CommonSpot Site Database before running the '''CommentsAppUpdater''' script&lt;br /&gt;
Due to a new incompatibility with the ADF's getCEData function and with the BuildView function, &amp;quot;formid&amp;quot; and &amp;quot;userid&amp;quot; are no longer valid field Names in the custom elements. &lt;br /&gt;
Use these steps to update the two fields in the Comments Global Custom element:&lt;br /&gt;
# Copy the following updater file to your site and place it in your 'customcf' directiry:&lt;br /&gt;
## '/ADF/apps/pt_comments/site-files/customcf/CommentsAppUpdater.cfm'&lt;br /&gt;
# View the PT Comments App Update menu page by going to the URL:&lt;br /&gt;
## http://{your-site}/customcf/CommentsAppUpdater.cfm &lt;br /&gt;
# The following updater script with be displayed with [PREVIEW] and [RUN] options&lt;br /&gt;
## schema-update-for-2.3&lt;br /&gt;
# First, click on the [PREVIEW] option&lt;br /&gt;
# If the message reads &amp;quot;No Fields need to be updated at this time!&amp;quot; you are done!&lt;br /&gt;
# If the message displays the &amp;quot;Old Field&amp;quot; and the &amp;quot;New Field&amp;quot; update info, go back to the updater menu.&lt;br /&gt;
# Once back at the updater menu, click the [RUN] option.&lt;br /&gt;
# When the script has finished running and displays the message:&lt;br /&gt;
## The field &amp;quot;formid&amp;quot; in the Comments element was updated!&lt;br /&gt;
## The field &amp;quot;userid&amp;quot; in the Comments element was updated!&lt;br /&gt;
## Go to the CommonSpot Site Admin.&lt;br /&gt;
## Go to the &amp;quot;Elements&amp;quot; menu item under &amp;quot;Elements &amp;amp; Forms&amp;quot;.&lt;br /&gt;
## From the list of elements in the &amp;quot;Manage Elements&amp;quot; dialog find the &amp;quot;Comments&amp;quot; custom element.&lt;br /&gt;
## Select the &amp;quot;Field Definitions&amp;quot; menu option for the Comments element under the pencil icon. &lt;br /&gt;
## When the &amp;quot;Custom Element Field Definitions&amp;quot; dialog appears click on the pencil icon to edit either updated field&lt;br /&gt;
## Without making any other changes hit the &amp;quot;save&amp;quot; option to save the field.&lt;br /&gt;
## The fields list should then reflect the changes. &lt;br /&gt;
# Close the &amp;quot;Manage Elements&amp;quot; windows.&lt;br /&gt;
&lt;br /&gt;
Your Fields should now be updated!&lt;br /&gt;
&lt;br /&gt;
 IMPORTANT: Using CommonSpot reserved words as field names in Custom Element is not recommended!&lt;br /&gt;
 (eg. subsiteid, pageid, formid)&lt;br /&gt;
&lt;br /&gt;
== Site Level Customizations Review ==&lt;br /&gt;
This is only for reviewing the site level customizations in the &amp;quot;/_cs_apps/pt_comments/&amp;quot; directory, not in the ADF directory.&lt;br /&gt;
&lt;br /&gt;
# Analyze the updated app code compared to the app customization code on your server.&lt;br /&gt;
## Identify any customizations that you have made to the application code to make sure these are updated with any functionality.&lt;br /&gt;
## 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.   &lt;br /&gt;
## This is important for components that have customized functions to the site level &amp;quot;/_cs_apps/&amp;quot;.  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.&lt;br /&gt;
# Once completed, Reset the ADF.&lt;br /&gt;
&lt;br /&gt;
== Reset the ADF ==&lt;br /&gt;
[[Reset ADF|Reset the ADF]] for the server and site.&lt;/div&gt;</summary>
		<author><name>Gcronkright</name></author>	</entry>

	</feed>