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

learn more… | top users | synonyms (3)

10
votes
6answers
13k views

In which situation use SPSecurity.RunWithElevatedPrivileges with superusertoken?

I have given read only permisisons to a group of users. So they have no access to see listitem or any list. I have create an application page with SPGridview which binds the listitems in question. ...
0
votes
0answers
27 views

how to get data from Jd edwards Oracle to sharepoint 2013 online and server

I was new to this Jd edwards Oracle.Now we have requirement to move Jd edwards Oracle data to sharepoint 2013 online or sharepoint server. I dont have idea about this i searched in google but i don't ...
0
votes
2answers
290 views

How to Retrieve the shared link of a file Programmatically

I am using C# to programmatically access files on our Office 365 SharePoint site using the Microsoft.Sharepoint.Client.dll. In one of our shared folders all the documents are Shared with anyone with a ...
0
votes
0answers
43 views

How can I add a print button to an InfoPath form? SharePoint 2013

I cannot create a print button that works in browser-enabled view. Is there any method make it. I have tried with thisXdocument.Print(), but thisXdocument does not exist in my context. I need to ...
3
votes
4answers
3k views

Is it possible to read a sharepoint website using C#

I am new to sharepoint technology. I want to know if it is possible to read a website hosted in sharepoint. I can see that page after I log in. Can I do that in C#? And do I have API to do the log in ...
2
votes
2answers
3k views

Adding ListViewWebPart with CSOM

I have to add a few webparts to a default page using the Client side object model. For the most part this goes fine, I can add a XSLT and content query webparts. However, when i try to add a ...
0
votes
0answers
18 views

SCOM: How to avoid reinitializize clienttcontext

I have the following code in a console application: for (int i=0;i<10000;i++) { fillValues();Write2SP()} and in Write2SP(), I always do that: ClientContext clientContext = new ...
0
votes
0answers
68 views

Submit file to Drop Off Library programmatically - OfficialFileCore.SubmitFile is returning OfficialFileResult.FileExists

In this scenario, I want to submit file from team site site collection to document center site collection programmatically, upload it to the drop off library and get it routed to the right place ...
-1
votes
1answer
38 views

Show the images from the shared drive with C# MVC [closed]

I want to show the images from the shared drive, I have published the solution and hosted in the IIS and created one directory named as "Images" which directs to the another server's shared folder ...
3
votes
2answers
72 views

How does my app log into hosted Sharepoint (Sharepoint Online/Office365)?

I'm new to Sharepoint generally, and need to write an app which will do some basic file management. First, though, it needs to log in. The documentation I've found suggests that: var clientContext = ...
0
votes
0answers
44 views

How to update existing info path form field value using c# in SharePoint 2013

I have a requirement like update an existing info path form field value using c# in SharePoint 2013? Below code am trying to update. But not working. Could you please have any idea? The below code i ...
1
vote
0answers
13 views

Updating result source query using client dll

Is it possible to update the query in the query builder of result source using client dll ? If yes please show me some way.
1
vote
1answer
7k views

Load properties of list item dynamically in CSOM

I have a situation where I need to load items from the list and which columns to be loaded cannot be hardcoded, as it will be decided on user input. I have the following code: ocamlQuery.ViewXml = ...
1
vote
1answer
44 views

How to find site/web template title based on site url

I've applied a custom web template in a site. How to retrieve the template title based on site url in c#? FYI: My Custom Web Template name is "{guid}#MyNewTemplate" and title is "MyNewTemplate", ...
0
votes
0answers
28 views

Get selected items from a SharePoint List with c# webpart

I have a list in Sharepoint 2010 with two columns, one of them is an attachment. I have a webpart (a button actually) and I need to sent a mail with the attachments selected from that list. I was ...
0
votes
0answers
13 views

Performant way to do a count on a sharepoint-list using CSOM?

