131 reputation
5
bio website
location
age
visits member for 2 years, 10 months
seen 20 hours ago

Sep
9
comment How to get another user's (including current user) followed sites
Can we get some feedback, @user29842? Please mark as answered or add additional follow up comments. Zombie questions hurt everyone.
Sep
6
comment how to get list data in sharepoint 2010 using csom
You can specify ViewFields in a CAML query. The syntax for doing so depends on which CSOM you are using (managed or client-side). In your example, you'd set only field A as a view field. See msdn.microsoft.com/en-us/library/ff798388.aspx.
Sep
6
comment how to get list data in sharepoint 2010 using csom
Are you leveraging the managed CSOM (C#/VB) or the JavaScript CSOM (also called JSOM)?
Jul
27
comment Can't change a property in an event receiver
Is your intent to set the "Reference Number" property bag value or rather a field on the list item by the same name? Assuming the former, you need to call Update() on Properties, too, not just on the list item itself.
Jun
27
answered How to get another user's (including current user) followed sites
Jun
25
comment How to get another user's (including current user) followed sites
Update: I'm now able to enumerate followed sites for arbitrary users using a PowerShell script as well as a SharePoint console application. However, the same code used in the context of a non-null HttpContext (i.e. a web part) still returns an empty array. GetFollowedCount() returns 0 as well. Nulling out the HttpContext doesn't work either. For now, I'm refactoring in order to leverage the FollowedItem objects resulting from a call to UserProfile.FollowedContent.GetItems(). So lame...
Jun
25
comment Powershell GetFollowedCount returns 0
Thanks for your answer, Todd. Just to clarify, you wrapped the entirety of the script in your question in an elevated block, or just a select portion of the script?
Jun
24
awarded  Organizer
Jun
24
revised How to get another user's (including current user) followed sites
Added some additional tags and made some minor clarifications.
Jun
24
suggested suggested edit on How to get another user's (including current user) followed sites
Jun
24
comment How to get another user's (including current user) followed sites
Also, apparently you can get to another user's followed content via UserProfile.FollowedContent, but you cannot easily go from an array of FollowedItem objects to an array of SPSocialActor objects, as far as I know.
Jun
24
comment How to get another user's (including current user) followed sites
I have SP1 installed and am noting the same behavior. I have also tried: impersonating via user tokens, temporarily nulling out HttpContext.Current, rebuilding HttpContext.Current entirely, using a UserProfileManager constructor overload that includes an ignore privacy flag, etc. I'm even unable to enumerate followed sites for all users using PowerShell or a console application, which is weird.
Jan
4
comment Adding Report Viewer Control on Custom Web Part ASCX Control
Ah, cool. Glad you figured it out. With the correct reference in place are you good to go?
Jan
4
awarded  Commentator
Jan
4
comment The remote server returned an error: (401) Unauthorized sharepoint
What type of authentication you are employing within the target web application on Domain A? And does the SharePoint server on Domain A know who username is? You may also want to see: sharepoint.stackexchange.com/questions/35933/…
Jan
3
comment Best practices for building a SharePoint Extranet
Link to case study is dead. Not surprising due to the age of the question/answer. I thought it was worth mentioning, however.
Jan
3
comment Adding Report Viewer Control on Custom Web Part ASCX Control
Yes, but the existing references may be pointing to the older assemblies (8.0.0.0 and 9.0.0.0), not 10.0.0.0 (see the threads in those links). Are you using three different versions of the Report Viewer in parallel?
Jan
2
answered Adding Report Viewer Control on Custom Web Part ASCX Control
Jan
2
answered Using SP's document rendering engine in a 3rd party utility
Dec
31
comment share point Page layout AJAX
I'm going to need more information than "it doesn't work." Which part? Does "message.d has text with href control in it" mean that if you alert on message.d you'd get something like "<a href="#">Link</a>"?