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

learn more… | top users | synonyms (3)

4
votes
1answer
1k 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
2answers
199 views

Client Object Model don't work without “cookies”

Problem could be reproduced for all types of Client Model Object (Managed, JS, etc..) for example (Managed Client Model Object): using (var context = new ClientContext("http:\\WebApplicationURL")) { ...
3
votes
2answers
185 views

CAML query for sharepoint list not working

I have a CAML query where I am getting records between a date range for a sharepoint 2010 list through an asmx web method call. It looks like this ...
2
votes
1answer
111 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 ...
0
votes
2answers
199 views

The language-neutral solution package was not found

How repair this error: Please describe. The language-neutral solution package was not found.
0
votes
1answer
84 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
0answers
42 views

create a workflow that takes users inputs (yes/no) adds to the attendance list for the event

How do I create a workflow or something that allows a user to create an event on the calendar with a set amount of seats. Then have people say yes or no to attending the event, have them added to a ...
0
votes
2answers
91 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
22 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
0answers
126 views

Adding SocialCommentControl to a page

I have created a page layout for my publishing site. On this page layout i want to add a commenting and rating option. The rating options shows up just fine on the page but the commentcontrol doesn't ...
1
vote
4answers
923 views

Napa App: _spPageContextInfo is not defined

Am creating a vanilla Napa app and am seeking to reference the host URL as follows: var ctx = new SP.ClientContext(_spPageContextInfo.webServerRelativeUrl); Yet _spPageContextInfo is being flagged ...
0
votes
1answer
1k 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
28 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
81 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
45 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
111 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
32 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
114 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 ...
1
vote
2answers
181 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
25 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
68 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 ...
2
votes
2answers
217 views

Use SharePoint web service to return a People/Group column value

When I call a SharePoint web service in a .Net ASPX website, the people column returns null (Instance of the object not found). using System; using System.Collections.Generic; using System.Linq; ...
0
votes
1answer
21 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
4k 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
75 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
108 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
537 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 ...
0
votes
0answers
55 views

Sharepoint 2010 application(code) migated to Sharepoint 2013 giving error like Exception message: virtualPath

Sharepoint 2010 application(code) migated to Sharepoint 2013.When browsing the site giving error message as below: Exception information: Exception type: ArgumentException Exception message: ...
1
vote
1answer
65 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
552 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
47 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
90 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( ...
2
votes
1answer
179 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
40 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 ...
0
votes
0answers
33 views

How to create list from excel sheet located inside document library?

I need to create and calender control/list in share point from an excel file, there are many tutorials available for this on net, but unfortunately this excel file needs to be updated timely and hence ...
3
votes
2answers
747 views

How to download the historical file version content using CSOM

I am trying to download the previous version of a document from _vti_history location of the file using client object model but the OpenBinaryDirect is giving not found 402 error for URL. My ...
1
vote
1answer
78 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 ...
1
vote
2answers
318 views

SharePoint 2013: How to get workflow status?

I need to be able to get the status of a SP 2013 workflow using C#. I've tried getting the WorkflowManager for the SPSite and calling the GetItemWorkflows, but I never get any results from that. The ...
3
votes
1answer
41 views

How to use Application Pages for a content type's form

I want to use a custom application page for my workflow task view/edit form, I searched the internet and find it is possible to set url for content type's edit/view form, my code to update task's form ...
10
votes
1answer
424 views

The remote event receiver callout failed

I've created an AppEventReceiver for my High Trust Remote app, when I deploy the app through Visual Studio 2012 I get the following error The remote event receiver callout failed The HTTP request is ...
0
votes
2answers
667 views

how to made new post for sharepoint newsfeed webpart through custom webpart

i have a requirement to made new post through custom web part and this must be shown on sharepoint 2013 news feed web part i am new with share point after the lot of googleing find a list of news ...
1
vote
2answers
33 views

How to undo code option, “edit Form code”

I was playing around with InfoPath and then i click on "Edit Form Code...". Now I am unable to publish the forms without getting "An administrator must approve this form temaplte before it can be ...
7
votes
5answers
931 views

Is it possible to package, deploy, and use my own image for a ribbon CustomAction in a SharePoint-hosted App for SharePoint 2013

I've been working on a SharePoint-hosted app for SharePoint 2013. In order to "extend the reach" of the app a bit, I've included a CustomAction that will add a button to each document library's ribbon ...
1
vote
4answers
447 views

Collection was modified; enumeration operation may not execute.

I have made it work to delete attachment but can not delete listitem Error: Collection was modified; enumeration operation may not execute. private void DeleteFromSharePointList(HyperLink hp) { ...
1
vote
2answers
60 views

Pass Values to Event Receiver

I have an event reciver which sends an email when a listitem is being deleted. When the user clicks on the item, a popup prompt is displayed on the page and the user is requested to give a reason for ...
1
vote
1answer
2k views

ClientContext security won't work with claims-based SP2010 security enabled

I want to connect to SP2010 server with claims based authorization via client context. But I have security issue. First I didn't managed to connect with default credentials. Then I wrote: ...
0
votes
0answers
61 views

Consuming SharePoint Web Services OR Client Object Model through UAG

I am using Visual Studio 2010 to write a Windows Forms application to consume either Web Services (via old SOAP web reference 2.0) or via the Client Object Model, by using the methodology (and code ...
1
vote
2answers
483 views

How can I export external content type as a BDCM file with powershell?

I can export external content type from SharePoint Designer or Central Administration. However, I want to export ect as bdcm file with powershell in order to export ect automatically. There is an ...
4
votes
2answers
240 views

Using Distributed Cache programmatically. “Cache referred to does not exist” error

I'm trying to take advantage of Distributed Cache in SharePoint 2013 programmatically from a console application. I want to store custom objecst inside App Fabric Cache. Here is the code that throws ...
3
votes
4answers
13k views

How to get current user with javascript?

I have a list . I want select items of list with a special quary.(get items that created with current user). Then get count of items. I use this code for get current user : function Initialize() { ...