We are using Sitecore SXA for development.
Right now we are able to sync into Sitecore everything(based on serialization configuration) using unicorn through yml files. if deleted yml file, it is deleting from content tree also.
Now I want to change this sync process for a specific section of content tree like Data, Presentation, Settings etc. I want to sync only newly added yml file and want to ignore updated or deletd yml files and also want to keep as is if any new item created in content tree by an author even no yml file exists for that.
What changes do I need to make in the configuration to achieve above requirement?
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <unicorn> <configurations> <configuration name="Project.Corporate.Website" description="media items." dependencies="Foundation.*" patch:after="configuration[@name='Foundation.Serialization']"> <targetDataStore physicalRootPath="$(sourceFolder)\project\Corporate\serialization" type="Rainbow.Storage.SerializationFileSystemDataStore, Rainbow" useDataCache="false" singleInstance="true" /> <predicate type="Unicorn.Predicates.SerializationPresetPredicate, Unicorn" singleInstance="true"> <include name="Media" database="master" path="/sitecore/media library/Project/Corporate" /> </predicate> </configuration> </configurations> </unicorn> </sitecore> </configuration>
Thanks a lot in advance.