How to reply to discussion
I am now looking for how to reply to a discussion I started but suggestions were made and I want to clarify my question.
Thanks
Sandie115 wrote:
Thanks, I am now able to reply!!
San
Fantastic. This is what we like to hear.
Similar Messages
-
How to Read All Discussions and Replies
Hi,
I have to read all discussions and replies of a sharepoint discussion board using object model.
Any help is greatly appreciated.
Thanks,
TusharFinally I was able to solve this puzzle. Thought of sharing for people still having this issue:
1) Take instance of your site collection and web:
SPSite currentSite = SPContext.Current.Site;
SPWeb currentRootWeb = currentSite.RootWeb;
2) Suppose I have the name of discussion list - "MyDiscussionList". Get GUID of this list:
Guid myDiscussionListGUID = Guid.NewGuid();
foreach (SPList list in currentRootWeb.Lists)
if (list.BaseTemplate.ToString() == "DiscussionBoard" && list.Title == "MyDiscussionList")
myDiscussionListGUID = list.ID; // Read GUID of Discussion List
break;
Tips:
a) list.ItemCount will return all discussions and their replies
b) list.Items.Count will return only replies
3) Get your list:
SPList myDiscussionList = currentRootWeb.Lists.GetList(myDiscussionListGUID, false);
4) Create a new Discussion
SPListItem newItem = SPUtility.CreateNewDiscussion(myDiscussionList.Items, "New Message using code");
newItem["Body"] = "My new message content using code";
newItem.Update();
5) How to read all discussions:
foreach (SPListItem folder in myDiscussionList.Folders)
Response.Write("Folder Name: " + folder.Name + "<BR>");
Response.Write("Folder ID: " + folder.ID + "<BR>");
Response.Write("Attachments Count: " + folder.Attachments.Count + "<BR>"); // Returns attachment count
// Code to read attachment URL.
for (int i = 0; i < folder.Attachments.Count; i++)
Response.Write("Attachment Url " + folder.Attachments.UrlPrefix + folder.Attachments + "<BR>");
// Read body of attachment
Response.Write("Body: " + folder.Fields["Body"].GetFieldValueAsText(folder["Body"]) + "<BR>");
6) If you want to delete a discussion
SPListItem listItemParentToDelete = null;
foreach (SPListItem folder in myDiscussionList.Folders)
listItemParentToDelete = folder;
if (listItemParentToDelete != null)
listItemParentToDelete.Delete();
7) Loop through all discussion replies:
foreach (SPListItem listItem in myDiscussionList.Items)
Response.Write("Item DisplayName: " + listItem.DisplayName + "<BR>"); // Returns Title of Discussion
Response.Write("List ID: " + listItem.ID + "<BR>");
Response.Write("List Folder ID: " + listItem.Fields["Parent Folder Id"].GetFieldValueAsText(listItem["Parent Folder Id"]).ToString() + "<BR>"); // Returns ID of Parent Discussion
Response.Write("Body: " + listItem.Fields["Body"].GetFieldValueAsText(listItem["Body"]) + "<BR>");
// Create Parent List Item
int parentListID = Convert.ToInt32(listItem.Fields["Parent Folder Id"].GetFieldValueAsText(listItem["Parent Folder Id"]));
SPListItem parentListItem = lvContentItemsDiscussionsList.GetItemById(parentListID);
Response.Write("Parent List Item Name: " + parentListItem.Name + "<BR>");
// Code to Reply to a Discussion Message
SPListItem reply = SPUtility.CreateNewDiscussionReply(parentListItem);
reply["Body"] = "<div class=ExternalClass89C47CD7892B4279A8F42A65DD63AE3A><div> </div> <div>Reply to the new message<br><br> <hr> <b>From: </b>Admin<br><b>Posted: </b>Friday, July 20, 2007 4:01 AM<br><b>Subject: </b>New message<br><br> <div class=ExternalClass3D04672E599B486F9ECB76C138494708> <div>My new message content</div></div></div></div>";
reply["TrimmedBody"] = "<div class=ExternalClass677134B4EA284660B1B236824800345C><div> </div> <div>Reply to the new message<br></div></div>";
reply.Update();
// Code to delete a discussion reply
listItemToDelete = listItem;
8) Code to delete a discussion reply:
SPListItem listItemToDelete = null;
foreach (SPListItem listItem in myDiscussionList.Items)
listItemToDelete = listItem;
// Code to delete a discussion reply
if (listItemToDelete != null)
listItemToDelete.Delete();
Note: You need to allow unsafe updates in order to do any operation on SharePoint list directly.
currentRootWeb.AllowUnsafeUpdates = true;
Hope this help!
Thanks! -
regarding difficulty downloading photos from camera to PS CS2 in Windows 7. I don't know how to reply as I am new to this forum.
Thank you,
Elena de la Vega -
"Reply" to discussion errors with Correlation ID that doesn't give much of any info
Can add new discussions.
Can delete discussion.
Can edit discussion
Click on Reply to discussion the form window opens enter a reply hit save and it errors out. Close the error and the reply is actually posted. I can then delete the replay with out a problem. I've got ULS Correlation monitoring set to verbose
but the info in the log states nothing of an error or problem.
any ideas?
TIAThe problem continues. After turning up debugging we are seeing asp.net errors when replying to discussions as follows. We think this is the root of the problems. Any ideas?
TIA
Log Name: Application
Source: ASP.NET 2.0.50727.0
Date: 4/5/2014 8:46:29 PM
Event ID: 1309
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: sharepoint.site
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/5/2014 8:46:29 PM
Event time (UTC): 4/6/2014 12:46:29 AM
Event ID: b7f4aa579a444771be03fa05795664eb
Event sequence: 119100
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1236574641/ROOT-1-130411548995111560
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: C:\inetpub\wwwroot\wss\VirtualDirectories\80\
Machine name: SHAREPOINT
Process information:
Process ID: 5976
Process name: w3wp.exe
Account name: site\spfarm
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.
Request information:
Request URL: https://sharepoint.site:443/depts/IT/Lists/tester1234/NewForm.aspx?Source=https4/5/2014 8:46:29 PMAAn unhandled exception has occurred.FAn unhandled exception has occurred.FsharepointAn unhandled exception has occurred.EsiteAn unhandled
exception has occurred.EorgAn unhandled exception has occurred.FdeptsAn unhandled exception has occurred.FITAn unhandled exception has occurred.FListsAn unhandled exception has occurred.Ftester1234An unhandled exception has occurred.FFlatAn unhandled exception
has occurred.Easpx4/5/2014 8:46:29 PMFRootFolder4/5/2014 8:46:29 PMD%252Fdepts%252FIT%252FLists%252Ftester1234%252Feqweqeqweqweqweqwe%26FolderCTID%3D0x01200200D730B5D80F52904097BAC1280EA277CA&RootFolder=%2Fdepts%2FIT%2FLists%2Ftester1234%2Feqweqeqweqweqweqwe&ContentTypeId=0x0107&DiscussionParentID=1&IsDlg=1
Request path: /depts/IT/Lists/tester1234/NewForm.aspx
User host address: fe80::5826:ac73:f198:9176WSS_Minimal
User: 0#.w|site\administrator
Is authenticated: True
Authentication Type: Federation
Thread account name: site\spfarm
Thread information:
Thread ID: 27
Thread account name: site\spfarm
Is impersonating: False
Stack trace: at Microsoft.SharePoint.SPListItem.<>c__DisplayClass7.<DirtyListItemAfterUpdate>b__5()
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPListItem.DirtyListItemAfterUpdate(Boolean failed, Boolean bAdd, Boolean bMigration, Int32 ulID, Int32 parentFolderId)
at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String
filename, Boolean bPreserveItemUIVersion)
at Microsoft.SharePoint.SPListItem.Update()
at Microsoft.SharePoint.WebControls.SaveButton.SaveItem(SPContext itemContext, Boolean uploadMode, String checkInComment)
at Microsoft.SharePoint.WebControls.SaveButton.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ASP.NET 2.0.50727.0" />
<EventID Qualifiers="32768">1309</EventID>
<Level>3</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-04-06T00:46:29.000000000Z" />
<EventRecordID>760967</EventRecordID>
<Channel>Application</Channel>
<Computer>sharepoint.site</Computer>
<Security />
</System>
<EventData>
<Data>3005</Data>
<Data>An unhandled exception has occurred.</Data>
<Data>4/5/2014 8:46:29 PM</Data>
<Data>4/6/2014 12:46:29 AM</Data>
<Data>b7f4aa579a444771be03fa05795664eb</Data>
<Data>119100</Data>
<Data>2</Data>
<Data>0</Data>
<Data>/LM/W3SVC/1236574641/ROOT-1-130411548995111560</Data>
<Data>WSS_Minimal</Data>
<Data>/</Data>
<Data>C:\inetpub\wwwroot\wss\VirtualDirectories\80\</Data>
<Data>SHAREPOINT</Data>
<Data>
</Data>
<Data>5976</Data>
<Data>w3wp.exe</Data>
<Data>site\spfarm</Data>
<Data>NullReferenceException</Data>
<Data>Object reference not set to an instance of an object.</Data>
<Data>https://sharepoint.site:443/depts/IT/Lists/tester1234/NewForm.aspx?Source=https%3A%2F%2Fsharepoint%2Esite%2Eorg%2Fdepts%2FIT%2FLists%2Ftester1234%2FFlat%2Easpx%3FRootFolder%3D%252Fdepts%252FIT%252FLists%252Ftester1234%252Feqweqeqweqweqweqwe%26FolderCTID%3D0x01200200D730B5D80F52904097BAC1280EA277CA&RootFolder=%2Fdepts%2FIT%2FLists%2Ftester1234%2Feqweqeqweqweqweqwe&ContentTypeId=0x0107&DiscussionParentID=1&IsDlg=1</Data>
<Data>/depts/IT/Lists/tester1234/NewForm.aspx</Data>
<Data>fe80::5826:ac73:f198:9176%10</Data>
<Data>0#.w|site\administrator</Data>
<Data>True</Data>
<Data>Federation</Data>
<Data>site\spfarm</Data>
<Data>27</Data>
<Data>site\spfarm</Data>
<Data>False</Data>
<Data> at Microsoft.SharePoint.SPListItem.<>c__DisplayClass7.<DirtyListItemAfterUpdate>b__5()
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPListItem.DirtyListItemAfterUpdate(Boolean failed, Boolean bAdd, Boolean bMigration, Int32 ulID, Int32 parentFolderId)
at Microsoft.SharePoint.SPListItem.UpdateInternal(Boolean bSystem, Boolean bPreserveItemVersion, Guid newGuidOnAdd, Boolean bMigration, Boolean bPublish, Boolean bNoVersion, Boolean bCheckOut, Boolean bCheckin, Boolean suppressAfterEvents, String
filename, Boolean bPreserveItemUIVersion)
at Microsoft.SharePoint.SPListItem.Update()
at Microsoft.SharePoint.WebControls.SaveButton.SaveItem(SPContext itemContext, Boolean uploadMode, String checkInComment)
at Microsoft.SharePoint.WebControls.SaveButton.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
</Data>
</EventData>
</Event> -
How can I get Discussions and Announcements
I cannot see the Services Tab in the Webcenter spaces Administration, How can I get Discussions and Announcements?
WC_Collaboration is started successfully and in Running Mode.1) Go to the enterprise manager http://localhost:7001/em
2) Select WebCenter -> WebCenter Spaces -> webcenter from the tree on the left
3) On top of the center pane click on WebCenter -> Settings -> Service configuration
4) Select Discussions and announcements
5) Press Add
6) Specify the parameters that match your settings. Also make sure that you set the Active Connection checkbox.
7) Press the Ok button to save the connection
8) Restart spaces server
That's about it.
Here's some additional documentation about how to create the connection: http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e12405/wcadm_ann_disc.htm#BJFJAGEE -
No portal, only EBPuFF06SUS, vendor how to reply the bid and auction?
According to standard functions, vendor use portal to response bid invitation and auction, am I right?
Our customer have no portal, only EBP&SUS, if want to use sourcing functionality, vendor how to reply the bid and auction? any solution on this case?Hi,
Bidder logon to SUS. SUS has manu link for Bid Invitation. When bidder selects Bid Invitation link in SUS, application brings up the EBP ITS screen.
+ You have to set up bidder replication from SUS to EBP
+ Single Sign On should be setup from SUS to EBP
+ SUS bidder should have SAP_EC_SUS_BIDDER role
Please check SUS customizing.
SUS -> Master data -> Maintain Systems for Synchronization of User Data
Regards,
Masa -
TS3899 how to reply to sender of an e-mail message
how to reply to sender of an e-mail
open the email you received and tap on the arrow logo second from right on the bottom of the screen
-
How to Unsubscribe from Discussion Email Notifications
This is really an addendum to the excellent tip posted by Frank Caggiano, titled Stopping emails from ASC. I tried to add this as a Comment to his tip, but apparently comments are closed (or I'm being dense, which is always a possibility ).
One of my reasons for posting, is that I had this very question but I could not find an answer searching through Apple Support Communities. My problem, in retrospect, was that I was searching using the keyword "unsubscribe," which does not appear in Frank's post (not that it should; there are many ways to describe this situation). So, I am hoping that a tip with "unsubscribe" in the title will help users who, like me, will search for information about "how to unsubscribe from discussion emails" or the like.
I encourage you to read Frank's post (clicking on the above link opens a new window) because he explains a method for addressing this problem very well, complete with nice screenshots.
To be clear, the situation addressed in this post is the one in which you keep receiving emails from Apple Support Communities Updates ([email protected]) notifying you of a new post to a discussion you are following. And, for whatever reason, e.g., you're receiving too many emails or the discussion has gone off on a tanget, you want to stop receiving those email notifications.
I initially went to:
Your Stuff > Preferences > Email Notification Preferences,
and checked off "no" to each option. I thought that would do the trick.
Wrong.
Unfortunately that did not work because, I finally figured out, I was in the wrong "email notifications" area. Here is the correct procedure (some repetition here from what Frank posted but, the following also includes an alternative method):
Go to: Your Stuff > Profile tab > Manage email notifications (on right, under "Actions") > Click box next to the discussion you are watching, and for which you want to stop email notifications > Click "Remove Selected Notifications"
OR
Go to the discussion you are following (the one you are receiving emails about) > then, on the right side, under "Actions," click "Stop email notifications"
Best Regards,
MarkTry this link:
http://helpx.adobe.com/x-productkb/global/disable-email-notifications-forums.html -
I am new to this, so can someone please tell me how to reply to someones comment
As I said could someone please tell me how to reply to somes solution to my question.
Click the image below to see it at a legible size.
-
How do i view discussion about my print problem?
What kind of printer do you have ?
If I helped you at all it would be great if you clicked the blue kudos star!
If I solved your post please mark it as solved to help others.
I'm a printer tech with HP. -
when replying i n a d i s c u s i o n if I don't hit the spacebar, the letter won't type, then I have to backspace. It takes FOREVER to type a word
HELPI am replying from my Samsung Galaxy tablet. This also happens on other forums. It seems to help if I use the mic feature first, but then I still have to retype every word, just not all the "letter, space, backspace, next letter, space, backspace, next letter" typing.
-
How to reply BP in SRM to Backend.
Hi,
We are working with SRM 5.5 and I need transfer BP in SRM to Vendors in Backend R3.
We have classic scenario.
How can we reply the information of a vendor from SRM to R3?
Is there a program, job, rfc, transaction to do that?
Thanks.we have discussed this requirement with SAP
there is no present way to transfer the SRM external BP and ECC vendor.
But you can definitely link SRM external BP with ECC vendor
so the alternate is
for the SRM BP you want to transfer to ECC
create a vendor in ECC TXN XK01
then in SRM admin user
SAP_BBP_STAL_ADMINISTRATOR
go to link "manage business partner"
business partner -->edit
give yr BP no
go to tab "vendor"
go to bottom section "linked to backend system"
give the logical sys name of yr ECC
and the new ECC vendor code
SRM will always refer the ECC vendor code for all relevant checks
BR
Dinesh -
How to retrieve collab discussion messages hierarchy?
Hi,
I need to retrieve the replies of a specific message in a collab server discussion using the PRC. It seems that the IDiscussionMessage interface does not provide any level information of existing messages but a CreateDiscussionReplyMessage method to create new childs only.
Does anyone know how to obtain the level information of messages? Is it possible to use any dedicated IDiscussionMessageQueryOrder? It would be sufficient to identify discussion root messages in a first step.
Thanks
Matthias StammThe current PRC Collab API does not support retrieving message level information. If you only need to identify the root messages in a discussion, one work-around is to look for messages that do NOT have subject start with "re: " (since all reply messages created by Collaboration Server by default is to start with "re: " as their subject.)
-
E63 - how to reply to a message using 1 click inst...
Dear all,
I would be interested to know how one replies to a text message using 1 click instead of 3, via Nokia E63. The reply sequence that I currently have to follow is
1) click Options
2) select Reply
3) then select Via text message
Is there a direct means to get to the reply window with one click instead of three clicks?
I hope there is one because it takes time and becomes inconvenient to wait.
Thank you for assistance in this regard.
Regards,
S Ahmad
Solved!
Go to Solution.Hi sahmad7
I tried replying a message in one step but didn't succeed.
The least steps number I was able to do is 2
Before entering the message press Options then reply, and the phone will open SMS writing screen directly.
Other than that, try to get a program that is able to do that.
I hope that helps you, and please let me know
Phones I bought from 1st till now:
3210 / 3310 / 3410 / 6310 / 6600 / 6020 / N72 / E51 / X2-00 / 5310 xpress Music / E90 Communicator
If you like my post or it helped you, Give me Kodo -
How to reply with stationery in mac mail
How in **** do I reply to an email using stationery in mac mail? Surwely this can;t be an impossibility??
do it with the help of import-export wizard. Here goes the steps for youhttp://www.trickyways.com/2010/08/how-to-transfer-emails-from-outlook-to-apple-m
ail/
Your best move would be if you search for your problem on some search engine
that you use.
Typing "Convert
Pst To Mac Mail" will land you in several solution.
Or you can simply visit apple online store for this problem have a look:
https://itunes.apple.com/in/app/pst-con
... 1009?mt=12
Hope this helps
Maybe you are looking for
-
ITunes 12 incompatible with Windows Vista Data Execution Prevention
I just did a clean install of iTunes 12.0.1 after removing 11.4 and other components as described in Troubleshooting issues with iTunes for Windows updates. I'm running Vista Home Premium 32-bit SP2 with 3 GB RAM. Soon after closing the iTunes GUI, I
-
Embedded profile mismatch after saving Indesign to PDF, what to do please???
After importing some pica's from photoshop to indesign and saving it as a pdf, I noticed that my colours are totally wrong. I now get the message: Embedded profile mismatch The document's embedded colour profile does not match the current RGB working
-
Mobile server not working with Oracle9ias Release 2.
I have installed Oracle 9ias Release 2 and installed Oracle Lite 9i 5.0.2.0.0 with patch 5.0.2.8.0 The problem is I can run the mobile server in standalone mode from the command prompt, however I can not get it to load via the http server. I have loa
-
Single MVIEW LOG replicating to multiple sites
Hi, We are in the process of moving our reporting database to a new server and we refresh our reporting server hourly using MLOGS/MVIEWS. I was testing something and discovered (for myself) that a SINGLE MLOG can be used to refresh MVIEWS at two diff
-
[SOLVED] gnome / thunar won't automount MTP / USB
Hello! I was able to figure out that things would mount correctly in Thunar when I did dbus-launch thunar but then everytime I start thunar with that the gvfs processes keep stacking and starting new ones over and over and I end up with like 200 of t