The process of developing software, including requirements gathering, solution design and analysis, implementation, testing, deployment, support and maintenance.

learn more… | top users | synonyms (3)

0
votes
2answers
8k views

How to get programmatically all Groups from a site collection

I need to know all groups in my site collection... If I use using (SPSite scSite = new SPSite(fullsite)) { using (SPWeb scWeb = scSite.OpenWeb()) ...
0
votes
2answers
4k views

sharepoint document file url to filestream

i want to retrieve the files from sharepoint document libraries url to filestream using aspx and c# coding. Can any help me how to do it......?
0
votes
1answer
71 views

Cascade Deleting Element from Secound List after chosse the elements from first list

I must do Cascade Deleting when I delete one Element in First lists, it's deletes me all bounded elements from another list's. I only must set a lookup fields at Adding Items. When I chose by editing ...
2
votes
2answers
3k views

How to get item count for a List's View?

I have a Sharepoint List called "Tracker" that represents customer-submitted defects. I have a View on this list that only shows the items created in the last 7 days. This view works just fine when ...
1
vote
1answer
381 views

CAML how tu change Query to get a Range from Date Start, to Date End

I have got a list with the specyfic column Nazwisko | DataPoc | DataKon | I'm made a procedure like You told me, but debbuger told me that it's not coming to the loop for. string ...
0
votes
1answer
47 views

How to make faster readable elements from the list?

I have an ASP Calendar, which shows elements from the list. If I try to bind the elements to the list, there are a lot of elements for example 35 429 elements. It takes up to 4 minutes to load this ...
0
votes
1answer
367 views

CAML query how to change to get a range from a date start to date end

In the code sample below, how should I change it to take a date range in a CAML query? string FullQueryUrlap = "<Where><And><Geq><FieldRef Name='{0}' /><Value ...
0
votes
2answers
534 views

The impact of BreakRoleInheritance()

I call BreakRoleInheritance on a document (the actual list item) in order to assign someone of less permissions the 'contribute' rights to that particular item. In doing that, have I 'broke' the ...
0
votes
3answers
551 views

Webpart properties getting empty after IIS Reset

I created a custom visual user control webpart property for my SharePoint webpart. The property has a textbox which is getting empty after an IIS reset. Can anyone tell me how to solve this issue ...
0
votes
1answer
114 views

How works in CAML Data field like NoW and Today, and adding range + One month

I take create on U2U a Calm Query with adding a dates + 1 Month, or minus one month. How will this Query will works? <Query> <Where> <And> <Geq> ...
1
vote
1answer
498 views

Creating Site column with a custom SPFieldType

i have this solution deployed on my sharepoint. http://ilovesharepoint.codeplex.com/releases/view/44989 And i created a Site column of type Lookup with picker that is from the above solution. ...
1
vote
1answer
666 views

Item-level permissions on document library

I ultimately want to grant users edit permission only on the items they created. According to this article: http://www.hersheytech.com/Blog/SharePoint/tabid/197/entryid/28/Default.aspx I can do ...
2
votes
5answers
1k views

Use of Virtual Machines for Sharepoint Development

I am beginning with sharepoint Development, I was looking for Suggestions and quite a bunch of tips for Developing for Sharepoint on VM's or in Physical Machine. I have set up Windows Server VM ...
1
vote
0answers
77 views

Hiding Custom Action for Just one document library

I have a custom action deployed for a site collection, now if I want to hide it for a custom document library is it possible. Also this is what I am doing actually, can you think a better way of ...
0
votes
1answer
39 views

Number field on custom content type working inconsistently amongst items

In a document library, I've included a field of type 'Number' in my custom content type. At a particular point in my solution I increment this field by 1. On certain items it will work, on certain ...
1
vote
1answer
905 views

Rating's not being saved

Initially, I thought there was a problem with a control I've made to rate a document when I found that no documents appeared to be rated. So last night I rated documents (approved and published) ...
3
votes
1answer
117 views

Can someone help me use SharePoint 2010 to do data processing?

TL;DR: I need to create a system in SharePoint in which a user uploads an Excel (or CSV) file to the site from a webpage. The site takes the uploaded document and uses it to populate a list. Then it ...
3
votes
1answer
219 views

Custom Action Safe Control 2007

In extension to this question of mine, If I put location of custom action as "Location="Microsoft.SharePoint.StandardMenu" it gives me error Failed to create a control from assembly '', class ...
1
vote
1answer
45 views

Creating tasks simultaneously, freeze.

I am working with two workflows, both of them have been done in C# by using Visual Studio within SharePoint 2007 , the first one is activated when a document has been updated and copies the file into ...
0
votes
1answer
230 views

Force Download pdf in document library programatically

I have document library with name "magazines". containing several pdfs, I'm using caml to view these items on one page pdfs. Added 2 links on this page to the user view pdf online, and to download. ...
1
vote
1answer
31 views

Foreach listing Elements from list how chose a element before and after

If we foreach a object elements in loop, I want to add or delete before, or after some elements. How I can I do at the loop foreach. Please help.
0
votes
1answer
208 views

Custom ribbon button on 'Edit Properties' dialog box ribbon?

In a nutshell - I would like a button somewhere on the ribbon (custom action?) that, when clicked, will form a string which includes the current web's ID and the list item ID. How do I go about ...
0
votes
1answer
66 views

Import list Sharepoint from Excel

How to import from Excel to Sharepoint without any Font Face. Now when I'm importing the 1020 elements from Excel to sharepoint it always gives me a this code: <font face="Tahoma" ...
3
votes
1answer
4k views

Programmatically set data source link for SSRS Report files

I have a scenario where I export/import a site collection with the Content Deployment Wizard. The problem is that all Reporting Services (SQL Server 2008 R2) reports (all located in the same document ...
1
vote
2answers
3k views

Programmatically Get Page Layout being used by a SharePoint Page

Wondered if it's possible to iterate through the pages held in the pages library and determine the page layout being used by each page? any c# code examples appreciated. Many thanks in advance
0
votes
2answers
861 views

The type is not registered as safe “Custom Actions”

I am trying to create a custom actions using wsp builder, My folder structure is something like this, Now when I try to deploy solution nothing comes up however I get this error in my ULS log, ...
4
votes
4answers
3k views

SPItemEventReceiver ItemAdding - Differentiate between a file and a folder

I've setup a custom event receiver. The purpose of my event receiver is to stop people from uploading any file type except PDF's. Right now my code looks like this: if ...
1
vote
1answer
39 views

Team Fundation Server and programing in Sharepoint

If it is posible to Integration programing in Sharepoint with Team Fundation Server ? Can it be made in server and trying to run projects from TFS ?
1
vote
0answers
106 views

Securing Individual Methods on Custom Web Services in SharePoint

I've created several WCF services USING CKS:DEV to be hosted in SharePoint and accessed on SharePoint pages using SharePoint. I'm using the MultipleBaseAddressWebServiceHostFactory for hosting purpose ...
0
votes
0answers
60 views

How to run a Modal popup, or javascript popup when some change in code

I want to execute a warning popup from a webpart when the value is out of range. pop up must be created by the code behind
1
vote
0answers
401 views

Content Types not visible under New Button

I have a Sandboxed Custom Action for SharePoint Designer that can add Content Types to Document Libraries. The problem is that it does not automatically add it under the "New Document". It's not ...
1
vote
2answers
81 views

How can one reset themes as they are changed?

Is there any way of catching when a theme is being changed -- so that I can fire a ThmxTheme.RemoveThemeFromWeb? The option to change the theme is currently hidden in our farm, but we can't disallow ...
0
votes
1answer
70 views

2007 vs 2010 Core API differences

As the title says, im trying to find out how different the core api's are between sharepoint 2010 and 2007. dont care about packaging etc
2
votes
2answers
99 views

File size limit for a document in SharePoint is actual file size or file size on disk

The file size upload limit for a document is 50mb by default but is it file size of the document or file size of document on disk.
0
votes
2answers
253 views

How many element can List have to work effectively

I must do a project with 360000 element's on list. Are the list can geret with it ? How make fast a queryes on the project ? Where shall I put indexes, and should I made a orderby on Query CAML? ...
0
votes
1answer
244 views

How to Integrate STSADM command within Windows Form App

I am developing a Windows Form Application which will have one option as "Export a Site" and another to "Import a Site" I want it to be done using following STSADM commands but not sure what I need to ...
0
votes
1answer
32 views

How to backap a list with a dates older than a half of Year

I want to backup a list when a dates are longer then one half of year. How can I do it on list? I have got a list: Contract | Worker | Day | Percent ...
1
vote
1answer
134 views

How to prevent alerts from SPEmailEventReceiver?

I have been struggling with a small but irritating problem for a while now and suddenly I ran out of ideas. I have implemented an email event receiver in Sharepoint 2010. The event receiver creates ...
1
vote
1answer
2k views

Why we shouldn't use SPWeb witryna = SPContext.Current.Web;

How should change a code to use another conect to site in Sharepoint. Which code, to change SPWeb witryna = SPContext.Current.Web; Here is my examplary code: protected void ...
1
vote
3answers
2k views

How do I get all list views by using a web service?

I'd like to get all list views via web service using C# code, containing the columns: modified by created by subject body id created modified How can this be done?
0
votes
1answer
75 views

How to change a production url in the Visual Studio

I projecting site local on Sharepoint Fundation. Now I would like to change the enviroment to the productive server. How change url to deploy Solution?
1
vote
2answers
101 views

Confirmation Box while Item Adding event Moss

I need a confirmation box for Item Adding event on a custom document library, can someone tell me what would be the best way of doing it using C# or I don't mind using jQuery/Javascript plugin either. ...
0
votes
1answer
180 views

Refresh Site from Adding Item

Hello I tried refresh Site from Adding Item, but if I try too Use SPUtility.Redirect("http://gzawistowskilap/SitePages/Event.aspx", SPRedirectFlags.Trusted, current); it's giving me a error which in ...
1
vote
0answers
112 views

SPListItem.Tasks always empty

I have a custom sharepoint (2007) list (named testlist) on which I attached a test workflow (built with sharepoint designer 2007 and named testwf), which only task defined in the 'Actions' section at ...
-1
votes
1answer
3k views

Modal pop up in Sharepoint

How to create modal popup in Sharepoint I want to put 3 or 4 times java script promth or alerts in the site. How should I made them ?
0
votes
1answer
129 views

Simple permissions question

I know how to grant someone certain role to a list (contribute or read for example) using C# such as: SPRoleAssignment userRoleAssignmentCont = new SPRoleAssignment(allUsers); ...
0
votes
1answer
441 views

Hide a Site Column in NewForm and EditView

I have created a custom site column. I have added this to my custom content type that inherits from the document content type. I wish to hide a field on the edit and new forms. I have the following ...
0
votes
1answer
312 views

Custom Actions all document libraries

I want to develop a "Custom Action" for all of document libraries in a site collection, I tried looking on Google but couldn't find any relevent tutorial. Custom action has to be in "Actions" and ...
0
votes
1answer
33 views

uploading a document to one location and have it replicated on other sites document library

What would be the best way of uploading a docuemnt to one location and have it replicated on other sites document library. I know I can use workflow, event receivers but then there will be ...
1
vote
1answer
61 views

Include in SharePoint 2010

I have a custom HTML menu in my MasterPage. I would like to have it in a separate file so it can be easier to update. Is it possible to do an Include?