Microsoft Content Management Server - Get the approved version of af posting

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > February 2004 > Get the approved version of af posting





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 Get the approved version of af posting
Tony Fabian

2004-02-09, 7:35 pm

Hi,

How do i get the approved version of a posting?

Any idea?

Kind regards

Tony


Stefan [MSFT]

2004-02-09, 7:35 pm

Hi Tony,

not sure what you mean.
In published mode you can ONLY get the approved version of a posting. In
unpublished mode you will receive the unpublished (so potentially unapproved
version) of a posting.
Ensure that you are in the right mode and you will get what you are looking
for.

To always return the approved version use Posting.Revisions().
This will return all history versions of the Postings in approved state.

Cheers,
Stefan.

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


"Tony Fabian" <tony@fabian.name> wrote in message
news:eUB9zI77DHA.3052@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> How do i get the approved version of a posting?
>
> Any idea?
>
> Kind regards
>
> Tony
>
>



Tony Fabian

2004-02-09, 8:35 pm

Hi,

I will be more specific ;-)

I am creating a connected postings using the papi and needs to delete the
approved version of the connected posting if one exist.

I have so far:
1) Create connected posting
2) CommitAll()
3) Posting.Submit() ... creates at "Waiting for Editor Approvel" statuc
4) CommitAll()
5) Delete the approved version of the connected posting if one exist.

I can't do number 5 because a can figure out how to delete the approved
version.

Kind

regards

Tony





"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:#ULEfW77DHA.1816@TK2MSFTNGP12.phx.gbl...
> Hi Tony,
>
> not sure what you mean.
> In published mode you can ONLY get the approved version of a posting. In
> unpublished mode you will receive the unpublished (so potentially

unapproved
> version) of a posting.
> Ensure that you are in the right mode and you will get what you are

looking
> for.
>
> To always return the approved version use Posting.Revisions().
> This will return all history versions of the Postings in approved state.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
>
> "Tony Fabian" <tony@fabian.name> wrote in message
> news:eUB9zI77DHA.3052@TK2MSFTNGP09.phx.gbl...
>
>



Stefan [MSFT]

2004-02-09, 9:35 pm

Hi Tony,

it is not possible to delete a specific revision.
You can only delete all revisions (the whole object) or nothing.
If you would delete the approved revision then the complete connected
postings is gone.

btw: why are you creating, submitting and approving a posting to finally
delete it again?

Cheers,
Stefan.

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


"Tony Fabian" <tony@fabian.name> wrote in message
news:uchQPb77DHA.2656@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> I will be more specific ;-)
>
> I am creating a connected postings using the papi and needs to delete the
> approved version of the connected posting if one exist.
>
> I have so far:
> 1) Create connected posting
> 2) CommitAll()
> 3) Posting.Submit() ... creates at "Waiting for Editor Approvel" statuc
> 4) CommitAll()
> 5) Delete the approved version of the connected posting if one exist.
>
> I can't do number 5 because a can figure out how to delete the approved
> version.
>
> Kind
>
> regards
>
> Tony
>
>
>
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:#ULEfW77DHA.1816@TK2MSFTNGP12.phx.gbl...
> unapproved
> looking
> rights.
>
>



Tony Fabian

2004-02-09, 9:35 pm

Hi Stefan,

If i create a connected posting in a channel with no moderators assigned the
posting will be automatically approved if the source posting is approved. I
don't want that to happend. All posting must be manually approved ... even
it there is no moderators assigned to the channel. In that case they must be
approved by an editor. When i submit the posting i get a version that is
"waiting for editor approval" (Which is what i want).

So now i "just" have to get rid of the approved version of the posting or
some how get rid of the live version of the posting.

Does that make sence? ;-)

/tony


