PRB: Cannot Create New Postings on the MethodSystems Content Connector Site (312285)



The information in this article applies to:

  • Microsoft Content Management Server 2001

This article was previously published under Q312285

SYMPTOMS

After you create your own channels in the MethodSystems PUP site, you may not be able to create new postings when you are logged on to Web Authoring as an author.

CAUSE

You cannot create postings unless both of the following conditions are met:
  • The author must have the right to create postings, as specified by the read-only AutoSession.ThisChannel.CanCreatePostings property.
  • The channel must be under the News channel.

RESOLUTION

To resolve this problem, remove the last two IF statements from the site code.

STATUS

This behavior is by design.

MORE INFORMATION

The IsNewPostingLinkVisible function checks the CanCreatePostings property to determine whether the user can create postings. To understand this, examine line 142 of the Wbcmousedownmenuconsole.inc file that is located in the <Web Site Root>\<SiteName>\WBC_Customizable\SiteEmbeddedWBCLinks\WBCConsole\CS2000_MethodsSystemConsole folder:
If IsNewPostingLinkVisible() And CS_CanShowNewPostingLink(pNRCSPosting)
Then
				
Examine the CS_CanShowNewPostingLink function that starts at line 314 of the Wbcmousedownmenuconsole.inc file:
Function CS_CanShowNewPostingLink(pNRCSPosting)

            CS_CanShowNewPostingLink = False

'           If you are on a rich product posting, do not show a new posting link.

            If pNRCSPosting.IsRichProductPosting Then

                        Exit Function

            End If

'           If you do not have rights to create a rich product posting, do not show a new posting link.

            If pNRCSPosting.IsSimpleProductPosting Then

                        If Not pNRCSPosting.CanCreateRichProductPosting Then

                                    Exit Function

                        End If

            End If

            If pNRCSPosting.IsProductPosting Then

                        CS_CanShowNewPostingLink = True

                        Exit Function

            End If

            Dim strChannelPath

            strChannelPath = AutoSession.ThisChannel.Path

'           If you are at children channels of news, show a new posting link.

            If strChannelPath = IDS_RESPATH_NEWS Then

                        Exit Function

            End If

            If Left(strChannelPath, Len(IDS_RESPATH_NEWS)) <> IDS_RESPATH_NEWS Then

                        Exit Function

            'End If

            CS_CanShowNewPostingLink = True

End Function
				

Modification Type:MajorLast Reviewed:11/30/2001
Keywords:kbprb KB312285