in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

This Blog

Syndication

ChadClarkesMOSSBlog

Discussion Boards Bug

Has anyone else had problems with the discussion boards?  My end user will simply modify the view and end up causing problems with the entire list.  The the default view will become the home page...  And the links won't go to the threaded discussions, they will begin acting like folders...  Anyone else had these types of problems?

Comments

 

Ben Calder said:

Yes I too have experienced what you are talking about. The thread starter works more like a folder with replies being placed inside sub-folders and so on. Another problem I have found is the Reply column for the view creates a button that does not work! Any ideas on how to solve these issues would be appreciated!

Cheers.

September 12, 2007 2:41 AM
 

ChadClarke said:

First I would attempt to delete the web part and readd it to the page, thats worked a couple of times.  But it seemed sometimes I had to recreate the entire discussion board list...  Which of course you lose your entries...  But there might be a good migration method using datasheet views...  Let us all know what you come up with.

September 12, 2007 8:31 AM
 

Pallavi said:

Hi Clarke,

           I am also facing the same problem. when we create a threaded view, the reply button in the view is not working.

Please give the exact solution for this.

Hope i am clear.

thanks,

Pallavi,

September 20, 2007 5:54 AM
 

ChadClarke said:

The last time I worked with the discussion board, I found that what was happening was the link kept coming up wrong. So to fix it, I just put in some javascript that ran on load to change the link.  This is probably the same type of solution you are looking for with the reply button.  Please let me know if you need any further assistance.

September 20, 2007 11:00 AM
 

Pallavi said:

thanks for your reply .

can you please give me the java script u used for it.

September 20, 2007 11:14 PM
 

Chad Clarke said:

Sure Thing.

function findWebPartBody(listTitle){
  var tds = document.getElementsByTagName('td');
  var webpartZone;
  var webpartRow;
  for(var j = 0; j < tds.length; j++){
    if(tds[j].title.toLowerCase().indexOf(listTitle.toLowerCase()) != -1){
      webpartZone = tds[j].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;    
      webpartRow = webpartZone.parentNode.parentNode.parentNode;
    } 
  }
  if(webpartZone){
    var bodyDiv = webpartZone.children[1].children[0].children[0];
    return bodyDiv;
  }
}

function CorrectDiscussionBoardLinks(ListName, target){
  var webPart = findWebPartBody(ListName);
  var hyperLinks = webPart.getElementsByTagName("a");
  for(var k = 0; k < hyperLinks.length; k++){
    hyperLinks[k].href = hyperLinks[k].href.replace('default.aspx', 'Lists/Discussion%20Board/Flat.aspx');
  }
}

This Script would be for the default.aspx if you have a discussion board webpart on there that is failing...  otherwise adjust the links to what you need in the replace method of the CorrectDiscussionBoardLinks function.  Good luck in the world of sharepoint.

September 24, 2007 8:30 AM
 

Pallavi said:

Thanks clarke for the code.

September 24, 2007 11:18 PM
 

ChadClarke said:

Your very welcome!

September 25, 2007 8:36 AM
 

Pallavi said:

Hi....

I am having a problem when i am customizing the sharepoint site.

The Attach File is not working in the Events Newform.aspx , it is giving an error messagea as:

This Form was customized not working with attachment.

Hope i am clear.

Thanks,

Pallavi.

October 8, 2007 2:20 AM
 

ChadClarke said:

Hi Pallavi,

What I'm thinking is that you customized the newform.aspx page, correct?  Well, a little known fact is that when you use a custom list form control, you lose the functionality to add attachments with it.  Believe me, I know how much of a pain this is, and how much it totally does not make sense.  But what might serve you better than using the custom list form control, is using javascript to cut out rows from the default list form control.  Please let me know if I'm on the right track here, and/or if you need further assistance.

October 8, 2007 2:04 PM
 

Chris Eidsmoe said:

I was having the weird issue where when I clicked on the items it would show "no items to show" about 8 times".  

Just deleting the web part and re adding took care of it, as suggested above.

October 23, 2007 1:22 PM
 

Pallavi said:

Hi...

      I have new issue in sharepoint.. i hope u can solve it.

In sharepoint discussion boards when deleting the question it is giving an error.

when we select a question and give reply... in that page i am selecting view properties and in the i am clicking delete item. it is deleting the question but it is given an error......

Hope i am clear...

Thanks.

Pallavi.

January 24, 2008 8:19 AM
 

JJNET said:

Hi Pallavi,

Have you found the solution for your probem? I have the same problem when I delete an item. The error is "Cannot complete this action"

Thanks,

January 31, 2008 12:29 AM
 

Tanushree said:

Hi JJNET and Pallavi,

I am also struggling with same problem. When I click Viewproperties-->Delete Item, it deletes the item but does not redirect back and throws error.

I guess this is because we have deleted the item folder from list and if you see in query string it is incomplete and sharepoint does not know where to go back. Thus it throws error.

But I have no idea if we can change redirect code of DeleItem link in sharepoint toolbar.

Anybody...plz help.

April 1, 2008 8:09 AM
 

pratap said:

i want to know how to use the Discussion Board  webpart that i created  can be used in  my portal site.And i want to customize as per the client Requirement.

May 6, 2008 6:42 AM
 

Alejandro Lebrero said:

I used this discussion board too, and allthe bugs happend to me.

Now i  need to configure alternated views using two discusion board webparts, one with discussion view and other using the message view.  My problem is: when i try to connect both webparts don't have anyfield into the message view to connect with the discussion view. I try making other views but no one solve my problem.

Any suggestion?

Regards and thanks for your help.

Alejandro

July 14, 2008 4:23 PM
 

Ross said:

Hey... do any one of you know what eventhandler shoud we use to tackle the event when the user replies a topic.

Thanks in advance.

Ross

July 31, 2008 2:06 PM
 

Mark P said:

I believe I figured out a solution of the original poster here, that was clicking the Subject in a Discussion list results in a "folder" subject view instead of the threaded or flat view, which is the desired default behavior.

What I determined is that when you mess with Discussion views (create new or edit existing, either from SP itself or SPD 2007), SharePoint is making changes in the SETTINGS - Discussion Board Settings - VIEWS - SHOW IN - column for views that it should not be.

When clicking the SUBJECT links in the discussion list, the SUBJECT VIEW - Show In - needs be set to "TOP-Level".  If it is not, you will get the weird folder type view instead of the flat or threaded type view.

I made changes to views, but NEVER touched the default SUBJECT view.

To fix, click the SUBJECT view to edit the view, go to FOLDERS at the bottom, expand it and select "IN THE TOP-LEVEL FOLDER", click OK.

This fixes the bad behavior.

When editing views, SharePoint is messing with the show-in's and the default view behavior changes without the user knowing it!

Someone needs to report this to MS.

Hope this helps,

Mark

August 11, 2008 11:58 AM
 

Mark A said:

Mark P - Thank you!   I've been going mad trying to fix this.  

September 8, 2008 12:43 PM
 

erica said:

I know this thread is old, but I am hoping someone will see this!

I am facing the same problem, but Mark's solution won't help, because I do not have "Folders" when I edit views. My discussion board is a series item on a meeting workspace. I am worried that this is part of the problem. When I look at settings, I can see that subject is the default for the top-level view, and flat is the default for the discussion view. I would like to change the discussion view default to threaded, but each time I enact that change, it becomes the SOLE default for the site.

I want to set separate defaults for each level of the discussion, but I do not have the folders option available to me. What should I do?

December 3, 2008 8:15 PM

Leave a Comment

(required )  
(optional )
(required )  
Add

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts