I am trying to create a web part which will list all the items from the site collection i.e. from each web site's document library. I am using the following code.
SPWeb web = SPContext.Current.Web;
SPSiteDataQuery query = new SPSiteDataQuery();
//Ask for all lists created from the document library template.
...
Hello.
Trying to use features to deploy custom fields, content type and list. So far I have a content type referencing custom and builtin fields. Content type inherits Item (0x01).
Now, I create custom list definition that references content type and fields (builtin and custom ones). I explicitly set ShowInDisplayForm, ShowInEditForm, ...
I have a POV that you should only use SharePoint for application development under these conditions.
1) The application uses documents and these documents need some sort of functionality that SharePoint does extremely well (searching/indexing, sync with Outlook, etc...) If all you want is a document bucket and a list then ASP.NET or ASP...
Hi
On my WSS server I have run the following stsadm command to filter the people picker results:
stsadm.exe -o setproperty -url http://myserver -pn "peoplepicker-searchadcu
stomfilter" -pv "(memberOf=CN=SharePoint,OU=AccessGroups,DC=contosio,DC=local)"
My WSS sites are all used by different groups of users.
Whenever I create a new si...
Does anyone know of a solution that provides functionality to Microsoft Sharepoint that offers Stackoverflow like functionality?
...
I am new to SharePoint but I learn quick.
I want to trigger a workflow only when a value is updated in a list item, but not everytime the item is changed. For example I have a column for approve/not approve and I want that to be the trigger not the other values in the item. So if anything else is changed the workflow will not start unle...
I need to create a view that will automatically change from month to month to show only the current month (i.e. if current month is July - show items posted in July). Currently I have a view set up, but I have to manually change the month each time it changes (it's set up based on the first day of the current month and the last day of cu...
Hello-
I am using STSDev to build a Sharepoint solution package. I created the project using the STSDev "Feature with assembly" template. I have added additional features to the project that I would like included in the solution.
My problem is that STSDev is not adding the files for the additional features to the manifest.xml file and...
I would expect something like this to work but the ListItem, BeforeProperties, AfterProperties are all null/empty.
I need the file name and file content.
public class MyItemEventReceiver : SPItemEventReceiver {
public MyItemEventReceiver() {}
public override void ItemAdding(SPItemEventProperties properties) {
SPListItem ...
Hi
Now that Microsoft has started giving us a glimpse of what's going to be in SharePoint 2010, I would like to know what you think is going to be the most important feature of SharePoint 2010.
Please include some information about your relationship with SharePoint (End-User, Super-User, Administrator, Developer, ...)
...
I have a Teamsite that is built around an event that occur in a certain week, The site contains a calendar with the activities for that week.I want to have the calendar display default to showing that week, rather than the current week. Can this be done out of the box?
...
What I need is to clearly differentiate between the attachments (this is an approval, this is an offer, this is a PO, etc).
Is this possible, or it is working only in bulk (attach all files together)?
Thanks,
...
I am planning to get Sharepoint (MOSS) setup on my home development workstation and one of the things I read about using virtualisation (I currently have Vista, need Windows Server) is that you can install VMs with different OS's (eg Vista, Server) or you can run one OS with the ability to do development on Sharepoint/MS CRM etc which is...
Hello, I'm a newbie to SharePoint development.
I have a task to develop a web part with the functionality of a questionnaire.
The administrator creates a questionnaire. Then the users fill in the questions. Later, the administrator can access the results for each user and build some reports from it.
It is difficult for me to imagine h...
As all you know, Sharepoint 2003 has simple access rights privilages. You can only grant rights (Reader, Contributor, Administrator) but unfortunatelly you can not deny access. So, if someone is not welcome in SharePoint portal there is no simple way to restrict access for him.
I found nice articles how to secure access to certain page...
Our intranet was originally setup to be at the root of its site collection. We are trying to change this so that our new internet site will live in the root and the intranet will be a sub-site.
At this point I have created a new web application and site collection to house the internet and intranet. I used the 'stsadm -o backup' command...
We're currently investigating what kind of authentication we want to use for a sharepoint portal site : Forms Authentication or Windows Authentication. The latter has my preference.
What suprised me (I'm a sharepoint noob), is the fact that MS didn't provide a component/web-part that handles account management when using Windows Authent...
I need to keep my columns header, so people can see what data is displayed there, but I can not find if it is possible, or how to do it. Also will be nice to add a navigation bar to the list. Any suggestions?
Thanks,
...
I have written a user control for our SharePoint site that builds an HTML menu - this has been injected into the master page and as such ends up rendering on all pages that use it. There are some pretty computationally expensive calls made while generating this HTML and caching is the logical choice for keeping the page loads snappy. The...
I'd like to expose a web part to some users, but not all of them. How can I show or hide a web part in the Add Web Parts pop up window? I'd like to do this through code, and I'm hoping to use SharePoint Roles to make this happen.
...