|
|
|
| Hi
We have a lot of users that creates postings and in theese posting they link
to a ressource - when they delete the posting they "forget" to delete the
ressource that they linked to.
So I'm looking for something that can check all ressources and see if they
are "used"
are there any of this out there ?
| |
| Stefan Goßner [MSFT] 2007-09-14, 1:18 pm |
| Hi Wiper,
see here:
http://www.gotdotnet.com/Community/...f2-bf283edb9159
Cheers,
Stefan
"Wiper" <Wiper@discussions.microsoft.com> wrote in message
news:B20AE12C-FC3A-48BB-B431-133CB46C2C39@microsoft.com...
> Hi
>
> We have a lot of users that creates postings and in theese posting they
> link
> to a ressource - when they delete the posting they "forget" to delete the
> ressource that they linked to.
>
> So I'm looking for something that can check all ressources and see if they
> are "used"
>
> are there any of this out there ?
| |
|
| Hi Stefan
DL the sample...the result states:
path: /resources/Site/Resourcefolder/subfolder/logo.jpg
Page count: 0
I assume then that this ressource can be deleted as no posting uses it ?
There's a lot stated and if the above is correct I have a lot of manual
cleaning up to do - are there any SQL script out there that can clean up
automatic ?
cheers
Wiper
"Stefan Goßner [MSFT]" <stefang@online.microsoft.com> skrev i meddelelsen
news:OeejQot9HHA.600@TK2MSFTNGP05.phx.gbl...
> Hi Wiper,
>
> see here:
> http://www.gotdotnet.com/Community/...f2-bf283edb9159
>
> Cheers,
> Stefan
>
> "Wiper" <Wiper@discussions.microsoft.com> wrote in message
> news:B20AE12C-FC3A-48BB-B431-133CB46C2C39@microsoft.com...
>
>
| |
| Stefan Goßner [MSFT] 2007-09-18, 1:22 pm |
| Hi Wiper,
that is correct.
Cheers,
Stefan
"Wiper" <taenkeren@gmail.com> wrote in message
news:692FF3EC-5EA0-4DA0-B218-97023323F671@microsoft.com...
> Hi Stefan
>
> DL the sample...the result states:
>
> path: /resources/Site/Resourcefolder/subfolder/logo.jpg
> Page count: 0
>
> I assume then that this ressource can be deleted as no posting uses it ?
>
> There's a lot stated and if the above is correct I have a lot of manual
> cleaning up to do - are there any SQL script out there that can clean up
> automatic ?
>
> cheers
> Wiper
>
> "Stefan Goßner [MSFT]" <stefang@online.microsoft.com> skrev i meddelelsen
> news:OeejQot9HHA.600@TK2MSFTNGP05.phx.gbl...
>
| |
|
| Hi Stefan
As you don't mention anything regarding a SQL script I assume theres nothing
that can clean this automatic. So the big manual cleanup awaits..;0(
Can I make a text file output with the CmsDependencies using;
CmsDependencies.exe dependencies.txt ?
Cheers
Wiper
"Stefan Goßner [MSFT]" <stefang@online.microsoft.com> skrev i meddelelsen
news:OHECsSf%23HHA.1900@TK2MSFTNGP02.phx.gbl...
> Hi Wiper,
>
> that is correct.
>
> Cheers,
> Stefan
>
>
> "Wiper" <taenkeren@gmail.com> wrote in message
> news:692FF3EC-5EA0-4DA0-B218-97023323F671@microsoft.com...
>
>
| |
| Stefan Goßner [MSFT] 2007-09-19, 7:23 am |
| Hi Wiper,
you can redirect the output using ">".
Cheers,
Stefan
"Wiper" <taenkeren@gmail.com> wrote in message
news:6B362F8A-B780-4407-9717-179B6F3EA4B9@microsoft.com...
> Hi Stefan
>
> As you don't mention anything regarding a SQL script I assume theres
> nothing that can clean this automatic. So the big manual cleanup
> awaits..;0(
>
> Can I make a text file output with the CmsDependencies using;
> CmsDependencies.exe dependencies.txt ?
>
> Cheers
>
> Wiper
>
>
>
> "Stefan Goßner [MSFT]" <stefang@online.microsoft.com> skrev i meddelelsen
> news:OHECsSf%23HHA.1900@TK2MSFTNGP02.phx.gbl...
>
| |
|
| Hi Stefan
we have aprox 26730 ressources that are reported with this CmsDependencies /
page count 0 - is there anyway this "cleanup" can be done automatic ?
Cheers
Wiper
"Stefan Goßner [MSFT]" <stefang@online.microsoft.com> skrev i meddelelsen
news:%23h5gJ$p%23HHA.536@TK2MSFTNGP06.phx.gbl...
> Hi Wiper,
>
> you can redirect the output using ">".
>
> Cheers,
> Stefan
>
>
> "Wiper" <taenkeren@gmail.com> wrote in message
> news:6B362F8A-B780-4407-9717-179B6F3EA4B9@microsoft.com...
>
>
| |
| Stefan Goßner [MSFT] 2007-09-19, 1:23 pm |
| Hi Wiper,
you can write a console application that takes the output file as input and
deletes the resources using the object model.
Cheers,
Stefan
"Wiper" <taenkeren@gmail.com> wrote in message
news:7E6C0006-4470-49DF-93D3-67781A28EEA4@microsoft.com...
> Hi Stefan
>
> we have aprox 26730 ressources that are reported with this CmsDependencies
> / page count 0 - is there anyway this "cleanup" can be done automatic ?
>
> Cheers
> Wiper
>
>
>
> "Stefan Goßner [MSFT]" <stefang@online.microsoft.com> skrev i meddelelsen
> news:%23h5gJ$p%23HHA.536@TK2MSFTNGP06.phx.gbl...
>
| |
|
| Hi Stefan
I wouldn't know how to...;0(
I guess I'll have to wait to someone else makes one that also can delete the
"orphaned" ressources....
Cheers
Wiper
"Stefan Goßner [MSFT]" <stefang@online.microsoft.com> skrev i meddelelsen
news:OdTE6jr%23HHA.4184@TK2MSFTNGP05.phx.gbl...
> Hi Wiper,
>
> you can write a console application that takes the output file as input
> and deletes the resources using the object model.
>
> Cheers,
> Stefan
>
>
> "Wiper" <taenkeren@gmail.com> wrote in message
> news:7E6C0006-4470-49DF-93D3-67781A28EEA4@microsoft.com...
>
>
| |
|
| Hi Stefan
I doubled checked the entries in the generated report and the ressources
that are reported with page count 0 are in use in postings - how can this
be?
I understood in your previus posting that it only reported the ones that I
safely could delete?
Further more in your book "building websites with MSCMS" on page 64 is
stated:
"Purge data for deleted ressources removes attachments and ressouces that
are no longer in use within pages in the system"
So ..the Background Processing job aren't dealing with the "orphaned" files
?
Cheers
Wiper
"Wiper" <taenkeren@gmail.com> skrev i meddelelsen
news:3F747F65-565C-43EE-8A8F-14240297AE3E@microsoft.com...
> Hi Stefan
>
> I wouldn't know how to...;0(
>
> I guess I'll have to wait to someone else makes one that also can delete
> the "orphaned" ressources....
>
> Cheers
> Wiper
>
>
> "Stefan Goßner [MSFT]" <stefang@online.microsoft.com> skrev i meddelelsen
> news:OdTE6jr%23HHA.4184@TK2MSFTNGP05.phx.gbl...
>
| |
| Stefan Goßner [MSFT] 2007-09-26, 1:22 pm |
| Hi Wiper,
did you run the tool using an MCMS administrator account?
Only then you get reliable results.
Cheers,
Stefan
"Wiper" <taenkeren@gmail.com> wrote in message
news:0FB9A0E1-5D51-4188-A617-19EA4D5639C7@microsoft.com...
> Hi Stefan
>
> I doubled checked the entries in the generated report and the ressources
> that are reported with page count 0 are in use in postings - how can this
> be?
>
> I understood in your previus posting that it only reported the ones that I
> safely could delete?
>
> Further more in your book "building websites with MSCMS" on page 64 is
> stated:
>
> "Purge data for deleted ressources removes attachments and ressouces that
> are no longer in use within pages in the system"
>
> So ..the Background Processing job aren't dealing with the "orphaned"
> files ?
>
>
> Cheers
> Wiper
>
>
>
>
>
>
>
> "Wiper" <taenkeren@gmail.com> skrev i meddelelsen
> news:3F747F65-565C-43EE-8A8F-14240297AE3E@microsoft.com...
>
|
|
|
|