"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:#$tUDF87DHA.1000@TK2MSFTNGP11.phx.gbl...
> Hi Tony,
>
> it is not possible to delete a specific revision.
> You can only delete all revisions (the whole object) or nothing.
> If you would delete the approved revision then the complete connected
> postings is gone.
>
> btw: why are you creating, submitting and approving a posting to finally
> delete it again?
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
>
> "Tony Fabian" <tony@fabian.name> wrote in message
> news:uchQPb77DHA.2656@TK2MSFTNGP11.phx.gbl...
the[color=blue]
In[color=blue]
state.[color=blue]
>
>



Stefan [MSFT]

2004-02-10, 1:39 am

Hi Tony,

there is no way to achieve this.
The reason for this is the underlaying architecture.

All connected postings use ONE underlaying page object.
This page object is versioned. Editors approve changes to this page object.
Moderators on the other hand only approve changes on the posting object.
So there is no way to let editors approve one posting but not the other.

Cheers,
Stefan.

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


"Tony Fabian" <tony@fabian.name> wrote in message
news:#Um6VQ87DHA.804@tk2msftngp13.phx.gbl...
> Hi Stefan,
>
> If i create a connected posting in a channel with no moderators assigned

the
> posting will be automatically approved if the source posting is approved.

I
> don't want that to happend. All posting must be manually approved ... even
> it there is no moderators assigned to the channel. In that case they must

be
> approved by an editor. When i submit the posting i get a version that is
> "waiting for editor approval" (Which is what i want).
>
> So now i "just" have to get rid of the approved version of the posting or
> some how get rid of the live version of the posting.
>
> Does that make sence? ;-)
>
> /tony
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:#$tUDF87DHA.1000@TK2MSFTNGP11.phx.gbl...
> rights.
> the
statuc[color=blue]
approved[color=blue]
posting.[color=blue]
> In
> state.
>
>



Stefan [MSFT]

2004-02-10, 1:39 am

Hi Tony,

there is no way to achieve this.
The reason for this is the underlaying architecture.

All connected postings use ONE underlaying page object.
This page object is versioned. Editors approve changes to this page object.
Moderators on the other hand only approve changes on the posting object.
So there is no way to let editors approve one posting but not the other.

Cheers,
Stefan.

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


"Tony Fabian" <tony@fabian.name> wrote in message
news:#Um6VQ87DHA.804@tk2msftngp13.phx.gbl...
> Hi Stefan,
>
> If i create a connected posting in a channel with no moderators assigned

the
> posting will be automatically approved if the source posting is approved.

I
> don't want that to happend. All posting must be manually approved ... even
> it there is no moderators assigned to the channel. In that case they must

be
> approved by an editor. When i submit the posting i get a version that is
> "waiting for editor approval" (Which is what i want).
>
> So now i "just" have to get rid of the approved version of the posting or
> some how get rid of the live version of the posting.
>
> Does that make sence? ;-)
>
> /tony
>
>
> "Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
> news:#$tUDF87DHA.1000@TK2MSFTNGP11.phx.gbl...
> rights.
> the
statuc[color=blue]
approved[color=blue]
posting.[color=blue]
> In
> state.
>
>



Tony Fabian

2004-02-10, 1:39 am

Hi Stefan,

hmmm thanks.

We will solve the problem by asigning a moderator to the channel.

Thank you for your help.

Kind regards

Tony

"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:#2cyJK#7DHA.1356@tk2msftngp13.phx.gbl...
> Hi Tony,
>
> there is no way to achieve this.
> The reason for this is the underlaying architecture.
>
> All connected postings use ONE underlaying page object.
> This page object is versioned. Editors approve changes to this page

object.
> Moderators on the other hand only approve changes on the posting object.
> So there is no way to let editors approve one posting but not the other.
>
> Cheers,
> Stefan.
>
> --
> This posting is provided "AS IS" with no warranties, and confers no

rights.
>
>
> "Tony Fabian" <tony@fabian.name> wrote in message
> news:#Um6VQ87DHA.804@tk2msftngp13.phx.gbl...
> the
approved.[color=blue]
> I
even[color=blue]
must[color=blue]
> be
or[color=blue]
finally[color=blue]
delete[color=blue]
> statuc
exist.[color=blue]
> approved
> posting.
are[color=blue]
no[color=blue]
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com