tag:help-archives.hannonhill.com,2010-02-09:/discussions/web-services/1539-trigger-a-page-edit-to-update-page-dataCascade CMS: Discussion 2018-10-18T20:37:40Ztag:help-archives.hannonhill.com,2010-02-09:Comment/378289342015-09-02T19:57:38Z2015-09-02T20:06:30ZTrigger a page edit to update page data<div><p>Hi,</p>
<p>There is no easy way to "trigger" the changes with web services
without loosing the data. You have to store the data while you are
changing the data definition. In <a href="http://www.upstate.edu/cascade-admin/projects/web-services/oop/working-with-data-blocks/index.php">
Working with Data Blocks</a> I talk about how to change data
definitions associated with blocks. Everything said there is
applicable to pages. The basic steps are:</p>
<ol>
<li>Create a blank <code>StructuredData</code> object out of the
new data definition and copy all the data from the block/page to
this object, and possibly assign new data to the new
fields<br></li>
<li>Assign this <code>StructuredData</code> object back to the
block/page</li>
</ol>
<p>This should be quite straight-forward if you are just adding new
fields, not removing existing fields or reorganizing them in
groups.</p>
<p>For more information, see <a href="http://www.upstate.edu/cascade-admin/projects/web-services/courses/intermediate-course/intermediate-lesson-7.php">
Lesson 7: Synching Data</a>.</p>
<p>Wing</p></div>Wing Ming Chantag:help-archives.hannonhill.com,2010-02-09:Comment/378289342015-11-04T20:51:30Z2015-11-04T20:51:30ZTrigger a page edit to update page data<div><p>Hi Cascade Web Service Developers,</p>
<p>Will you be interested in a 3-part tutorial on Google Hangout? I
am going to give an introduction to my library and show how to
perform simple tasks like creating and editing assets. Details can
be found on <a href="http://www.upstate.edu/cascade-admin/projects/web-services/courses/online-tutorials.php">
Online Tutorials</a>.</p>
<p>If you are interested, send me an email. You can find my email
address on <a href="http://conference.hannonhill.com/2014/web-services-encapsulation-reusability-and-simplicity.php">
Web Services: Encapsulation, Reusability, and Simplicity</a>.</p>
<p>Wing</p></div>Wing Ming Chan