Re: Archive Folder with Resources: somehow disappearing from galle
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 > Re: Archive Folder with Resources: somehow disappearing from galle




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

    Re: Archive Folder with Resources: somehow disappearing from galle  
AC


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


 
08-27-04 11:07 PM

Angus-

That's one of the options I'm looking into right now actually.  Right now it
looks like an educational thing... when brochures (PDFs) are deleted from th
e
resource gallery, they need to head to the brochure section of the site and
remove the postings (I have a template that they add the link to an HTML
placeholder and when the page loads in presentation mode when published, it
will autodirect to the actual PDF).

However, now I'm looking into writing a process that runs at scheduled
intervals to check all postings for references to resources that exist in th
e
"Archive Folder".  Then, I'd set the "IsHiddenModePublished" of the posting
to TRUE & email site moderators & editors of that channel what's going on
with links to delete the posting or to go to it and modify some stuff.

-AC

"Angus Logan" wrote:

> Hi AC,
>
> What do you need the 'WHEN/WHO' information for? - I dont know if there ar
e
> properties for this infomation by drop the resource object into a debug
> watch and look for the properties.
>
> Also - this may be a bit out of left field (If i seem like i'm rambling
> ignore it  )
> I've been reading  Mei Ying's article
> http://meiyinglim.blogspot.com/2004...-resources.html that
> returns the postings that a resource is used on.
>
> Something is telling me to look at combining Mei Ying's 'Where are my
> resources' script with Stefan's 'Cleanup placeholder content after resourc
e
> gallery items have been deleted'....
>
> one idea - in the CmsPosting_PlaceholderPropertyChanging event if we find 
a
> 'deleted'  resource we could check the rest of the MCMS site for postings
> using this of this Resource and then we could remove the reference...
>
> another idea - Is there a Resource Deleted event? if so we could look for
> all the postings that use that resource and cleanup their content ...
>
> That way if a resource is deleted all the postings referencing it would ha
ve
> the links to the resource cleared...
>
> 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
>  ________________________________________

>
> "AC" <AC@discussions.microsoft.com> wrote in message
> news:B61DBF5F-8ADE-4561-8DEC-767D18E70F8D@microsoft.com... 
> is 
> How 
> is 
> placeholders. 
> rights. 
> http://download.microsoft.com/downl...
a/MCMS+2002+-+(complete)+FAQ.htm 
> http://www.gotdotnet.com/community/...nagement+Server 
> postings 
> posting in 
> the 
> login 
> CMS 
> of 
> a 
> can 
> shared 
> was 
> once 
>
>
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:28 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