Developer forum

Forum » Development » What's the purpose "ShadowEdit" files?

What's the purpose "ShadowEdit" files?

Mikkel Hammer
Mikkel Hammer
Reply

Hi forum/DW,

I just setup a swift solution running with DW10, and I noticed a bunch of files being generated in a /ShadowEdit folder.

What's the purpose of these files, and is there a setting for it somewhere?
I can't find anything about it in the docs or forum when searching for ShadowEdit, but skimmed the source code to see it's a DW10 thing.

Are they safe to gitignore, and is there any cleanup of these files?

 

Best regards,

Mikkel Hammer


Replies

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

Hi Mikkel,

Shadow edit is a feature in DynamicWeb 10 that allows you share edit sessions.

When you edit something in DW, the edit screen generates a shadow edit that tracks the changes made in that screen. The url to that screen refers to a shadow edit, meaning you can copy the url and send it to someone, and they would see the changes you've made without having to save first.

It has other uses under the hood, but the main one is shared edit session. Be aware that it's not quite the same as live simultaneous editing, like Google Docs for example, you only see changes from others when the screen is refreshed.

For local solutions, you can and should ignore these files. For shared solutions, it depends. You probably want to ignore them, but if you have active edits that you want to continue -- which is also an area we're exploring, being able to continue an existing edit later -- you may want to keep them. We haven't tied the bow on resuming editing, so for now it's save to ignore the shadow edit files.

I hope that helps to clear things up.

- Jeppe

 
Mikkel Hammer
Mikkel Hammer
Reply

Hi Jeppe,

Thanks for the reply, was exactly that kind of explanation i was looking for!

Sounds interesting with continue with an edit later, looking forward to see more about it later :)

Best regards,
Mikkel Hammer

 

You must be logged in to post in the forum