Assets setting are being reset?

Adam's Avatar


24 May, 2016 06:24 PM

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.

  1. 1 Posted by Ryan Griffith on 25 May, 2016 12:18 PM

    Ryan Griffith's Avatar

    Hi Adam,

    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).

    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.

    Please let me know if you have any questions.


  2. 2 Posted by Adam on 25 May, 2016 02:29 PM

    Adam's Avatar

    That makes sense, I'll go ahead and give it a try. Thanks Ryan!

  3. 3 Posted by Ryan Griffith on 25 May, 2016 02:57 PM

    Ryan Griffith's Avatar

    Not a problem at all, Adam. Please keep us posted on how things work out, or if you have any additional questions.


  4. 4 Posted by Wing Ming Chan on 03 Jun, 2016 04:45 PM

    Wing Ming Chan's Avatar


    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 blockXML 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.


  5. 5 Posted by Ryan Griffith on 03 Jun, 2016 07:59 PM

    Ryan Griffith's Avatar

    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).

    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.

    Have a great day!

  6. Ryan Griffith closed this discussion on 03 Jun, 2016 07:59 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM