4

I have an asset image that was generated/provided to me by a Sitecore team that does not appear to conform with the traditional file structure that I see in the other asset images. Specifically, the database items are very different.

Traditional:

/content/db/*.dacpac

Provided:

/content/cm/App_Data/items/{database}/*.dat

Should I be going back to them to have them change how the image was generated or is there a way to install the .dat files to get the items?

6

These .dat files are in fact "protobuf" files. This is a new addition to Sitecore 10.1 which enables it to consume items directly from the file system, organised in the manner you describe here.

A few references:

On a related note, for this reason Sitecore Fast Query has also been deprecated in 10.1. It operates by querying SQL directly and this will obviously not work when most of the items now come from the file system.

10.1 release notes: https://dev.sitecore.net/Downloads/Sitecore%20Experience%20Platform/101/Sitecore%20Experience%20Platform%20101/Release%20Notes#/New

As of 10.1 there is no official way of generating these .dat files yourself but, as can be seen in the links above, there are ways to achieve it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.