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
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
1k 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
20 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
8 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
28 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
510 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
28 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
17 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
34 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
46 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
16 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
209 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
15 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
640 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
38 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
18 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
24 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
11 views

Block Feature activation for a site template

Is it possible to block feature activation for a specific site template in SharePoint using C#?
39
votes
7answers
25k 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
41 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
13 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 ...
0
votes
0answers
15 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
18 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
30 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" /> ...
0
votes
1answer
24 views

How to automatically populate a “publish date” to be equal to today date, when selecting an item status to be = “Published”

I have an issue tracking list inside my SharePoint 2013 enterprise server. The issue tracking have these columns:- Item status. In progress, Cancelled, Published Publish Date Duration in months End ...
5
votes
2answers
421 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
22 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
43 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
6 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
27 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
30 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)
2
votes
1answer
642 views

REST API ItemCount on oData BCS List

I have a list generated from a BCS oData provider and I am attempting to get the number of items in the list so I can generate a $top on my request rather than bring back only the 100 item generic ...
0
votes
1answer
8 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
208 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
16 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
41k 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
25 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
22 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
628 views

Sequential Workflow: The file has been modified by SHAREPOINT\system on

I have a squential workflow that takes Account IDs as plain text from a InfoPath input and converts them into a SPUser field. I can't get the the item to update bc an exception is throw on the Update ...
0
votes
1answer
26 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 ...
1
vote
1answer
2k views

Creating an Approval workflow based on the list values using visual studio 2010

I have a list with the company name, business process and workflow initiation. The Business Process could be Purchase Order/ Leave Request. Workflow Initiation is a radio button which could be ...
0
votes
1answer
571 views

Visual Web Part as consumer of PPS Filter Provider

How do you turn an existing Custom (Visual) WebPart into a WebPart that is a Consumer-capable WebPart of Provider WebParts? References are applenty but very few are actual design patterns that ...
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
84 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 ...
1
vote
1answer
1k views

InfoPath code to delete all rows of repeating table and then add back one default row

I have the code on a clicked event to reset a repeating node (deleting all existing rows - see code)... I am looking for the best way to add back a default row. I tried using xmlwriter, but this ...
1
vote
0answers
14 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 ...