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
60 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 = ...
1
vote
1answer
15 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 ...
2
votes
1answer
62 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
40 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
126 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
1answer
26 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 ...
1
vote
1answer
49 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
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 ...
1
vote
2answers
944 views

how to update properties of item in doc set with client object model

I've been able to create doc sets and upload files to it with the client object model. I am having difficulty updating the properties of the files in the doc sets. Here is what I've tried: public ...
9
votes
3answers
17k views

change the default tile size in Sharepoint 2013

Hello, I create an app using the Promoted Links in Sharepoint 2013. I chose to do this because the feature has the awesome hover effect and is easy to customize the image. The issue is that I ...
0
votes
1answer
117 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
43 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
46 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
0answers
22 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
45 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
21 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 ...
0
votes
1answer
26 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 ...
1
vote
0answers
38 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 = ...
0
votes
0answers
41 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 ...
5
votes
3answers
276 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 ...
2
votes
3answers
139 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'); ...
3
votes
1answer
159 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 ...
1
vote
2answers
333 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
41 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, ...
1
vote
0answers
63 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 = ...
2
votes
1answer
40 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
1answer
481 views

SP DataTimeControl validation issue (error message does not disappear after choosing correct date)

I write simple WebPart with few asp.net controls. I have problem with validation control and SharePoint date time control. The markup: <SharePoint:DateTimeControl ID="dtc" runat="server" ...
0
votes
1answer
73 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 ...
0
votes
0answers
19 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 ...
1
vote
0answers
27 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
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 ...
1
vote
1answer
39 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
1answer
34 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
31 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
18 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
42 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 ...
1
vote
2answers
3k views

Adding ListViewWebPart with CSOM

I have to add a few webparts to a default page using the Client side object model. For the most part this goes fine, I can add a XSLT and content query webparts. However, when i try to add a ...
0
votes
0answers
32 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
19 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
16 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
26 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 ...
0
votes
0answers
19 views

Save Validation requires all fields to be filled out error (no rules linked!)

I have a form that cannot be submitted without all fields filled in. When I look at rule inspector in infopath it only shows the rules I setup (affects 4/5 fields) So I have gone crazy trying to find ...
4
votes
3answers
11k views

Get absolute URL to listitem's default display form

I need to have an absolute URL of a listitem's display form - currently I do it the following way: On http://example.com/: item.ParentList.ParentWeb.Url.TrimEnd('/') //"http://example.com" + "/" + ...
2
votes
2answers
166 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’ ...
0
votes
2answers
8k views

Download files from document library using C#

Task: There are some Excel files or documents on SharePoint site that I need to download to my local drive. I'm a newbie to C#, so please give me directions on how to start and complete my task. I ...
0
votes
0answers
33 views

Pull Data Into Individual Web Part

I know what I would like to do, but I do not know how to search to find the best solution. I have a list of URLs on a list that link to stories. I do not want the user to see the entire list of ...
0
votes
0answers
20 views

SharePoint CSOM Get Folder's Enterprise Keywords

I have a site in SharePoint 365 that's meant to hold only documents that are tagged using enterprise keywords, plus other metadata. Each folder in the site has different default values, and I'm trying ...
0
votes
0answers
18 views

Automatic add column and row in SPD2010

I used SharePoint Designer 2010 and I've problem. I tried to found the solution some where but I can't. Here is my problem: How can I set the automatically in the form the function like this: Add ...
5
votes
1answer
2k views

System.ServiceModel.ServiceActivationException “A relative URI cannot be created because the 'uriString' parameter represents an absolute”

The client object model code in my application is throwing the following exception. How to solve it?. System.ServiceModel.ServiceActivationException: The service '/_vti_bin/client.svc' cannot be ...
3
votes
2answers
229 views

Retrieve data from Sharepoint list to ASPX page

I have a sharepoint list named Products with the following columns: ProductID Name Price. In ASPX page there are 3 text boxes that will hold the data for each corresponding column as shown below: ...