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
1answer
31 views

Download image from Imagelibrary

I have an event receiver that should download images from an imagelibrary, and do some stuff with that copy. There will be several images with the same customid that i want to grab, so I loop over all ...
0
votes
1answer
98 views

ListData.svc not getting managed metadata

I have written a C# agent that pulls data from SharePoint using the ListData.svc web method, parses the XML data, then puts it in SQL and it works great, however ListData.svc does not appear to expose ...
-1
votes
1answer
865 views

Deleting all nodes from QuickLaunch

This is my code to delete the QuickLaunch Navigation Nodes. I am using the SharePoint 2013. public void 2013NodeOrders(string siteUrl, string quickLaunch) { ...
1
vote
1answer
31 views

Is there an event to watch for when a user follows a person/document/site/tag?

We are doing R&D on integrating the updates post in Confluence with the SharePoint newsfeed. One thing I need to do is create a "listener" that can update a central content store when a user ...
2
votes
0answers
221 views

How to automatically switch to Edit Mode after creating a page?

When adding a new page to SharePoint (through Pages list) and clicking OK, the user is redirected to Pages list. How to force SharePoint to open that page in Edit Mode? I've been thinking about ...
3
votes
2answers
272 views

Where to store data needed by a custom timer job?

I have a custom ribbon button in each document library and when a user clicks it, I'd like to store some library-related data (URL, id ...) in a way that would make it available to a custom timer job. ...
2
votes
1answer
769 views

What are the current options for a Sharepoint Online trial from Windows XP?

A year ago I had 30-day trial for Office 365 (Sharepoint Online 2010). Everything worked fine from my Windows XP SP3 (x86. 32-bit) for development from Infopath Developer and Sharepoint Designer ...
1
vote
2answers
379 views

Why does SPList.GetItems(string fields[]) return more fields than specified?

I'm using SPList.GetItems(string fields[]) to obtain only specific item fields from a document library: SPListItemCollection items = list.GetItems("UniqueId", "Name"); However, iterating the items ...
0
votes
1answer
163 views

How can I differentiate an user from a workflow while in an ItemUpdating Event

Is there a way to differentiate an user from a workflow while in an ItemUpdating Event? To show the my problem here's the ItemUpdating method: public override void ...
1
vote
2answers
634 views

Error while adding a Calculated column to a list using Client Object Model

I am trying to add some fields to list using the client object model. Everything is working except the Calculated field. Every time SharePoint gives the error: An error occurred while parsing ...
1
vote
0answers
30 views

deploying wsp onto a different sharepoint server

I have created a share point project that works on a development share point site. When I compile it to WSP and upload it to share point online, and activate it, it doesnt work.. I always start ...
2
votes
1answer
401 views

Add file without checking in

I have a question. How can I add a file without checking it in directly? I add file like this: Library.RootFolder.Files.Add(fileName, buffer, overwrite); But when I do that I suppose the file is ...
1
vote
1answer
282 views

Get SPFolder by Folder's Name

I'm working on a web part that gets all the children of a SPFolder. The catch is I only have the folder's name. Would this be possible using a CAML query? If not how could I construct the folder's ...
1
vote
1answer
2k views

SharePoint Foundation 2013 - Audit log

Can I read from audit log, how many times item has been clicked? I know that I can do it using Server edition, but what about Foundation? What I have done: Central Administration, I enabled Secure ...
3
votes
1answer
4k views

Creating a Registration Form in SharePoint 2013

I need help with this task. I would like to create an app/webpart in SharePoint 2013 Foundation that displays a list of events. Users can see this and if interested can signup for which ever event by ...
0
votes
1answer
478 views

Assign value to Date Control in InfoPath form programmatically

I need to assign a calculated value to date field in infopath form. I am unable to assign the value as I get "schema validation found non- datatype errors" error. The following is my code: int ...
0
votes
2answers
2k views

How to assign my custom permission level to my TestGroup?

I have created one group Name: TestGroup and one permission level Name: Custompermisionlevel How can I assign the permission level(Custompermisionlevel) to my group programmatically? I'm using this ...
3
votes
2answers
144 views

Novice Developer

I have not been able to find any related subject here related to training patterns, Some of us who have gone through the C# basics and moderate courses as well as some other courses may be at loss ...
0
votes
0answers
50 views

Publishing Image Always Null in Code

I'm building a web part that outputs fields from child site welcome pages. I use publishing images to allow users to select the background images from a library. Whenever I attempt to get the images ...
1
vote
1answer
79 views

Develop Sharepoint 2013 web parts from client using VS 2012

How I can develop my visual web parts from my client using VS 2012? When I want to create a sharepoint 2013 project I receive a message that sharepoint server does not installed on my client. Is ...
1
vote
1answer
7k views

Failed to retrieve the COM class factory for component with CLSID SP.SPRequest

On SharePoint 2010, we have one service running at SharePoint WFE which is using the SharePoint server API. If the SharePoint and our service are not used for couple days, we may get the following ...
2
votes
1answer
680 views

Trying to view custom application page in browser results in “404 FILE NOT FOUND” error

In VS2010 I created a new .NET 3.5 solution and inside a new project for SharePoint 2010 (empty project called "SPAppPageTest"); I deployed it as a farm solution. I added a new application page, ...
1
vote
2answers
803 views

Cross-site collection navigation in SharePoint 2013 Foundation

Is there a way create or activate cross-site collection links. So if I'm under the Accounting Department site I can go into the Marketing Department site. I looked all over sharepoint and no luck.
5
votes
1answer
2k views

JavaScript error using date picker inside an update panel?

I placed the SharePoint date picker control inside an update panel and when I click on the calendar it gives me this error: Microsoft JScript runtime error: The value of the property ...
2
votes
1answer
2k views

Programmatically trigger “New document” action in a document library

I've been asked to check if it is possible to trigger the creation of a new document linked to a content type. Like, to make it simple, you have a webpart, a button, you click it, and it opens the ...
1
vote
1answer
620 views

C# custom list checking

I have made new custom list (throught sharepoint), and I have only add couple custom fields, which type is TEXT. I have rename that TEXT example "Extra". I know how I can read list through code. ...
0
votes
2answers
2k views

Import File from SharePoint and Link this file with SharePoint (File- Excel File)

I am using SharePoint 2013 and Microsoft Office 2007 or above. Scenario: I upload a Excel file to a SharePoint 2013 list. Now, I want to import this Excel file from this SharePoint list back to ...
2
votes
0answers
40 views

Navigation settings changed but not applied

I have this in mij feature which is activated after the creation of a site PublishingWeb pubWeb = PublishingWeb.GetPublishingWeb(web); WebNavigationSettings navsettings = new ...
0
votes
1answer
2k views

How to increase the column limit of a list in sharepoint

I have created a list programmatically and added columns.but error comes due to column limit.Please help.Here is my code.My logic is:When an item is added to list "Future Projects" a new list shold be ...
1
vote
1answer
39 views

Site collection not created programmatically only in LIVE Server

I am using SharePoint 2007 and was not able to create site collection and add sites pro grammatically using c# code. Some times it creates the site collection and some times it doesn't. works fine ...
0
votes
1answer
165 views

TopNavigation Bar is shown Null for Report Centre site in Sharepoint 2007

I have create a Publishing site collection in Sharepoint 2007 and when i try to get the TopNavigation Bar for 'Report Centre' site I get it null. Why ? However for Document Centre,News etc it is not ...
1
vote
1answer
87 views

Cross-Site Search in Sharepoint 2013 Foundation

My question is simple. How can I configure Sharepoint 2013 Foundation to have cross-site searches. For example: I have 4 sites in all. Marketing, Advertising, Human Resources and Office. If I am in ...
0
votes
1answer
588 views

Code Download file from Doc icon image in sharepoint 2010

I have written code where it will show the Sharepoint document library in sp grid view. In the grid view it will show the doc icon Image correctly. Now i want to Download the uploade document from ...
1
vote
0answers
126 views

Few Projectproperty and Listproperty fields returning empty values (CrossListQueryInfo)

I am running a CrossListQueryInfo and the ViewFields for the CAML includes <ProjectProperty Name="Title"/> <ProjectProperty Name="Url"/> <ListProperty Name="Title"/> ...
2
votes
3answers
4k views

Sharepoint 2013 Site Content > New Webpart Page

Please take a look at this link: http://msdn.microsoft.com/en-us/library/dd583147(v=office.11).aspx In that link it explains how to add custom templates into SharePoint for when you create a new ...
2
votes
2answers
3k views

Check if site exists from client side

I am currently running the following code to check if there is a site with a title equal to my string myname. This code is however very time consuming because I have a large number of sites. Is ...
2
votes
2answers
29 views

Controlling which feature a project element is added to

How does visual studio decide which feature to add an element to? My features have a specific order which they need to be enabled (and its set using Feature Dependencies) but I need a simpler method ...
3
votes
2answers
113 views

Getting spuser from multiple types of information

If this sounds confusing it's because I'm al little confused on it myself. Basically I have an application (originally written by someone else but never finished) that needs to perform various actions ...
0
votes
1answer
23 views

I want fill dynamically the lookupFields with method Insert in class + C#

my code is public static void AddNew(string title,string AddedDate, string Discription, string AddedByLoginName) { using (SPSite sps1 = new SPSite(SPContext.Current.Web.Url)) { ...
3
votes
3answers
5k views

WCF service in SP2010

I want to use WCF service in SharePoint 2010 but have problem. First, in mapped Sp2010 folder(ISAPI) I created newfolder/myfile.svc and in that file I put a reference to my DLL: <%@ServiceHost ...
0
votes
1answer
271 views

adding fields in SharePoint 2013 C#

what is the different in adding a field and creating a field ? SPFieldChoice category = (SPFieldChoice)list.Fields.CreateNewField(SPFieldType.Choice.ToString(), Constants.category); or SPFieldText ...
0
votes
0answers
783 views

Get IP Address of client

I was wondering if it was possible to get the IP address of the client machine accessing a 2013 website. Is it possible to do this with an ajax call by utilizing one of the sharepoint RESTFUL ...
1
vote
1answer
928 views

How to specify a masterpage on a sharepoint web part page

I have this code courtesy of Alex Angas in Programmatically instantiate a web part page in Sharepoint. I already posted this question on stackoverflow but didn't get any answer so I decided to ...
1
vote
1answer
500 views

How to get content from Content Editor WebPart (CEWP) to a custom WebPart on the same Page?

I have two webparts on a single page: Content Editor WebPart My Custom WebPart I need to send content from 1 in HTML format to 2. Is there a way to achieve this? I was thinking of, maybe, adding ...
3
votes
1answer
716 views

Display Parent Navigation Items via API

I'm creating a custom team site from a site definition and I can't seem to set the site to display the same navigation items as the parent site for the Global Navigation. I've tried using this code: ...
1
vote
1answer
117 views

Remote SharePoint 2010 Test Server running on VM

Currently I'm looking for a way to improve our test environment. I found it very useful to have a remote SP test server. So I created VirtualBox VM images for a domain controller and for a SharePoint ...
1
vote
2answers
2k views

Error in my CAML Query? COMException (0x80004005)

I was wondering if anyone could verify or see an error in this CAML query: SPQuery query = new SPQuery(); query.Query = string.Format( ...
3
votes
1answer
1k views

Word-Wraping for the calendar

The first image named calendarSample1 is a screenshot of the sharepoint calendar in IE10. The second image named calendarSample2 is from Google Chrome. I am trying to make the text within the ...
1
vote
1answer
214 views

Add a folder to a document library and break permission inheritence

I have a web part that is being used to manually add folders to document libraries (Part of the requirements is that only administrators can add folders, contributors must only be able to add ...
1
vote
1answer
610 views

Check user read access to a particular list item

I need to check if a user has read level access to a particular list Item. What would be the best approach 1) listItem.DoesUserHavePermissions(currentUser, SPBasePermissions.ViewListItems); //here ...