Pages Using Template ?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Pages Using Template ?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Pages Using Template ?  
Euan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-20-04 07: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







[ Post a follow-up to this message ]



    Re: Pages Using Template ?  
Angus Logan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-20-04 07: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
>
>







[ Post a follow-up to this message ]



    Re: Pages Using Template ?  
Stefan [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-20-04 07: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...>
MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...nagement+Server
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
>
>







[ Post a follow-up to this message ]



    Re: Pages Using Template ?  
Euan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-25-04 03:03 AM

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 
>
>







[ Post a follow-up to this message ]



    Re: Pages Using Template ?  
Euan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-25-04 03:03 AM

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...
a/MCMS+2002+-+(complete)+FAQ.htm
> MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
> MCMS Sample Code:
> http://www.gotdotnet.com/community/...nagement+Server
> 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 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:30 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register