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
466 views

Fixing programmatic alert URLs

Environment: SP2010 Enterprise, SQL2008R2, VS2012, full server access A while ago I created a massive amount of alerts using a c# console app I made in VS. The app ran on the server using SP ...
0
votes
1answer
345 views

Repeater control reverse order

I'm working with a repeater control that displays my list items. Everytime i add an listitem it displays it on my repeater. But i want the repeater to display the latest added item at the top. Any ...
0
votes
2answers
101 views

Set textbox MaxLength not Working

foreach (SPListItem news in items) { TextBoxContents.Text = news["Contents"].ToString(); TextBoxContents.MaxLength = 10; news.update(); } Setting ...
0
votes
1answer
743 views

<div class in textbox why?

SPWeb web = SPContext.Current.Web; SPList list = web.Lists.TryGetList(DropDownListSelectCategory.SelectedItem.Value); SPListItemCollection items = list.GetItems(); foreach (SPListItem news in ...
0
votes
1answer
308 views

Creating a site programmatically - folder does not exist on server

I'm trying to create a site programmatically using a console application, but have been getting an exception whenever I try to add a new SPWeb "The folder that would hold URL'/sites/[sitename]' does ...
0
votes
1answer
32 views

Create Sharepoint HyperLinks Help

I would like to saves multiple hyperlinks to a list. Can anyone guide me where to start?
0
votes
1answer
96 views

Could these errors be the cause of my timer job problem?

I have a timer job that runs every night at midnight. The first part of the timer job is to iterate through every single site in a particular site collection (there are many). The second part of the ...
0
votes
1answer
626 views

Detected use of SPRequest for previously closed SPWeb object

I've got an event receiver that fails, seemingly inconsistently. I've checked the ULS logs and I can see the 90hv Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb ...
0
votes
1answer
4k views

Feature activation error: System.InvalidOperationException: Operation is not valid due to the current state of the object

i have taken one List Email event receiver(Type is EmailReceived) and that event receiver attach with document library. when i am activate that feature got error. i have check on ULS Viewer. error ...
0
votes
2answers
3k views

Creating a knowledge base with SP10 possible?

I am currently trying to create some kind of knowledge base, but unfortunately couldn't make much progress in this matter. I have certain requirements of features the system must provide in the end ...
0
votes
1answer
90 views

Adding EventReceiver to Dynamic List

I am trying to add a Event Receiver to a list that is dynamically created (by code). So i cannot add a event receiver on the list directly. I found a way to attach a Event Receiver to the list by ...
0
votes
1answer
68 views

Sort alphabetically Users

When I'm Adding users, i want to sort them alphabetically. Could You help. Here is my code: SPUserCollection userzyWszyscy2 = witryna.SiteUsers; foreach (SPUser oUserKolejny in ...
0
votes
1answer
136 views

STSADM or C# script to delete all custom site templates

I want to delete Custom site templates off my farm and wondering if someone know any script I can use. Not a big fan of Powershell at the moment as I am using SharePoint 2007.
0
votes
1answer
124 views

How to add id CAML grouping?

I write this code, and I try to group by Ascending or Descending. <Query> <Where> <Neq> <FieldRef Name='Nazwisko' /> <Value Type='Note'>" ...
0
votes
1answer
56 views

Problem with performance of External List

In my company a person which are Administraiting the CRM Microsoft Dinamics give me one of External list with a Vacation of Workers in Company. I try first with list local in my project, and this list ...
0
votes
1answer
681 views

How to get count related Lookup value programmatically?

Another day, another question ;) So, I have two custom Lists, "Attendees" and "Events". In the Events-List there's a Lookupfield "Registrations" which I want to fill programmatically on page_load. In ...
0
votes
2answers
345 views

How to get elements from essential List programmatically

I have gotten two lists (like a view) from Microsoft Dynamics CRM. How can I get a elements from these two lists to the C# Sharepoint code in .cs file. The Administrator of CRM told me that this lists ...
0
votes
1answer
77 views

Attachment Problem…?

hi i am using built in attachment in a list i have created an textbox and a button and i would like to show the url of the attachment in the textbox TextBox1.Text = ...
0
votes
1answer
404 views

Uploading file to pic and doc library

I'm working with a webpart and saving the data to a SPList. I also got two fileUpload controls and i want to upload a picture to a picture library and a document to a document library. Is that ...
0
votes
1answer
346 views

Update ListItem

