How to show Failed status in Sharepoint Timer Job
I want my timer job to display failed status on certain condition. Should I just throw an exception or what? ...
I want my timer job to display failed status on certain condition. Should I just throw an exception or what? ...
Hi All, I have a web part connected to another (provide a row to). It shows the radio button that when clicked correctly provides the data to the second web part. Can I have this radio button selected by default so that it automatically provides the filter data as soon as the page is loaded? Thanks in advance Sachin ...
Trying to pass a date to an add item with the Lists web service using: string item = "<Method ID=\"1\" Cmd=\"New\">" + @"<Field Name=""AcceptanceTime"">" + DateTime.Now + "</Field>" But it's generating an exception: 0x8102001c Invalid date/time value A date/time field contains invalid data. Please check the value ...
Adding a list item via the SharePoint web service model, any idea how to add an attachment to the list item? ...
I have a web part that is installed using a feature. This web part has a css file that is deployed and I need to tweak it, but can't find it anywhere. I suspect it might be in the SQL Server DB. So how can I find it, edit it and see changes on the fly? Thanks. ...
I am trying to use the WSRP producer with WSS. Is this possible or do I need MOSS? How can i pass the user credentials to SharePoint Server? Please see my log http://pastebin.com/m501eef46. ...
We have a Sharepoint project where we have deployed the dll's of the project to the GAC. We have seen that the best practices is to have them in the bin directory. This is based on the information in the answer to this question: http://stackoverflow.com/questions/1073347/web-part-dll-in-gac-or-bin-using-sharepoint-2007 What are the ste...
Hi, Background: I have an items on the sharepoint list. I also have a corresponding folder in a document library that contains documents about this item. I want to be able to get to this folder straight from the item properties. I have tried to create a lookup column containing folder ID, but that doesn't help cause folder is not a typ...
Is it ok to have 32bit dev and test environments with SharePoint? The reason that I am asking is because in my experience most productive large scale MOSS implementations are 64bit. I work for a company now who have very little experience with SharePoint, and I would like to give them the best advice possible, that is to try and keep t...
Hi I've been asked to create a web part in Sharepoint that lists up the last 10 documents the user has accessed in a Site collection. My client wants a quick way for users to access documents so that they won't have to dig through a folder structure to find a document, since users most of the time access the same document over and over...
Using SPList I want to get all the webpart urls that associated with the list. Is it possible? ...
Background I want to put a lookup field in sharepoint list that will point to a folder. Thats the easy part, but I want user to be pointed to folder contents (not the folder properties) after clicking on the link. It's not possible from the sharepoint interface so I'm trying to create custom field type. Question What method should I ov...
I am new to sharepoint therefore don't know much - any help would be highly appreciated. Basically i want to programatically (in the same project) :- 1. create a List and make it a Gantt View 2. Add add appropriate cololumns (that would generate the Gantt chart) to the List 3. And finally i would like to add values/data to the coloums ...
I got following error... System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.SPListItem.get_UniqueId() at ConsoleApplication1.Program.Main(String[] args) in Program.cs:line 21 running following code using (SPSite site = new SPSite("http://site/")) { using (SPWeb ...
Hi, I want to place a custom webpart on the main page of my sharepoint portal that will look through a specific list. I want also to look for the information in the specific fields (like name, surname, phone number etc.). In MOSS 2007 we have Microsoft.Office.Server.Search namespace but is it possible to write this kind of webpart in WS...
I am trying to create a list template in SharePoint Feature using CAML. I have two content types "News" and "News Release" they both share two fields called Overview and Description. I have been reading that the "listtemplate" caml element does not automatically add the fields from the content types, you need to specify all the fields. ...
I am looking to create a dropdown list on my default.aspx page which i want it to contain List documents/pages and when the document/page is selected the page should redirect to the selected document/page. Any suggestions of how this can be done please? any examples/samples would be grealy appreciated? Thank you :) ...
I would like to know if its possible to change permissions on a folder (and I guess all its child objects) and I need to do this in a workflow. Any ideas how this is done. I can program the functionality if required? Thanks ...
I have a task list which contains tasks which are submitted on the end date of every project phase. I need a list view which displays the submissions for the most recent project phase. Currently, this is implemented by specifying the most recent project phase end date as a filter condition. Whenever the tasks for the new project phase ...
I am looking for a good tutorial with sample code to create a custom document library by using a feature. I don't need to create a whole custom template, all I want is a new document library instance of the base document library , when the feature is activated. Thanks in advance ...