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

learn more… | top users | synonyms (3)

1
vote
1answer
25 views

column name space

I am working on visual studio. I have written a code which updates columns and list in SharePoint programmatically using C#. But whenever I am creating a column name with a space it is taking as an ...
0
votes
0answers
21 views

How to convert an item that is retrieved from list to a string datatype?

I am having problems with some strings i have the following code in javascript: _result = currentQuizItem.get_fieldValues()["Audience"]; "Audience" is a column in my sharepoint list, and it has ...
0
votes
2answers
36 views

Nested AND OR inside my Content Query web part's CAML query is not working well

I added a content query web part to my team site collection, then i export it , and i modified the QueryOverride tag as follow:- <OrderBy><FieldRef Name="Created" ...
2
votes
1answer
50 views

GroupBy site name inside my CAML query

I wrote the following CAML query to be used inside my Content Query Web part, but i am not sure if i can define to Group the retrieved item by site name :- <property name="QueryOverride" ...
1
vote
1answer
57 views

Change Web's Work Week/First Day of Week Programmatically

In Site Settings > Regional Settings it is possible to define a working week: Is it possible to change the first day of the week with server-side code?
1
vote
0answers
32 views

How does sharepoint deal with the column internal names as defined inside the site level Vs. as defined inside the list level

I want to move my lists items from one list "SourceList" to another List "Destinationist", so i write the following script:- $web = get-spweb "http://*****/teamsites/SoftwareDevelopment/" $list = ...
1
vote
0answers
62 views

Column 'TaskDueDate' does not exist. It may have been deleted by another user

I have the following Power-Shell script to copy an item from one list named "Action" to another list named "Risk Issue":- $web = get-spweb "http://***/businessfunctions/UserSupportDelivery/" $list = ...
0
votes
0answers
18 views

How to Import SharePoint Web parts from a Publishing Page

I am trying to import complete site collection programmatically. I almost done everything. But i have not find any solution to import web parts from that page.
0
votes
0answers
35 views

How to add permission to a site collection?

I have a solution that is built with Visual Studio and I have no permission to delete a list or modify a list. I can not even see the lists that are inside current solution. so i cant access to ...
0
votes
1answer
76 views

Assign a field of type Date Only using powershell will always subtract one day

