Tag Info

New answers tagged


is the attachment a TXT file? if so it is likely. I attach excel spreadsheets and images and I have the attachment as attachment


You also need to set properties.Cancel = true; Your final code will look like public override void ItemAdding(SPItemEventProperties properties) { try { //my code SPListItem parentItem = oList.GetItemById(discussionId); SPListItem reply =SPUtility.CreateNewDiscussionReply(parentItem); reply["Body"] = ...


Go to List Settings(Discussion List) -> Under Views -> Click on Threaded View -> It will navigate to the respective Edit view: Check the option Make as Default view After click ok, you can see the view option in Edit option

Top 50 recent answers are included