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

How do I get the ParentItemID? (C# Csom)

I've a problem about the ParentItemID in the discussion board. I try to get it in order to do a hierarchy between the responses of a subject. I just access the title and the body of the response, and ...
3
votes
3answers
2k views

How can I implement SharePoint JSGrid filtering and grouping functionality?

I am working on SharePoint JSGrid. I am able to implement the sort functionality in JSGrid. Now I want to implement the grouping and filtering in my custom JSGrid. For filtering we have to attached ...
1
vote
1answer
28 views

Get Video Source from variable

I am currently using SharePoint to query a pages library for a video, the aim is to then display this video in an iframe, I am currently using csom to get the video source from a Page, however this ...
0
votes
0answers
23 views

Dropdownlist is not binding selected value

Dropdownlist it binding only First value.If i selected second value also its binding first value For example my deopdownlist List1,List2,List3 3 values are there ,I selected List3 but it bind List1 ...
0
votes
2answers
66 views

How to import SP.ListOperation namespace in C#?

I would like to use the SP.ListOperation.Selection class but I cannot import it in C#. I am building a SharePoint 2013 solution.
0
votes
1answer
63 views

(401) Unauthorized SharePoint - C# Console Application Code

Unable to upload the documents in SharePoint Online using a console application. Any solution to this problem? public static void SaveFileToSharePoint(string fileName) { string Url = ...
0
votes
2answers
1k views

How to change a date format in CAML

I got a wrong date format to a CAML. I have got (yyyy-mm-dd) and must to be understand by CAML to the format(dd-mm-yyyy), how can I do this. I tried by String.Format("{0:yyyy-mm-dd}", dateISO1);, but ...
0
votes
4answers
2k views

Add Page links programmatically to Sharepoint Quick Launch

I have a solution that deploys a web part with a web page, and I would like it to also add a Quick Launch home screen link to the created web page. I tried a little code sniplet, that I added to my ...
1
vote
1answer
33 views

Empty CAML Query recursively search through document sets

I want to search for every single item within a document library. This is working just fine, but isn't working if the files within a document set in that library. I'm using an empty CAML query ...
0
votes
0answers
10 views

How to submit multiple items with one submit from InfoPath 2010 to external list in SharePoint 2010?

Specifically, write multiple items to an external database with one form. Available: SharePoint 2010 InfoPath 2010 forms Is this possible? Gary D
1
vote
0answers
30 views

Powershell Access user liste for SharePoint online

I would like to have a SharePoint online report for all users groups site, sub sites,library,items. For example: a user : Tood , i would like to know all the groups that he belongs to,all permission ...
5
votes
4answers
553 views

CurrentUser.IsSiteAdmin should be true but returns false

Why does CurrentUser.IsSiteAdmin return false for a user that is listed in the site collection admin in SharePoint? I am building an Office 365 app that accesses SharePoint via the REST api. During ...
1
vote
1answer
39 views

CAML Query to retrieve list item by title

I'm trying to query for only this the item called Test1. I'm using this caml query but I'm returning all items in the list for some reason. private static int GetlookUpId(List hrLookupList, string ...
0
votes
1answer
23 views

Retrieve all List items in library caml

I have reference to a document library. I want to now create a CAML to pull out every item contained within this document library. I can't seem to figure out the CAML in which to do this. Every CAML ...
2
votes
2answers
56 views

Retrieve all files from all folders and subfolders in document library

I want to retrieve all the files which are last modified in a particular document library. I will not be able to find out that how many folders are there in the document library. User can select any ...
0
votes
1answer
49 views

Can I do traditional web dev with Sharepoint Online?

In other words, can I use a typical IDE like WebStorm, create some HTML, Javascript and CSS, then stick it on my Sharepoint site and will it work? Here is a sample of what I'm trying: <!DOCTYPE ...
0
votes
1answer
17 views

Where can I find the list of available properties for SPNavigationNode?

In SharePoint 2010 (as well as other versions) with Publishing enabled, you have an SPWeb.Navigation.TopNavigationBar object. This represents the links you see in the Top Link Bar, and is a collection ...
1
vote
2answers
227 views

SP - How to set a unique row number programaticallly

I want to count all list items in my dynamic list to set ID For Every NEW RECORD. How to do this? int cnt = 0; int c = 0; foreach (TableRow tr in allVisibleRows) { SPListItem itemAdd = ...
0
votes
1answer
19 views

InfoPath Conditional Arguments

I am developing a form in InfoPath to publish to Sharepoint 2010 that will have to do some calculations based on inputs. I am trying to set the value of one field based on the input from 2 option ...
2
votes
1answer
9k views

How to add a registration button to a calendar list / list form?

my use case is: I want to create an event management system without using meeting workspaces (sadly I/We can't use them, at least the senior dev. told me). There shall be: One Calendar List, ...
0
votes
1answer
852 views

Get sub folder from document library using SharePoint.Client.dll

I need to get the folder named Arshad from SharePoint Document library folder. The path of the sub folder is : http://url/Shared Documents/Arshad I need to access the folder using SharePoint ...
0
votes
1answer
43 views

Visual Studio authentication issue with SharePoint app

I am working on a SharePoint app in visual studio and am running into issues when attempting to debug. I press start and as expected the Connect to SharePoint window pops up asking me for my ...
0
votes
0answers
28 views

What's the c# equivalent of New-SPClaimsPrincipal in powershell

I am using following powershell command to get AD group claim from FQDN of AD grp $ADclaim = New-SPClaimsPrincipal -TrustedIdentityTokenIssuer "trustedIdentifierName" -ClaimValue ...
3
votes
1answer
28 views

Change navigation panel using in blog

How I can use this code: https://social.msdn.microsoft.com/Forums/en-US/e415413e-cb93-4534-93ed-d07870b38f3d/sharepoint-2010-blog-with-subcategories?forum=sharepointcustomizationprevious Code: ...
1
vote
0answers
13 views

Block Feature activation for a site template

Is it possible to block feature activation for a specific site template in SharePoint using C#?
40
votes
7answers
26k views

How to update custom master page and page layout, which is already deployed

I have a feature which deploying custom page layout. It's done by this code: <Module Name="MasterPageModule" Url ="_catalogs/masterpage"> <File Path="MasterPageModule\defaultTemplate.aspx" ...
0
votes
3answers
51 views

How i can set the “Due Date” field (on the fly) to be equal to Today date, when the “Status” dropdown list is changed to “In progress”

I am working on an issue tracking list inside SharePoint enterprise server 2013, where it contains these fields:- “Due Date” Item status Now our customer, asked us to implement this ...
0
votes
0answers
23 views

Pass query string parameter to the editform.aspx / dispform.aspx

I have inserted a SharePoint list via Insert > DataView > List(WebPartPages:Xsltlistviewwebpart) on a webpart page in SharePoint Designer. I want to pass a query string parameter to the default ...
2
votes
1answer
1k views

In a SharePoint List I cannot see items that are in a folder

I have a sharepoint list (Not Library), where I am programmatically adding in a folder: SPList list = web.Lists[ListID]; SPFolder parent = list.RootFolder; SPFolder child = ...
0
votes
0answers
23 views

Reading File Off SP Document Library and OpenSharedItem .MSG Error

I am trying to send emails based off a .msg template that's in a document library as a file. Everything for the most part works well, but there's a persistent error that occurs because once the .msg ...
0
votes
1answer
32 views

allowing code blocks in a sharpoint aspx site page in one directory only

I have this section in my web.config <PageParserPaths> <PageParserPath VirtualPath="/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders="true" /> ...
5
votes
2answers
425 views

ListItem[“Property Name”] VS ListItem.Properties[“Property Name”]

When we try to get list item properties, three ways of getting property I remember are, ListItem["Property Name"] //always work fine ListItem.Properties["Property Name"] // works fine unless I ...
1
vote
1answer
26 views

Redirect search from My site to Intranet

We are using SP 2013 on-prem. We have an Intranet and a MySite. When searching from MySite, I want the search to redirect to the search center at Intranet so the search results can be displayed at a ...
1
vote
1answer
45 views

Do we need a Sharepoint server for creating web part for SharePoint Online?

When we are creating a SharePoint web part from Visual Studio, it requires a physical SharePoint Server installed on the machine. It shows the below error How can we create a SharePoint Webpart for ...
0
votes
1answer
7 views

File Path of Old Version of DLL Error Message

I am working on an Event Receiver and recently after doing a deployment to the farm. My Event Receiver just starts outputting a message to my log list that is the file path of the old version of my ...
0
votes
1answer
28 views

Check user has permissions for a sharepoint site

On a SharePoint site I've created a permissions group with contribute permission level. I've added an active directory group Domain/group1 to the SharePoint group. The group has around 100 of domain ...
2
votes
1answer
558 views

SiteMapProvider for MySites' breadcrumb

My question is regarding the Site Map Provider. I have a breadcrumb in the mysites and I use SPContentMapProvider to build the breadcrumb, but the problem is it always shows 'Home', so if I m on my ...
0
votes
1answer
35 views

Replace top link navigation in SharePoint 2010

What it is the recommended way to replace the "top link navigation" by hardcoded links? (in SharePoint 2010)
0
votes
1answer
10 views

Dynamically build url to documentset homepage

I have some methods using CSOM that are being called form an external program. In one of these methods I check if a document set exists on a certain location, and if it does I want to return the url ...
3
votes
3answers
224 views

How to retrieve profile-picture and workphone from user profile

How can I get profile image from spuser and also phone? Guid fieldID1 = item.Fields.GetFieldByInternalName("User").Id; string valueField1 = item[fieldID1].ToString(); SPFieldUserValue userField = ...
0
votes
1answer
20 views

How to change the Theme for Team Discussion in hierarchical manner?

I need to show standard theme for the Team Discussion on my page. Is there any way to change the theme for Team Discussion Webpart? Also Is there any place where I can get ready-made CSS and themes ...
12
votes
7answers
42k views

Get Site Collection full URL using javascript

I want to get the URL for my site collection. One way I thought I could do it was using the window.location in javascript and getting it that way. I know that you can use ECMA script and the client ...
1
vote
1answer
47 views

How to use SMTP configured on SharePoint 2010 server in custom WebPart to send email?

The outgoing SMTP is configured to the SharePoint 2010 server. Where as in my custom webpart, need to use the configured settings to send email from webpart itself. Is there any mechanism in object ...
0
votes
0answers
26 views

SP2007 - dynamically add/delete rows from SPGridView;

I want to create GridView like this : This is code for my UI: <asp:gridview ID="Gridview1" runat="server" ShowFooter="true" AutoGenerateColumns="false"> <Columns> ...
0
votes
0answers
9 views

SP07 - Create GridView with dynamic Rows in C# Class Library [duplicate]

HI everyone. I need to create GridView with dynamic Rows(add/delete) in C# Class Library on SharePoint 2007. I need this ASPX code : <asp:gridview ID="Gridview1" runat="server" ShowFooter="true" ...
0
votes
1answer
27 views

How can I display the current SharePoint user from a c# Web Form hosted on IIS

I'm stuck on my project. I have Web Forms published in IIS that are shown in SharePoint 2010 site. From that Web Form, I want to show the current user in SharePoint. My solution is from ...
0
votes
0answers
21 views

Gridview in a Webpart and its lifecycle

Please consider that i am new to developing with sharepoint and also that the code isnt mine. I only have to bugfix it. This being said now to my question. I have a problem with a custom Gridview ...
4
votes
2answers
103 views

Check if user profile exist programmatically

I am trying to get user profile image from user profile. Here is my code sample: SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new ...
5
votes
2answers
3k views

How do I remove all users from an SPGroup object?

I have an SPGroup object populated, how can I remove all members from the group, so that essentially I start with a fresh group. I can't delete and recreate it, so I need a way to work with the ...
1
vote
1answer
34 views

After adding mapped Layout folder in Visual WebPart project showing null reference error in Sharepoint 2010

I wanted to use css file to my visual WebPart. Developing it in VS2012. Initially worked fine without .css after deployment. After following steps here, updated the .wsp. It is also working fine. But ...