How to Content Stage Avatar files?

Lance Keay asked on September 29, 2017 17:32

I'm trying to use Content Staging to update User avatars between environments - dev to staging. We can see the Avatar value go from dev to staging. However, the file never makes it. In researching Content Staging, it appears that Avatar files are NOT Content Staged -

So I started looking at using the REST service to write some API code to move the files myself:

That page has code for CMS Attachments. Are the Avatar files actually CMS Attachments? Also, does anyone have code to do this?

Recent Answers

David te Kloese answered on October 10, 2017 13:42

REST call: http://[domain]/rest/cms.avatar should return the data but this will not include the file data.

If you haven't figured it out yet, by default both attachments and avatars are stored in the same format in the DB, but different tables. Where the file is stored as Binary data.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.