tag:help-archives.hannonhill.com,2010-02-09:/discussions/web-services/1621-assets-setting-are-being-resetCascade CMS: Discussion 2017-01-31T16:51:11Ztag:help-archives.hannonhill.com,2010-02-09:Comment/399580682016-05-24T18:24:04Z2016-05-24T18:24:04ZAssets setting are being reset?<div><p>Hi,<br>
I am using web services to change the metadata set of a large
number of index blocks. I was able to make the change, however all
of the settings on the index blocks were reset to their default
value. Is there a way to prevent the index blocks from being reset,
and remember what their previous settings were? Also does this
happen on other asset types when you don't give each specific
setting? I ask because in the not too distant future I am going to
have to change the configuration set and content type of a few
thousand assets and I don't want to loose their settings as
well.<br>
Thanks!</p></div>Adamtag:help-archives.hannonhill.com,2010-02-09:Comment/399580682016-05-25T12:18:55Z2016-05-25T12:18:55ZAssets setting are being reset?<div><p>Hi Adam,</p>
<p>That is correct, unless you pass the existing asset data back
into the edit operation, editing the asset will result in default
values being written. This is because the operation does not merge
the data, so you are essentially passing no data into the edit.
(Hope that makes sense).</p>
<p>Generally, the process is to read the asset(s), update the
appropriate data within the returned asset data and pass that data
back into the edit operation.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/399580682016-05-25T14:29:58Z2016-05-25T14:29:58ZAssets setting are being reset?<div><p>That makes sense, I'll go ahead and give it a try. Thanks
Ryan!</p></div>Adamtag:help-archives.hannonhill.com,2010-02-09:Comment/399580682016-05-25T14:57:43Z2016-05-25T14:57:43ZAssets setting are being reset?<div><p>Not a problem at all, Adam. Please keep us posted on how things
work out, or if you have any additional questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/399580682016-06-03T16:45:04Z2016-06-03T16:46:09ZAssets setting are being reset?<div><p>Adam,</p>
<p>Just want to add a note here. There is a bug in Cascade web
services wrt index blocks. If an index block is used to index
blocks, the <code>blockXML</code> property is missing altogether in
the wsdl. After such a block is modified by web services, the
property has to be hand-edited if the default value is not used. If
you are modifying a lot of index blocks, make sure you have a list
of names of blocks that index blocks.</p>
<p>Wing</p></div>Wing Ming Chantag:help-archives.hannonhill.com,2010-02-09:Comment/399580682016-06-03T19:59:51Z2016-06-03T19:59:51ZAssets setting are being reset?<div><p>Yes, thank you for the reminder Wing. I've assigned the
associated ticket to this discussion so you can track the progress
(upper right-hand corner of this page).</p>
<p>Adam, I'm going to go ahead and close this discussion, please
feel free to comment or reply to re-open if you have any additional
questions or issues.</p>
<p>Have a great day!</p></div>Ryan Griffith