Microsoft Content Management Server - Pages Using Template ?

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > August 2004 > Pages Using Template ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Pages Using Template ?
Euan

2004-08-20, 2:49 am

Could anyone tell me an easy way to find out which pages are using a
particular page?

Reason I am asking is because I have a template being used which I now want
to remove as I have made a new one. I thought I updated all the postings
with the new template, but in the template explorer it says it wont let me
delete it because it is being used?!

Thanks,
Euan


Angus Logan

2004-08-20, 2:49 am

Hi Euan,

See this code sample by Andrew Connell on GotdotNet
http://www.gotdotnet.com/Community/...AE-61A642160611

Regards
--
________________________________________


Angus Logan (MCAD/MCDBA/MCP)
Lead Software Developer
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________


"Euan" <egamble@ rdns.com.au> wrote in message
news:eUW3donhEHA.712@TK2MSFTNGP09.phx.gbl...
> Could anyone tell me an easy way to find out which pages are using a
> particular page?
>
> Reason I am asking is because I have a template being used which I now

want
> to remove as I have made a new one. I thought I updated all the postings
> with the new template, but in the template explorer it says it wont let me
> delete it because it is being used?!
>
> Thanks,
> Euan
>
>



Stefan [MSFT]

2004-08-20, 2:49 am

Hi Euan,

ensure that the recycle bin has been emptied in SiteManager and that
background processing has been run.
If there is then still this message, then most likely you missed to delete
some postings based on this template.
You could create a script that enumerates all channels and then writes out
the value of the template property of each posting.

Cheers,
Stefan.

--
This posting is provided "AS IS" with no warranties, and confers no rights.

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Euan" <egamble@ rdns.com.au> wrote in message
news:eUW3donhEHA.712@TK2MSFTNGP09.phx.gbl...
> Could anyone tell me an easy way to find out which pages are using a
> particular page?
>
> Reason I am asking is because I have a template being used which I now

want
> to remove as I have made a new one. I thought I updated all the postings
> with the new template, but in the template explorer it says it wont let me
> delete it because it is being used?!
>
> Thanks,
> Euan
>
>



Euan

2004-08-24, 10:03 pm

Thanks Angus that is a very big help! What a great little app!

Regards,

Euan

"Angus Logan" <angus_logan@data3.com.au> wrote in message
news:eHBW4vnhEHA.556@TK2MSFTNGP10.phx.gbl...
> Hi Euan,
>
> See this code sample by Andrew Connell on GotdotNet
> http://www.gotdotnet.com/Community/...AE-61A642160611
>
> Regards
> --
> ________________________________________

>
> Angus Logan (MCAD/MCDBA/MCP)
> Lead Software Developer
> Microsoft Application Solutions
> Data#3 Limited
> E angus_logan@data3.com.au
> BLOG www.anguslogan.com
> ________________________________________

>
> "Euan" <egamble@ rdns.com.au> wrote in message
> news:eUW3donhEHA.712@TK2MSFTNGP09.phx.gbl...
> want
>
>



Euan

2004-08-24, 10:03 pm

Ah thanks for that Stefan!

You were right. While a page was deleted it still existed in the deleted
items!

Thanks again,
Euan


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:uHdevtohEHA.592@TK2MSFTNGP11.phx.gbl...
> Hi Euan,
>
> ensure that the recycle bin has been emptied in SiteManager and that
> background processing has been run.
> If there is then still this message, then most likely you missed to delete
> some postings based on this template.
> You could create a script that enumerates all channels and then writes out
> the value of the template property of each posting.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> MCMS FAQ:
> http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
> http://www.gotdotnet.com/community/...t+S
erver

> MCMS Whitepapers and other docs:
> http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
> --------------------------------
>
>
> "Euan" <egamble@ rdns.com.au> wrote in message
> news:eUW3donhEHA.712@TK2MSFTNGP09.phx.gbl...
> want
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com