I need to get only the count of a Caml-Query from within SharePoint (2013/O365) I retrieve the data the following way: private int GetCount(ClientContext clientContext, CamlQuery query, string ...
0
votes
2answers
59 views

clientpeoplepicker property is not working

Here is My code. <td> <SharePoint:ClientPeoplePicker VisibleSuggestions="5" Rows="1" ID="ppContractManager" Enabled="true" Required="true" runat="server" ...
1
vote
0answers
50 views

Get Current User before ADFS authentication

I'm currently writing an HttpModule in the hopes of gleaning the currently logged in user and redirecting them if they are trying to authenticate with the Windows credentials instead of using a valid ...
1
vote
1answer
75 views

Upload a Folder with Sub-folders and Files Recursively with Pure CSOM?

Can someone please, share a CSOM (C# only) recursive method for uploading a folder with subfolders and files to a SharePoint Online Library? I know about WebDav and FileExplorer, but it's not a ...
0
votes
1answer
37 views

unable to attached a custom CSS on a site page using “code snippet”

I have added a new aspx site page inside my team site and I want to reference a custom style sheet inside this site page only. So what I did is I edited the page then I chose to add a code snippet, ...
1
vote
1answer
608 views

Looking to retrieve user's groups in SharePoint

I am running SharePoint Foundation 2010. I have a claims based site setup to use a trusted token provider. I am passing it a set of claims that determine the user's group. They look similar to this: ...
0
votes
1answer
42 views

how i can fix the Health Analyzer's Configuration problem “Missing server side dependencies”

I am working on SharePoint server 2013 enterprise , and i run the Health Analyzer, but i got this error "Missing server side dependencies" as shown below:- and here is the full description of the ...
1
vote
2answers
39 views

How can I apply CSS to webparID?

how can I apply css to webpart ID. I have the following webpart: webpartid="5a399f4c-f605-409c-8e3c-55993af60c9a" I need to apply css only for this webpartID How can I do that? Thanks!
0
votes
0answers
15 views

Disable “sharepoint mode” while browsing a sharepoint site via open menu

Basically, when I open up a code editor (visual studio, sublime, sp designer, etc) and browse to a Sharepoint site that I mapped, instead of giving me the typical Folder view of windows explorer, it ...
0
votes
3answers
57 views

How can I create a column in SP list which represent current date?

How can I create a column in SharePoint 2013 which represent the current date. For example today is 02/09/2016 tomorrow should be 02/10/2016, 02/10/2016... and so on each day the date must be changed. ...
0
votes
0answers
68 views

page load very slow using for-each loop in c# ( Performance issue)

In radio button 1000 fields are there.if we are having 10 fields in radio button if i select one radio button page load fastly.But in 1000 data in radio button if i select any radio button and submit ...
1
vote
1answer
36 views

Missing Namespace with Office

I am trying to develop a custom solution that makes use of the Word Automation Service but I keep running into a snag. The reference article I am following says that I need to make use of the ...
0
votes
2answers
54 views

Sharepoint 2013 Branding with Visual studio 2015 [closed]

I'm pretty new to C# and ASP.net and have a project to brand our internal SharePoint site. So I need a source book to learn Visual studio 2015 (C# and ASP.net) Does anyone knows about a book focusing ...
0
votes
1answer
44 views

adding content type programmatically null reference exception

I'm trying to add programmatically a Content Type to a SPList. Howerver i got a null reference exception. I followed the MSDN to do it : enter link description here SPContentType test = ...
0
votes
1answer
77 views

Get list data at AllItems.aspx view using CSOM in C#

How do I retrieve view data on client-side at https://www.x.com/x1/x2/x3/allitems.aspx that I have access to? The code I've got so far: ClientContext context = new ...
1
vote
1answer
542 views

Listbox in webpart has no selection

I'm having a problem that's really blowing my mind right now, because it seems like some basic .net functionality isn't working properly. No doubt I'm missing something really obvious. I could really ...
1
vote
2answers
3k views

Programmatically altering approval workflow task in separate workflow

Here is my code to programmatically alter the task at hand, the only problem is that the code doesn't alter the "Outcome" of the approval task. The Outcome field is blank. "Task Status" is Complete, ...
1
vote
1answer
71 views

Is creating a Timer Job in SharePoint 2013 as a farm solution , a deprecated approach that i should avoid

I want to create a timer job in sharepoint 2013, the purpose of the timer job, is to loop through my list items and do these two actions:- Check if the "Review Date" of an item is met (Review date = ...
1
vote
1answer
34 views

will the workflow that get started by a Retension Policy , run for each item inside the list

I am working on SharePoint 2013 site collection. and i want to be sending emails & update list items if the item has a status of "New" & its review date = Today. To achive this i did the ...
1
vote
0answers
21 views

Which is the main differences between sharepoint apps? [duplicate]

Can anyone explain me the differences between sharepoint apps: SharePoint-Hosted; Provider-hosted; Sharepoint-hosted; do these all apps need to configure store in sharepoint?
1
vote
3answers
1k views

Is it possible to change the visual style of a JSGrid row?

I am working on a SharePoint solution using the SharePoint JS Grid control to display data. What I'd like to do is to change the default style (mainly background color) of specific rows in the grid to ...
0
votes
1answer
213 views

Title field null after .Files.Add() with HashTable parameter

I have been developing a solution for a client that involves the following lines of code, to create a new file inside a document library: metadata["SomeField"] = someFieldValue; metadata["Title"] = ...
2
votes
2answers
185 views

Is there a way to show the Key filters section “MetadataNavKeyFilters.ascx” inside my enterprise wiki pages (not only on the list view)

I am working on an enterprise wiki site collection inside sharepoint server 2013. and i have enabled metadata navigation & filtering for the wiki pages list . Now when i click on any list view i ...
1
vote
0answers
37 views

How to check that user is SharePoint administrator in Office 365

How to check (on C#) that user which entered my SharePoint app (provider-hosted app) is SharePoint administrator and not just SiteCollection administrator but tenant administrator also.
1
vote
2answers
126 views

Automatically update a list column based on specific criteria (change the item Status if the Item Review Date is met)

I am working on an issue tracking list inside SharePoint server 2013. And I have two columns as part of the list:- Review Status. with these choices; New, in-progress, Need Review. Review Date, of ...
3
votes
1answer
59 views

Creating of generic method which will process Share Point List

My current project has to process several SP List's from different SPSites, so I've created several connector classes for each of them. For each of them I need to query a list and return some ...
0
votes
1answer
124 views

where to put C# code and where to put Javascript code in .aspx form in SharePoint Designer

I'm newbie with sharepoint, struggling but finding my way. I've created a list and created a new form called NewFormRequest.aspx in SharePoint designer. I'm calling this form in the browser ...
0
votes
0answers
23 views

Proper way to handle exceptions in SharePoint 2010 project

I'm new to sharepoint developing, and I need your help to give me advice how to handle potential exceptions in my code. I have this method with User user as parameter , in which I'm detecting who is ...
0
votes
1answer
62 views

Sharepoint 2010 workflow “Pause until date” Versus Defining a timer job

I am working on SharePoint 2013 list. and i want to send emails and change the item status field, when a list column named "Review Date" is met , and by "met" i mean when the "Review Date" is equal to ...
0
votes
0answers
32 views

Change preferred user lang in CSOM

I added a button in the master page to switch easily between 2 languages. For now it sets the cookie but I need to change the preferred language in user/profile/regional settings. I'm searching ...
3
votes
1answer
78 views

Get document ID with CSOM

I'm using the following code to get a document via its documentid in a ASP MVC application: ... // Get Document ID ctx.Load(uploadFile, f => f.ListItemAllFields); ctx.ExecuteQuery(); documentID = ...
0
votes
0answers
42 views

Send Post request from C# to Sharepoint site (.aspx)

I am using a SharePoint Website which contains a custom widget. This widget let you chose your current country location, for Example: Canada. I am try to change this country location from C# via a ...
0
votes
2answers
36 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" ...
1
vote
1answer
47 views

Parsing a CAML query in C#

I have a SharePoint 2010 solution with a custom web part. I am using C# in Visual Studio 2012. The user has selected a view from a list, which I am storing as an SPView object, mobjView. I want to ...
1
vote
0answers
37 views

Retrieve all customized list/library in a site collection [closed]

Is it possible to retrieve all customized lists/libraries in a site collection (C# / SQL query)? By customized, I mean: New columns have been added InfoPath forms are used