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
598 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 ...
2
votes
2answers
114 views

CAML query to filter Datetime

I have to filter data with respect to a field named CreatedDate having type datetime. In input I'm just giving date (not time), I want to fetch all records with respect to specific date (ignoring ...
0
votes
0answers
17 views

Enterprise Wiki Page - expose Categories column

I created a new enterprise wiki site and when I created new page, the column with categories or rating is not exposed. But the categories column exist and works (every page i create have categories ...
0
votes
0answers
65 views

New Item VS new Item using incoming email

I have a SharePoint List which has an email address. I want to know what is the functional difference between adding an item with the Add Item Link and adding an item when receiving an email? I ...
0
votes
1answer
35 views

SharePoint document library event receiver and WebPart showing items from document library

Preface: I am trying to develop a wWebPart for displaying items from a document library and let users modify each items metadata. When user updates any documents metadata it will raise an event ...
1
vote
1answer
209 views

Feature stapling always returns item does not exist: it may have been deleted by another user

I'm attempting to create a feature stapled solution that pushes out custom branding to every new site collection created. The following code is in my event receiver: public override void ...
0
votes
1answer
23 views

SP07 - Export to word, problem with Response-encoding

I have a button-event where exports data from SharePoint(unicode format) to Word(unicode format). The problem is with encoding. this is my code: string filename = String.Format("Results_{0}_{1}.doc",...
0
votes
1answer
42 views

Is there a way, with CSOM/JSOM/REST, to find all the managed property names for a list or content type?

I'm writing a PS script to update them to be searchable and to add aliases, and the task is taking a while. I need to find the managed properties that exist without manually searching for them or ...
0
votes
1answer
54 views

How ListItem.DeleteObject() works?

I have several Lists in my site. Among them I am trying to find out duplicate values in 3 of the lists, Publisher1, Publisher2, Publisher3. I am searching in the lists and saving the duplicated ...
2
votes
1answer
2k views

What is the SPWeb.Name property for?

I'm wondering what use does the SPWeb.Name property have. Is it displayed anywhere?
1
vote
1answer
411 views

I want to use ASPCOMPAT=true as an attribute of @Page directive

I get the following error on SharePoint pages: aspcompat not allowed on this page when I try to use it. Please help.
2
votes
0answers
669 views

Upload clickonce to SharePoint

I'm following this tutorial to upload a clickonce application to SharePoint. This is my Elements.xml: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/...
4
votes
2answers
2k views

Moving a WebPart to a different zone on a page

How do I programmatically move a WebPart from one zone to another on a page? I have multiple sites that I want to loop through each site and update the page.
0
votes
2answers
45 views

SharePoint 2013 get full file name including extension

Wondering if anyone can help me please, I have a media library with a number of videos in and I want to get the full file name including the extension out of the library, I have so far tried using ...
0
votes
2answers
78 views

How can I show SQL data in a SharePoint Server 2013 list?

I have one table in SQL database. ID Name Address 1 pavi chennai 2 priya Bangalore In SharePoint, I want to show above SQL table in a task list programmatically via C#. How can I achieve ...
1
vote
1answer
485 views

How to get the correspond listItem from the last major version of a file via CSOM

I am trying to get the last major version of a file in a sharepoint-list by using CSOM with the following Code: var web = clientContext.Web; var list = web.Lists.GetByTitle("MyList"); ...
0
votes
1answer
243 views

Developing Apps in Sharepoint

I want to learn how to develop apps for SharePoint. I created a new developer site collection. When I try to install NAPA Office Tool I get the following message Sorry this app is not supported on ...
0
votes
2answers
36 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 ...
0
votes
1answer
25 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 ...
1
vote
1answer
34 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
24 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
71 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
72 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 = "...
1
vote
1answer
36 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
12 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
637 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
44 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
88 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
52 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
19 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
228 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
21 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
10k 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
48 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
37 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 "cn=adGrpame,ou=xxx,...
3
votes
1answer
32 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
14 views

Block Feature activation for a site template

Is it possible to block feature activation for a specific site template in SharePoint using C#?
41
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
57 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 capability:...
0
votes
0answers
37 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 ...
0
votes
0answers
27 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
34 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
453 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
28 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
46 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
9 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
29 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 ...