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

learn more… | top users | synonyms (3)

2
votes
1answer
35 views

SPSite currentSite using try/catch block

What is a better approach when it comes to writing code for sharepoint 2010 applications: using (SPSite currentSite = new SPSite("SiteName")) { using (SPWeb currentWeb = currentSite.OpenWeb()) ...
1
vote
0answers
31 views

Sharepoint permissions regarding One Drive

I am creating an application which makes folders for users and sharing it to them, in a main OneDrive account. Seems like the permission are not the same or some how being overridden by OneDrive ...
0
votes
0answers
19 views

Get custom Content Types from a SharePoint site collection

I have a requirement where I am required to get all the custom content type(not the default one already available) of a SharePoint site collection using CSOM C#. Is there any way?
2
votes
0answers
24 views

Folder permissions are not properly being set in a Sharepoint online App that interacts with One Drive

I have been working on a application that create folder for a user in sharepoint account. I have ran into an issue where roletype.Editor is giving the folder an Edit permission that is not correct. ...
1
vote
2answers
46 views

Displaying All sites a User Has access to, Across an Entire Web Application!

I have had this issue for a while, and been asking piece-meal questions for a few weeks. I finally created a full solution that worked. And wanted to provide the full solution, that was both EFFICIENT ...
0
votes
1answer
25 views

Reason for Development Directly on a Server

Based on the answer I received here, I was wondering why Microsoft insists on having Visual Studio installed directly on a SharePoint server. Why can't they allow a remote connection to an on-premise ...
0
votes
1answer
39 views

How to clear browser cache or cookies when user logout?

I have custom signout.aspx page which is auto redirected when user session timeout expired. Problem is when user clicks the Back arrow or opens same site again, there is no prompt for authentication ...
1
vote
0answers
19 views

Central Administration Issue [duplicate]

I have installed sharepoint 2013, my central Administration is not opening properly images and CSS are missing.Help me to solve the issue Thanks
1
vote
1answer
36 views

Configure SharePoint Product Configuration Wizard Issue

I have installed Sharepoint 2013 in one Windows Server and SQL Server installed in another windows server. My Problem is when I configure Specify configuration Database settings in Sharepoint product ...
3
votes
1answer
72 views

SharePoint 2013 add Read More link in a webpart Announcements using JavaScript

I have created a slider using bxSlider and it works perfectly, but in case to show all text that comes from Announcements List, I want to display only 100 characters and show read more link which it ...
1
vote
1answer
52 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
40 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
18 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
25 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
16 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
31 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
16 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
34 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
28 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 ...
1
vote
0answers
25 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
63 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
36 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
27 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
51 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
19 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
156 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
28 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
0answers
65 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
68 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
22 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
29 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
38 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
36 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
31 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
30 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
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 = ...
0
votes
1answer
46 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
68 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
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 ...
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
60 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
45 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
104 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
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
1answer
25 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 ...