I have the following powershell script to create a copy of a item:- $web = get-spweb "http:*********" $list = $web.lists["Action"] $list2 = $web.lists["Risk Issue"] foreach ($i in $list.items) { $a = ...
0
votes
1answer
96 views

Remove user with CSOM C# gives System.UnauthorizedAccessException

With the following code I'm trying to remove an external user programmatically from a Provider Hosted App: Context.Web.SiteUsers.RemoveById(userId); Context.ExecuteQuery(); This is giving me a ...
1
vote
0answers
115 views

How to access Choice Field Value by using Lookup Field in REST API?

I have a list(ListA) which has a lookup field(LookupF) for another list(ListB). ListB includes a choice field(ChoiceF) which can take a single value. I want to call the selected value of the ChoiceF ...
1
vote
1answer
17 views

Reading addIn XML using Xml.Linq

I have seen many instances of this question in this forum, with answers! So why am I still asking? Because I have tried for hours to read specific parts of the XML below using XDocument and yet no ...
1
vote
1answer
54 views

add SPListItem to a SPListItemCollection

I have the following code to load a list from SharePoint site. All is working well except a SPList item to SPListItemCollection. private void Data_load() { DataTable dt = new ...
2
votes
1answer
106 views

Error :- Unable to index into an object of type Microsoft.SharePoint.SPListItemVersion

I am working on an Issue tracking list inside SharePoint team site and i need to modify the "Editor" & "Modified" fields for an existing item's version comment:- so i wrote the following ...
1
vote
1answer
62 views

Setting a TimerJob Property via Powershell

I am currently adding a Property to my Timerjob in FeatureActivated via C#. This is my code. public override void FeatureActivated(SPFeatureReceiverProperties properties) { ...
0
votes
1answer
457 views

Is it possible to install Visual Studio 2010 on a Windows Server 2012 R2 environment for SharePoint 2010 development?

I was wondering if it is possible to install Visual Studio 2010 on a Windows Server 2012 R2 (development) environment for SharePoint 2010 development? Do I need to install Visual Studio 2010 Service ...
0
votes
1answer
33 views

What is the best way to create a Dev & Prod environment in 1 environment

We need to make changes to the design of the site. Unfortunately the client doesn't have the luxury of a Dev environment. What would be the best way to allow the Devs to perform work on a backup of ...
0
votes
1answer
73 views

Cannot create a TaxonomyField programmatically

I am trying to create a TaxonomyField programmatically and add it to a list. This is my code TaxonomySession session = new TaxonomySession(site); TermStore termStore = ...
0
votes
0answers
49 views

How to convert a type to Number in JavaScript from Sharepoint

I have the following solution, this is my SharePoint list and here is my UserInterface xhtml and form and here is the problem, when i retrieve this field "koha" using the follwoing code: it ...
0
votes
1answer
43 views

Custom Web Part in fixed height div

I am developing a web part and it loads correctly, however when it is set to a fixed height a DIV is appearing before my rendered content with a height set that is the same as the fixed height I set ...
0
votes
0answers
29 views

Providing a custom QueryOverride + Group items by <site> is not working together inside my Content Query web part

I am working on a Team site collection inside my SharePoint 2013. And I added a Content Query web part, and I define to Group the items by the Site:- And I got the following result which is ...
1
vote
0answers
99 views

Could not find default endpoint element that references contract

First of all: I know, there are a lot of threads like this and be sure I READ THEM! But I constantly run into this error. An exception of type 'System.InvalidOperationException' occurred in ...
0
votes
0answers
49 views

Site Creation with Custom Site Template is Very Slow

I have a custom site template that I'm using to programmatically create sub-sites. The creation of the sub-site can take up to 3 minutes, which is unacceptably slow. I found this issue on another ...
1
vote
0answers
46 views

How to display a message is SP2013 with Javascript? [closed]

I have the following code and what I want is to show a message: function startTimer(duration, display) { var timer = duration, minutes, seconds; setInterval(function () { minutes = ...
2
votes
1answer
143 views

Merge Word Documents in Document Library

There is need where I need to merge Word documents saved in a Document Library. I was looking for out of the box solution but did not come across one. Please provide custom C# solution if there ...
0
votes
0answers
43 views

CAML query is returning extra items that are not part of the filters

I am working on a Team site collection inside SharePoint server 2013. now inside the team site collection i have 5 subsites, and i want to return list items from the subsites that have the following ...
2
votes
3answers
163 views

how to get a value from a Sharepoint list with javascript

I have the following code: window.onload = function () { var setTime = // i dont know what to do here var fiveMinutes = 60 * setTime; display = document.querySelector('#timer2'); ...
1
vote
2answers
337 views

HTML in a column value, how to remove it?

I use this code to load data from content list to grid view. private void Data_load() { DataTable dt = new DataTable(); string currentName = ...
3
votes
0answers
62 views

Update List Item Programmatically

I have the following code in a InfoPath form that should update a list with items from a repeating table. For some reason the code runs i get no errors but the list is not updated with the items, ...
0
votes
2answers
195 views

Is it possible to create a Link to a Document with REST or JSOM?

Is it possible to create a SharePoint list item that uses the Link to Document content type? I would like to be able to add new links with REST, but JSOM could work too. I was thinking if I could just ...
3
votes
1answer
224 views

How to filter items inside CQWP, based on Content type + People/ Group site column

I am working on a Team Site collection inside SharePoint 2013. and i want to display items that have specific content type + a people or group site column matches the login user. so i did the ...
2
votes
1answer
42 views

InitializeControls() not found in Context

I am having problem that the InitializeControls() is not working protected override void OnInit(EventArgs e) { base.OnInit(e); InitializeControls(); }
1
vote
0answers
90 views

Update SP Item in Parallel.ForEach loop

I'm trying to update columns of a ListItem in sharepoint using the following code: ClientContext context = CreateClientContext(_siteUrl); SP.List list = GetList(listName, context); Uri baseUri = ...
1
vote
1answer
153 views

get hyperlink column from sharepoint online by CSOM (C#)

I run across an issue since yesterday when i use CSOM (c#) to get the URL and description fields from a Hyperlink field? My first issue starts when i add a longer link to the hyperlink column. It ...
1
vote
0answers
40 views

Accessing SharePoint 2010 (using TMG/NTLM auth) via CSOM using C#

I can't seem to get past a 401 unauthorized error when using C# to access SP2010 CSOM. The auth of SP2010 is using TMG/NTLM. I have tried this blog, but still getting 401. Anyone have luck with this ...
0
votes
0answers
23 views

Failure to submit to a Sharepoint List from a Repeating Table

Hello I'm an uninformed programmer, apologies. I'm trying to use the following guide to create an Infopath 2010 form which is capable of submitting several rows to a Sharepoint list in a single ...
5
votes
3answers
318 views

“some properties in this Web Part are not available because they are configured to have fixed values”

i am working on a team site collection, and i added a Content Query web part. then i did the following:- I export the content query web part. I edit the exported web part inside SP designer . Then I ...
1
vote
1answer
50 views

How to store data into list with JavaScript? [duplicate]

I want to store these information into my list called QuizList. I have the following code: var dtm = new Date(); var itemCreateInfo = new SP.ListItemCreationInformation(); var listItem = ...
0
votes
0answers
32 views

Web part development

Is it possible to download an existing web part and modify it in Visual Studio? I want to download the User Tasks web part and see if I can get it to pull from task lists created in 2013 - it pulls ...
0
votes
1answer
43 views

Save information from quiz in list

I have a quiz in SharePoint. It works perfectly but what I want is: After a student have taken the quiz, I would like a list named quizlist to store information for the users who has taken the ...
0
votes
1answer
28 views

Will SharePoint apply the same source permission setting for the items displayed through the “Content Query” web part

I have a team site collection inside SharePoint server 2013. the site collection have 10 sub sites. now I want to display subsites' items that match certain criteria inside the site collection welcome ...
0
votes
1answer
42 views

Add Document Redirect

I found this very helpful SharePoint.Stackexchange entry on Redirect after a document library is added to a document library but it is not working properly for me. HelpfulLink I want to add document ...
0
votes
1answer
24 views

Counting the Number of Modifications in a Document Library

This seems easy, but having a hard time figuring this issue out. I want to count the number of modifications that occur on a line item in a document library. I was thinking I can accomplish by ...
1
vote
0answers
46 views

Auto Fill Lookup Column

I believe I am starting off on the right foot by using a lookup column. I am seeking a way for when a user enters in a order number the number auto populates in a choice column. So basically every ...
0
votes
0answers
35 views

Is there a way to show the source “Site Name” beside the returned items from the Content Query web part

I have added a "Content Query" web part inside my site collection and I defined the following settings :- to search all the sub-sites under the site collection. to search ONLY the lists that are ...
0
votes
0answers
28 views

SharePoint 2010 - Internal Server 500 Errors

Facing a wierd issue with one of our SharePoint sites running on SharePoint 2010 SP2. The site is configured for anonymous access, and we have a number of solutions deployed to the _layouts. An ...
1
vote
0answers
19 views

Whether item.recycle method will trigger event receiver?

When an item.delete() methods get called it will trigger the respective item deleting and item deleted event receiver. Whether this will behave same for the item.recycle() method too.
0
votes
1answer
36 views

Approaches to create a dashboard-liked page on a site collection level, that shows items from the site collection' subsites

I have a Team site collection which contain 10 sub-sites, and all these sub sites were created using the same site template. Each sub site have the following 3 lists:- Issue tracking list named ...
2
votes
2answers
200 views

Creating a dashboard on the site collection level that show all the latest items from its subsites’ lists

I have a team site collection inside SP 2013. And this team site has 10 sub-sites of type team site. Now I want inside the site collection home page to show the latest items for all the subsites’ ...