on 07-10-2009 10:55 AM
Hi All,
we deveopled a report which should delete all version folders, which contain documents without a head revision (current version).
Works fine on the front, but I have a question about the backend exactly about the database:
(1) When I delete a versions folder within my code, would be all included files be deleted from the database?
(2) Is there a difference between deleting per command or per code or is it the same? Has the deletion been monitored by a Repository Service?
Many thanks
Steve
>
> (1) When I delete a versions folder within my code, would be all included files be deleted from the database?
> (2) Is there a difference between deleting per command or per code or is it the same? Has the deletion been monitored by a Repository Service?
> Steve
1) The version storage folders expose the database content. So yes, deleting versions will affect the database accordingly.
2) A command is implemented in code as well, so there should be no difference (assuming they use the same API, which they should)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Steve,
Open Content Administration-> KM Content--> Document Repository(e.g. Documents) -
> .system ---> versions there you observer the impact of running your report.
All version files are stored there so, if the file exists there than the file is also there in DB.
But mostly i believe files must be deleted from database after running report.
Regards,
Tushar Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tushar or other,
your answer ist not very helpful.
You said "All version files are stored in the versions folder - if the file exists there than the file is also there in DB".
And then "but mostly i believe files must be deleted from database after running report".
OK when I delete the versions from the versions folder - are they still existing in the DB?
Thanks
Steve
Edited by: Steve on Feb 11, 2010 7:42 AM
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.