Solved it with a hiddenfield control: public void MyData(string prod) { SPWeb web = SPContext.Current.Web; SPList myList = web.Lists.TryGetList("YourList"); if ...
0
votes
3answers
558 views

remove div tags from textbox

Any clue why i get the output in my textbox_moreinformation look like this?: COLUMN VALUE I'm working with two webparts, the provder webparts values i want to display on my consumer, and i only want ...
0
votes
2answers
99 views

Does Pages in SharePoint 12 hive have code behind files

I am not sure if we call them application pages or something else but am talking about standard sharepoint forms like "NewForms.aspx" or "EditForm.aspx" for lists in 12 hive. Does they have any code ...
0
votes
1answer
76 views

How we can update the sherepoint elements in event Receiver ItemUpdated or Item Updating, or add a column in ItemsAdded

I tried to do Cascade deleting in two of my colums. If I deleted in First List record i wated deleted all records at Secound List bounded with records from List One. I adding bounded data first in ...
0
votes
2answers
1k views

Add document to document library with more fields

My question is regarind adding a new item to document library programmatically. Basically, when I add an item to document library it goes as follows: In a document library i click add new and i ...
0
votes
2answers
466 views

How to send dynamic parameters in url of sharepoint modal dialog options

I have the following code for the javascript modal popup. function ShowSearchBox() { var options = { title: "Search Here", width: 760, height: 380, url: ...
0
votes
1answer
58 views

I have got a two CAML Queryies. How Could I done to see them in 3 montths from today

I have got a two CAML Queries. How Could i set them to see all object on ASP Calendar 3 months from today day? Here are the Queries: string DateOnlyQuery = "<Where><Eq><FieldRef ...
0
votes
1answer
3k views

How to import a csv file to the SharePoint list on the fly

I need to import in the fly day by day a records to a Sharepoint list. At end of a day I need to import a upgrade of vacation users from ending day and add them to the list. How Can I do it. Please ...
0
votes
1answer
211 views

How to update existing record of list one of two in Event Receiver

I have got a problem how to update Secound list which is made by First list. All must be in Event Receiver. How Can I made difrent Event Receivers update to Diferent Lists Could You Help me with his. ...
0
votes
1answer
186 views

How to Update properties of sharepoint 2010 feature

I have a problem with updating the properties of a sharepoint 2010 feature this is my code : using (SPSite site = new SPSite("http://vm-pc:2000")) { foreach (SPFeatureDefinition ...
0
votes
2answers
30 views

Giving a rights to the webpart

How Can I give a rights to the webpart. Now only I can see projecting by me webpart. I getting this error when I try to open each of user without me: How Can I set a User privilages to the grup. At ...
0
votes
1answer
65 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 ...
0
votes
1answer
105 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> ...
0
votes
3answers
509 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
346 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
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 ...
0
votes
1answer
183 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
618 views

Problem after transferred a solution from SharePoint Foundation to SharePoint Server

After I transferred my solution from SharePoint Foundation to the production SharePoint Server some features don't work from My project. I am getting error when I try to add another web part or a list ...
0
votes
1answer
73 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?
0
votes
1answer
122 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
159 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 ...
0
votes
1answer
272 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
112 views

Method not found after adding code class to SharePoint Web Part

I'm creating a SharePoint Web Part that displays list items. To display these items I am using an asp:ListView and <%#Eval() %>. I needed to change the output of <%#Eval() %> so I added a ...
0
votes
1answer
736 views

Select a ribbon tab Ribbon.read with a button

My question is simple: How do I select a ribbon.read with javascript? For example i have a different tab selected but clicking on the button i would like to select Ribbon.read ... any adivces? ...
0
votes
1answer
115 views

Display Name and Internal Name

I has this Code: var query3 = new SPQuery(); query3.Query = "<Where><Eq><FieldRef Name='Dzien' /><Value Type='DateTime'>" + ...
0
votes
1answer
79 views

If a change a name for the column of the list how can I get it back

If I made a list in first time and puts a names on them, it's work good, but when I rename it, and want to call back from the code, it don't see the rename title of items colums. How can i call to ...
0
votes
1answer
122 views

Tutorials CAML for Sharepoint

Have You know any CAML Tutorials ? At most i would like to find any Tutorial for U2U CAML Query Builder. Please help.
0
votes
2answers
54 views

Problem with two loops on rendering in calendar

I have got problem with two loops. If I adding one its good, but with more it duplikates or more the values. I put this 3 Values {1/8, 1/8, 3/8} And want to get in sum 5/8. Because 1/8+1/8+3/8 = 5/8 ...
0
votes
3answers
53 views

Adding a Sum to callendar

I want to Sum values String Values of percents{1/8, 2/8, 3/8, 4/8, 5/8, 6/8, 7/8, 8/8} which are strings. And I want to sum percent's in days. Only in this same day. I write a code, but it isn't work: ...
0
votes
1answer
70 views

Linq, how to put a indexes on Linq Query

I want to render a dates from list to the ASP Calendar. My list look like this: Kontrakt | Pracownik | Dzien | ID | Procenty -------------------------------------------- I made Linq Query, but ...
0
votes
1answer
381 views

CAML Query to Render a dates on Calendar

I am trying to learn CAML Queries. I must render a lot of data on Calendar. I made a code, but if it has got more then 1000 elements it's doing very long about 4-5 seconds. It's longer then adding to ...