Microsoft Content Management Server - AcceptBinaryFile Method

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > March 2007 > AcceptBinaryFile Method





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 AcceptBinaryFile Method
Smita

2006-07-07, 1:16 am

Hi,

I've used this method to upload internal resources.Recently observed that
resouces uploaded in the past using this method have gone missing.
Understand from the help that if resources that have at least one page
containing a placeholder with a link to a resource will not be deleted by the
background cleanup process.
I'm storing the link in XML placeholder.Is it possible the link in "XML"
placeholder is not considered and BCP might have removed those resources ?

Appreciate any help on this.

Cheers,
Smita

Stefan [MSFT]

2006-07-07, 1:18 pm

Hi Smita,

yes, if the link is not enclosed in single or double quotes. Or if the
ManageCmsUrls property of the XmlPlaceholderDefinition is set to false.
So to ensure that links are found and managed you need to store them (e.g.)
in the following way:

<myLink url="/NR/rdonlyres/...." />

or

<myLink>"/NR/rdonlyres/..."</myLink>

and not like this:

<myLink>/NR/rdonlyres/...</myLink>

Without quotes MCMS will not find the link in the content.

Cheers,
Stefan

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

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Smita" <Smita@discussions.microsoft.com> wrote in message
news:B33417F6-9B80-4287-9D54-E276F32FAB3A@microsoft.com...
> Hi,
>
> I've used this method to upload internal resources.Recently observed that
> resouces uploaded in the past using this method have gone missing.
> Understand from the help that if resources that have at least one page
> containing a placeholder with a link to a resource will not be deleted by
> the
> background cleanup process.
> I'm storing the link in XML placeholder.Is it possible the link in "XML"
> placeholder is not considered and BCP might have removed those resources ?
>
> Appreciate any help on this.
>
> Cheers,
> Smita
>



Smita

2006-07-07, 1:18 pm

Thanks Stefan!

Would there be any way to recover all those vanished resources ?

"Stefan [MSFT]" wrote:

> Hi Smita,
>
> yes, if the link is not enclosed in single or double quotes. Or if the
> ManageCmsUrls property of the XmlPlaceholderDefinition is set to false.
> So to ensure that links are found and managed you need to store them (e.g.)
> in the following way:
>
> <myLink url="/NR/rdonlyres/...." />
>
> or
>
> <myLink>"/NR/rdonlyres/..."</myLink>
>
> and not like this:
>
> <myLink>/NR/rdonlyres/...</myLink>
>
> Without quotes MCMS will not find the link in the content.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> Check out the new book as well: Advanced MCMS development:
> http://tinyurl.com/8ugwj
> ----------------------
>
>
> "Smita" <Smita@discussions.microsoft.com> wrote in message
> news:B33417F6-9B80-4287-9D54-E276F32FAB3A@microsoft.com...
>
>
>

Stefan [MSFT]

2006-07-07, 1:18 pm

Hi Smita,

no. Background processing removes all unused resources from the repository
once a day.

Cheers,
Stefan

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

New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------


"Smita" <Smita@discussions.microsoft.com> wrote in message
news:F3C9250D-ADE4-40F8-95FF-2EAD51020082@microsoft.com...[vbcol=seagreen]
> Thanks Stefan!
>
> Would there be any way to recover all those vanished resources ?
>
> "Stefan [MSFT]" wrote:
>


Joe

2007-02-28, 7:15 pm

Hi Stefan,
What are the criteria for a resource to be removed besides not being
linked to in a placeholder? How long can a resource remain without being
linked to? If the resource is linked to in an expired posting will it be
removed if linked to nowhere else?

Thanks in advance,
Joe


"Stefan [MSFT]" wrote:

> Hi Smita,
>
> no. Background processing removes all unused resources from the repository
> once a day.
>
> Cheers,
> Stefan
>
> --
> This posting is provided "AS IS" with no warranties, and confers no rights
>
> New to MCMS?
> Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
> Check out the new book as well: Advanced MCMS development:
> http://tinyurl.com/8ugwj
> ----------------------
>
>
> "Smita" <Smita@discussions.microsoft.com> wrote in message
> news:F3C9250D-ADE4-40F8-95FF-2EAD51020082@microsoft.com...
>
>
>

Stefan Goßner [MSFT]

2007-03-01, 7:19 am

Xref: number1.nntp.dca.giganews.com microsoft.public.cmserver.general:65813

Hi Joe,

it will be removed next time background processing runs.
As background processing usually runs once a day...

Cheers,
Stefan

"Joe" <Joe@discussions.microsoft.com> wrote in message
news:BE3249AF-A9C5-4F27-8471-D772C04EB071@microsoft.com...[vbcol=seagreen]
> Hi Stefan,
> What are the criteria for a resource to be removed besides not being
> linked to in a placeholder? How long can a resource remain without being
> linked to? If the resource is linked to in an expired posting will it be
> removed if linked to nowhere else?
>
> Thanks in advance,
> Joe
>
>
> "Stefan [MSFT]" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com