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

Display list metadata on list item hover/click on list item

I know what I want to do, but do not know if I am approaching it correctly. I have a custom list with a number of metadata columns. When I or user selects an item from a list I would like for the ...
2
votes
0answers
58 views

Implementing paging for a list

I have to implement paging for the list data and the paging should be as: previous 1 2 3 next And the new page number should be added automatically if any item is added to the list if it ...
1
vote
0answers
22 views

How to write an application page it do the function of OfficeExportPage and UnsecuredLayoutsPageBase

We deployed BI reports using performance point services to SharePoint BI site. When user try to Export to Excel, the page redirects to OfficeExportPage.aspx and ask for authentication for anonymous ...
2
votes
0answers
28 views

how to show less a text [closed]

I have created a function which duty is to Show more text. But i cannot create a Show less to show less my text i have the following html <div class="item"> Ronaldinho joined Barcelona in ...
0
votes
0answers
19 views

Conditional validation Question - Required Fields

Is there a way to do the following type of conditional validation via SharePoint Designer? If a primary field is selected - then secondary fields become required If 1 primary field contains ...
0
votes
1answer
46 views

c#: how to write JavaScript function inside c# [closed]

How to add JavaScript function window.print()in C# code. C# snippet : private void CTRL3_5_Clicked(object sender, ClickedEventArgs e) { //JavaScript function here! }
1
vote
1answer
18 views

ObjectDataSource - schema seems cached - unable to refresh

Within a Visual Studio 2012 Visual Web Part, I've created a simple FormView referencing an ObjectDataSource to autogenerate an editable form. Creating this the first time, there was no issue. ...
2
votes
1answer
87 views

How to make a print button in infopath form?

In infoPath form I have a button which duty is to print the current document, I have been trying this one thisXdocument.PrintOut(); but the following error occurs "The name "thisXdocument" does not ...
3
votes
0answers
32 views

The Repository Pattern , refactoring code

I'm trying to develop simple sharepoint application using the repository pattern.Application should return employee informations from SPList based on some queries and than show them into HTML ...
2
votes
0answers
35 views

Saving and fetching DateTime values

I have now confused myself how the SharePoint SPListItem DateTime field values should be set and fetched. I'm doing comparison of the dates, and running into issues probably due to me doing double Utc ...
5
votes
3answers
82 views

Optimizing class that contains CAMLQuery, multitier architecture

I'm new to developing sp projects , especially with multitier architecture, so I'm looking for some advices and suggestion how to optimize my code.I've got lot of "similar" queries that I need to ...
0
votes
1answer
62 views

Download attachments as .zip file

I need to develop a C# custom webpart which allow users to download attachments from a sharepoint list. My webpart lists the attachments which the user has selected. Then, it must show him a link to ...
0
votes
0answers
34 views

Set a value for all field in desired column? javascript

i have the following solution: in my SP list called QUIZ i have a column named koha i also have a userinterface that is build via XML in my javascript solution the current setting are when you ...
0
votes
1answer
87 views

Need to remove permission on Sub-Folders for group programmatically

I am struggling to remove subfolders permissions for a specific group. I've been on internet and of all the solutions I keep getting the error Object does not belong to a list Here is my code ...
1
vote
1answer
33 views

How to include referenced external assembly into my wsp

I've referenced SPMeta2 dlls into several of my solutions and I'm wondering if there is a way to add them to my wsp. "Copy to local" adds them to the output folder, but they're not included into the ...
1
vote
2answers
427 views

Save button to close window after saving

For adding an item to list, the newForm.aspx is opened in new window. After clicking on save button I need to close the window. I used window.close(), It just closes the window but the item is not ...
0
votes
0answers
36 views

Button to change value in a list

How can I code a button that changes the value of a field in a list?
0
votes
1answer
105 views

Upload files to SharePoint using C#

I'm trying to upload files to a folder using SharePoint and C#. I managed to create folders with my code and it works fine. This is my Document class: [DataContractAttribute] public class Document ...
0
votes
4answers
104 views

How to retrieve and read items from sharepoint list and assign them to a variable with JavaScript?

I have the following list how can i retrive the value of koha column for first row and second row separate, datatype for koha column is number and how to assign value of koha into a variable var ...
1
vote
1answer
26 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
41 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
57 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
65 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
34 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
101 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
77 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
105 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
124 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
18 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
62 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
151 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
71 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
590 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
34 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
81 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
50 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
31 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
152 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
57 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
146 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
45 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
173 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
338 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
72 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
219 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 ...