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

Uploading an InfoPath form programmatically

I know how to upload the published xsn InfoPath form, but when I try to open it, the form can't find its code behind assembly dll. Does anyone know how to add that? I know it gets put in hive 14 ...
0
votes
1answer
532 views

How to Programmatically load a SPList from an Generic List…?

After running the program... I check my site and only see city5. I also have a console app that undoes all below. The foreach loop only works for the last item. Tying to load all 5 cities... ...
0
votes
1answer
344 views

content query webpart, show document libraries items only

The following code adds a cqwp, and it works almost fine. When I go to design view, the type is Assets Library instead of Document Library. What am I missing here? #region Last updated documents ...
0
votes
1answer
413 views

How can I access/set stsadm properties from code?

I'm trying to set the ChangeLogRetentionPeriod stsadm property from code, which is normally set from the SP powershell. What is the best way to go about setting this property from code? Background: ...
4
votes
1answer
8k views

CAML Query Lookup/Choice Value Type as Text

So, here is some lines of code that i write to retrieve data from Sharepoint list using CAML query. string qryCaml = string.Format(@"<Where> <And> ...
0
votes
1answer
24 views

COM ListItem not updating

ClientContext cl = new Microsoft.SharePoint.Client.ClientContext("http://" + "mysharepoint" + "/" + SubWeb); System.Net.NetworkCredential cred = new System.Net.NetworkCredential("myuser", "mypass", ...
0
votes
0answers
38 views

Problem in mail web part

I wrote this code to send mail but there are exceptions in running it. public string SendEmail(string mail, string password, string to, string subject, string body, string filePath) { ...
0
votes
2answers
4k views

How to programmatically check if the current user has permissions to a site collection?

Given the URL of a site collection root, plus the current logged in user, I need to know if the user has permissions to at least see the welcome page. If there is no Welcome Page set, then I need to ...
1
vote
1answer
2k views

Customize SuiteBarLinks without removing NewsFeed, SkyDrive, and Sites

I want to customize the suitebar links and I already did with a delegate control the only thing is that it removes the existing links, newsfeed, skydrives and sites and I want to keep them public ...
0
votes
1answer
110 views

CAML query, only want to render days in Calendar

I'm new in CAML. I try to learn it. I want to render a day's on ASP Calendar. Have got a list with 5 colums/fields: Kontrakt | Pracownik | Dzien | ID | Procenty ...
0
votes
1answer
321 views

Get reference to the document library sharepoint 2013

I want to get reference to document library in code using SP 2013 by url, I am trying the SPWeb.GetList(url); but it works for lists only. any help?
0
votes
1answer
55 views

Developing a custom NewForm

I have created a custom layout in _layours/PhoneBook/createform.aspx and then wrote the following code to run upon activation: private void newAddFormForMembers(SPWeb web) { SPList ...
0
votes
0answers
22 views

Where in MS SQL Server 2008 R2 are list content [duplicate]

Where in MS SQL Server 2008 R2 could I find out a content from all lists which I have got in my Site Colection. If I oppen MS SQL Serwer 2008 R2 I see a lot of data bases, but I don't know in which ...
0
votes
1answer
40 views

Sharepoint not Installed

Hello I'm trying to create a sharepoint 2010 project. I have Sharepoint as well as Visual studio 2012 installed on a VM, but when i go to create a new sharepoint project it tells me "Sharepoint not ...
0
votes
1answer
113 views

Creating directory structure from custom ribbon action

Environment: 2013, VS2012 I'm trying to develop a custom ribbon button for a document library that creates a folder (ie: a new project) and populates it with a hierarchy of sub-folders. I have some ...
1
vote
0answers
156 views

how to update Document in doc set

I've been trying to update the file name of a document inside of a doc set. I continually get either a "Invalid data has been used to update the list item. The field you are trying to update may be ...
0
votes
1answer
604 views

Order of web parts programmatically added to SharePoint page

I am adding multiple list viewer web parts to a SharePoint [web part] page using the code below: // Create the object SPLimitedWebPart Manager SPLimitedWebPartManager WebPartMgr = ...
0
votes
2answers
414 views

how to add items to managed metadat

I've added an new term in the 'taxonomy term store'. The new terms show in the columns that are using managed meta data. I'm querying the Lists/TaxonomyHiddenList/AllItems.aspx list for id's, but ...
0
votes
2answers
723 views

How to add a calculated column to list view programmatically?

I have created a SharePoint feature where I have added a list named "Employees". I have added a Content Type "Employee" and added to it some columns like "Vacation Days Taken", "Vacation Days ...
1
vote
0answers
615 views

SPListItem.Update Not working

So I have this really simple function which updates a couple of fields on two different lists (one is a document library) The thing is on the document library does not updates any of the fields I need ...
0
votes
1answer
153 views

How to set the rowlimit in content query webpart by code?

I need a content query web part that returns me the last 10 modified or added documents into any document library on that specific website. How can I add the rowlimit by code? ContentByQueryWebPart ...
0
votes
0answers
61 views

Error in adding post to a blog programmatically

I used linq to insert post into blog programmatically but when i clicked button error is appeared
0
votes
1answer
52 views

Possible to implement continuous integration against SharePoint online?

I have implemented CI on SharePoint server projects without a problem (so to speak). Can this also be done for SharePoint online?
0
votes
1answer
197 views

Editing SPFieldMultiColumn and saving updated value

I can get a reference to my SPFieldMultiColumn var documentLinkFieldValue = listItems[i]["DocumentLink"] as SPFieldMultiColumnValue; var oField = listItems[i].Fields["Document Link"] as ...
1
vote
1answer
430 views

Converting date from utc to regional setting (cultural info) of the site

I have a question, basically i have a date time which is by default in UTC, how do i programmatically convert it to a correct date time in regional settings of the site collection / or user?
3
votes
2answers
11k views

Downloading files from sharepoint programmatically C#

I would like to know what are benefits/drawbacks when using either of these methods for downloading a document from Sharepoint using Microsoft sharepoint library public void Download(string ...
0
votes
1answer
143 views

Pass user credentials to JSP website from SharePoint website

I have developed a JSP website. I also have a SharePoint server based website. Let's call my JSP website to be www.xyzjsp.com and my SharePoint based website to be www.mySPwebsite.com How can I ...
0
votes
1answer
111 views

Best way to update 200 items on a list [closed]

Situation in a VS2010/SP2010 site: List A with main items List B with subitems, having a lookup column that points to List A ID There are about 200 subitems for each item The Page where users edit ...
0
votes
1answer
47 views

Customizing the SharePoint CRM List Part

is it possible to customize the CRM Listpart that is delivered by Microsoft. I would like to add a dropdown listbox to the presentation in CRM based on the documenttype in the library.
0
votes
2answers
161 views

Search core query webpart and custom xslt with paging or other approach

I have an issue, basically I created a custom web part which inherits from SearchCoreResults. This webpart searches all the possible tasks across WHOLE sharepoint and shows them if they are not ...
7
votes
2answers
1k views

Anonymous access: Add an Item to List without allowing to View the List

I'm creating a 'Contact Us' webpart with form to allow anonymous user to send a message which will be added to a SharePoint List. However I cannot grant the anonymous user the permission to Add ...
0
votes
2answers
238 views

Have got a problem with making a CAML Query by String contains “&”

Hello i have got a problem with making a CAML Query by the string which contains sign "&". I have Got a "L&M" firm and when I choose it on DropDownList it make me error: How to use this ...
0
votes
1answer
524 views

executeQueryAsync in ecma client object model causes 404 error [closed]

I have a custom action where I will create a new item in the ecb menu for a document library and once clicked it will call a javascript function and there using ecma client object model I will ...
6
votes
2answers
701 views

Picture Library Image size event receiver

I created a event receiver but work ok for single file but no work for multiple files, HttpFileCollection collection = _context.Request.Files; for (int i = 0; i < collection.Count; ...
0
votes
1answer
92 views

How to approach a file in visual webpart

To explain my question, lets consider I'm developing a webpart in Visual Studio, a visual webpart. By default when I add a webpart to solution, it creates a MyWebPart wich exists of 3 files: ...
2
votes
2answers
519 views

Unable to create SPUserToken objects or use SPSecurity class

As shown in this image, I am unable to create a SPUserToken or run the SPSecurity.RunWithElevatedPrivileges() delegate in order to elevate the current user for the purpose of managing list item ...
2
votes
1answer
785 views

How custom HTTPHandler works in sharepoint 2013

I am reading some existing code in a project and there are some custom handlers that validate some data on application pages. The question is: Does these HTTPHandler get executed for every simple ...
6
votes
1answer
1k views

Sharepoint Client context (client Object Model) cant load more than 500 records or more

is here any limitation about read the records from any lists in sharepoint? my codes are default that downloaded from msdn: string siteUrl = SharePointAddressURL; ClientContext ...
0
votes
3answers
302 views

Read list from central admin

I have an application page which connects to a sql database based on settings on a list hosted in central admin. For some reason, I cant debug the web.GetSafeListByName, I attach the debugger, put a ...
2
votes
1answer
127 views

Error using ListViewWebPart in a “using”

This one has me stumped. I'm creating a ListViewWebPart, which ultimately inherits from System.Web.UI.Control which implements IDisposable. So ListViewWebPart should also be IDisposable. Right? But ...
1
vote
2answers
888 views

Undefined responseXML on StartWorkflow

I was presented with a task to run a workflow via jQuery. I know that SPServices has this capability, but I have never tried it before being assigned this task. So I set out and found some good ...
0
votes
1answer
31 views

user profile informations

How can I select the custom user profile information? When I apply this code, I only reach the AD user profile information, but I have some additional user information. How can I reach them? ...
1
vote
1answer
257 views

Isolate web.config files for different SharePoint web applications?

We're in SharePoint 2010 and using C#. We've encountered and issue where we need to have separate web.config files for different web applications. The base web.config file that resides in ...
0
votes
1answer
26 views

Setting audiences in share point 2010

I have written html/css code to display the menus. Now i need to hide the multi level menus(links) using windows authentication. i mean we need to set the target audience for the links. But,. i do not ...
2
votes
1answer
226 views

Nav showing drop down subsites when on _layouts/settings.aspx

In both of my custom master pages (both front master page and system master page) I have a navigation control (AspMenu). On all custom pages and application pages, the nav displays no drop down for ...
2
votes
1answer
85 views

Error on updating a document item

I have an issue with updating an item in ItemUpdated event. Basically on ItemUpdated, I would like to reupdate that item by setting some properties, because it is a docx I have to do it in ...
2
votes
2answers
501 views

How to collate/merge two different lists, with the same colums into one list

I have got two different lists. One is live updated by many users. The second list has the same fields and works as the master. I want to every day, at 6:00 o'clock a.m, merge List one with list two. ...
0
votes
1answer
33 views

Is there in CAML any equivalent of SQL query Prepare

I'm looking for any equivalent of SQL query Prepare in CAML. Could You help me.I need optymalization in CAML.
0
votes
0answers
643 views

How to filter list in sharepoint by another webpart(dropdown list) in C# code?

I wanna filter list in sharepoint by using dropdown list in visual studio, And view in sharepoint can't serve me in that , And i searched a lot but i didn't reach any thing
1
vote
2answers
278 views

Auto sign in OWA web part using c# in sharepoint 2010

I need the OWA web part to automatically login the current user. How to do so using C#