Custom column of type "People/Group" named say: "last replied by" for team discussions which reflects the person/group who last replied to the thread in the topic (specific to that topic) in the discussion board in MOSS

Requirement End User requires an OOB column of type “People/Group” named say: “last replied to” in Discussion Board. This column should show the Person/Group who last replied to the thread specific to the topic in the Discussion Board. Currently, there is an OOB Column “LastUpdated” which shows the timestamp as when was last replied (Date/Time)…

0

How to rename column names in Content Query Webpart using property : DataColumnRenames

Requirement How to rename column names in Content Query Webpart using property : DataColumnRenames NOTE: In any other Site except of Publishing Type, activate the following 2 features in your site, to have Content Query Webpart: In Site Collection Features: Office SharePoint Server Publishing Infrastructure In Site Features: Office SharePoint Server Publishing Resolution Firstly, get…

0

Query regarding the Web Control Library templates

Question In Visual Studio 2005, on the File menu, point to New, and then click Project. In Project types, under C#, select Windows. Under Templates, select Web Control Library. In the Name field, type CustomSearchWebPart, and then click OK. But we are using vs2008, can you point me to the same document for vs2008 or…

0

When we use the wild card with CONTAINS predicate on the managed property “PreferredName” (OOB); it does not returns any result

Issue Description When we use the wild cards with contains predicate on the managed property “PreferredName” (OOB); it DOES NOT RETURNS any RESULT EXAMPLE:  SELECT Title, FirstName, LastName, PreferredName, JobTitle FROM portal..scope() WHERE  ( ("SCOPE" = ‘People’) )  AND CONTAINS(PreferredName,’anjali*’) Analysis I checked on the queries & found that the PreferredName property does not works…

0

How to create list using custom list template using SharePoint object model

Requirement: I have a custom list template uploaded to the List template gallery of the site How can I create a new list whose template is custom list template using SharePoint object model Sample Code: Decription: GetCustomListTemplates(…) method of SPSite object gives the collection of the custom lists. Just a note: ListTemplates property of SPWeb…

1

How to return 301/200 for selective 404 HTTP status or in other words say URL-rewriting

About a month ago, I came across an interesting request from my customer, who wanted to have render 301/200 for specific 404 pages. May be few of us are aware about URL re-writing & designing  of HTTP modules; but interesting point to share here difference between 2 methods to achieve this Issue Description: Customer had…

0

How to customize the table styles in content editor webpart

Requirement: How to customize the table styles in content editor webpart Attachment: The attachment contains Sample_Files zip which in turn contains 2 files for reference: sample.master file CustomHtmlEditorTableFormats.css Steps to REPRO the OOB functionality: ADD Content Editor Webpart to your Webpart page Click on Rich text editor in the tool pane of the webpart Click…

0

How to show file/folder icons depending on the type in Content Query Webpart

Requirement: How to show file/folder icons depending on the type in Content Query Webpart POINTS to Remember: NOTE: In any other Site except of Publishing Type, activate the following two features in your site, to have Content Query Webpart In Site Collection Features: Office SharePoint Server Publishing Infrastructure In Site Features: Office SharePoint Server Publishing…

0

How to modify a DateTime value of AfterProperties in ItemUpdating/ ItemAdding Events in SharePoint

Issue Description: When you change the value of the DateTime column of Custom List in SharePoint’s SPItemReceiver AfterProperties/BeforeProperties you need to set it to a specific DateTimeFormat string or else it throws the Error Error “Invalid date/time value. A date/time field contains invalid data. Please check the value and try again.” Steps to REPRO the…

1