422 reputation
214
bio website
location
age
visits member for 2 years, 9 months
seen Jun 28 at 6:30

Sep
18
comment Tracking User Activity for badges
I did, but ended up putting it on hold for a bit. It involves a lot of event listeners.
Jul
30
comment How to create an effective Product Key for an installable WSP
Sure, but how do I integrate it into the application? Newsgator has an installer that accepts a key, as do a few other SharePoint solutions. Do they check a webservice for validity?
Oct
24
comment Proper way to get all lists of a certain type from an entire site collection regardless of current location
@PirateEric I'm bypassing the SharePoint UI entirely because it's terrible for end users to interact with a content query. I'm asking a specific question about the code at this point for a good reason.
Oct
23
comment Proper way to get all lists of a certain type from an entire site collection regardless of current location
@DaveWise Once I find the list, I need to get the ParentWeb Guid, and the List Guid to access the list directly in the future to provide the feed.
Oct
23
comment Proper way to get all lists of a certain type from an entire site collection regardless of current location
@PirateEric Content quiry doesn't work. We're presenting the results in a custom UI.
Oct
16
comment How to use People Picker and True Rich Text, cross browser
Never knew about PeopleEditor! Thanks. I wanted to stay away from JQuery, but it beats trying to embed and dual-deploy a Telerik control or something of the like.
Oct
15
comment Correct way to use the people picker and Rich Text
Is this deployable? It's going inside a Site Definition, so the GUID's being used may not be constant.
Oct
15
comment Safely return all lists in site collection that match criteria
Read the last line. I'm failing ONE line later (so close). I'm having trouble, because (for example) if the webapplication is http://rootsite, then http://rootsite/my is part of the webapplication.sites, and the user may have no access there, and any attempt to read any data from the SPSite object will yield an exception. Strangely, it lets me get the AllWebs object, but any attempt to read from it will yield an exception. I need to determine if the user has access to the SPSite object, but not one on earth seems to know how to make SPSite.DoesUserHavePermissions() work
Oct
15
comment Safely return all lists in site collection that match criteria
Thanks! Very close here, I think. I don't want to get the list items, only the names of the list. Once a user selects a list I will query it directly. I'm having trouble, because (for example) if the webapplication is http://rootsite, then http://rootsite/my is part of the webapplication.sites, and the user may have no access there, and any attempt to read any data from the SPSite object will yield an exception.
Oct
15
comment Safely return all lists in site collection that match criteria
Thanks! I should have mentioned the exception is firing in the foreach (SPWeb oWebsite in collWebs) line. This would work great if I could enter into that loop and evaluate each web independently.
Oct
15
comment Safely return all lists in site collection that match criteria
Right, which gets us back to the question at hand. How does one do that without accessing the list iteself? All my attempts so far will generate an exception.
Oct
15
comment Safely return all lists in site collection that match criteria
But this will return lists that the user doesn't have access to. I want to maintain security, just not at the expense of application stability.
Oct
5
comment Get all SPLists for a site collection
I thought about that, but on a large enterprise farm this could be hundreds of thousands if not millions of list items. Every item would grab this information and send it to a collection where I would have to check for duplicates. Additionally, SPSiteDataQuery returns a datatable, not an SPListItemCollection, so that information would have to be mined to begin with.
Oct
5
comment Get all SPLists for a site collection
Yeah, I've seen that, but that answer is just another question complaining about lack of support. I'm looking either for confirmation that my method is sufficient, or for an alternative that is better.
Oct
4
comment Get all SPLists for a site collection
Because this is going to be a Site Definition that can be deployed anywhere, and I'm creating a UI to allow people to pull in content from all over the farm.
Oct
4
comment Error in code sample on MSDN?
Excellent, fast response. Thanks Ashish.
Sep
25
comment Custom Web Part to get all Reminders for SPUser from Project server
That looks like it's specific to SharePoint standard tasks, not Project Server tasks. It IS helpful, though. Upvote for you!
Sep
10
comment Pass Parameter to specific instance of Web Part with GetLimitedWebPartManager
The sender is a click event. (Of an asp button inside the webpart.) Maybe in the parent chain.
Sep
6
comment Better way to pass parameters to web part
From a visual standpoint, this gets the job done. However, it would mean adding an additional webpart for every webpart I create, and then having the user set up the connection. Maybe I can make use of that ITextBoxString somehow.
Jul
9
comment Is an UpdatePanel a bad decision?
But the UpdatePanel is firing button_click events which trigger server side code. If I use JQuery for example, I expose my entire List Update method client side. Doesn't the UpdatePanel allow me to hide siginificant parts of the code Server Side?