0
votes
1answer
31 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 I get the following message "Sorry this app is not supported on your server." ...
0
votes
1answer
15 views

how to check if domain group has any kind of permissions to web after ensure

I am adding user to web, he might be added or might not be. I want to only give him permissions if he already doesnot have/has. How can i check. SPSite site = new SPSite(webUrl); ...
1
vote
0answers
5 views

Does writing a custom RBS provider force one to put SharePoint into unsupported state?

It is well known that modifying a content database directly by running SQL queries results in an unsupported state. However, it is possible to develop custom RBS providers. Note that when an item is ...
3
votes
1answer
127 views

Does adding custom code to native SharePoint aspx files automatically result in an unsupported state?

I want to add some custom code to one of the native SharePoint's aspx files in the hive (14\TEMPLATE\LAYOUTS). Specifically, I wish to implement a Page_LoadComplete event that does some additional ...
0
votes
1answer
31 views

SP13: Document Library Check-in/out settings

Recently our network went down and after it came back up a few of the document libraries lost its functionality. Prior to the shutdown, when an end-user checked out a pdf and made changes to the pdf ...
0
votes
0answers
21 views

Custom Ribbon Button to Insert Group on Content Editing

I want to develop custom ribbon button that will upload images and return it's html markup like standard button do that inserts the image. My problem is that I want to upload many images, but ...
3
votes
1answer
43 views

Multithreading works with a self made parrallel loop, but not with the native one

In a project, I have a quite complex operation that takes few seconds to execute. The operation requires to work with a SPListItem object. Because my operation has to be executed with a bunch of ...
0
votes
2answers
18 views

Efficiency of SQL updates/queries versus dealing with lists

I'm doing a lot of operations on very large custom lists, comparing them to SQL tables and updating items in the lists based on those tables. Currently this is a pretty slow process because it takes ...
0
votes
1answer
34 views

How do you tell if a site (SPWeb) was unsuccessfully provisioned programmatically?

I have an application that is running periodically using the task scheduler. The Application gets a list of projects from a database and checks to see if there is a corresponding sub-site in the ...
0
votes
2answers
81 views

How to get groups and their roles/permissions on each individual subsite, without including groups from child elements (such as libraries)?

Using CSOM and C#, how can I get the groups that have permissions on a site along with their roles, given that I have the name of the subsite? Language might be a barrier here, and I tend to explain ...
-1
votes
1answer
32 views

Master Page Format Change

I am taking the plunge to change a master page format. I am wanting for the text to appear in the middle of the page with a frame around the text. Question. Does anyone know on how this can be done? ...
0
votes
1answer
134 views

Do I have a future career as a SharePoint developer? [closed]

I'm a recent graduate with a BS in Business Administration/Management Information Systems. I've been working as an intern in corporate IT for a large company for the past year. I started with basic ...
0
votes
2answers
109 views

How to programmatically get all groups that have permissions on site?

I found this question and that person was asking how to get all the groups from a site, but instead he already has code that returns groups that have permissions on the site. And that is what I am ...
1
vote
2answers
206 views

Get selected value of dropdown choice list item

I'm trying to get the selected value of a dropdown list item. Nothing works. SPFieldChoice dropdown = list.Fields["Admin Guide"] as SPFieldChoice; var choices = dropdown.Choices; var selection = ...
0
votes
0answers
21 views

Remove document from in-place hold with CSOM?

Is there any way to remove a document from an in-place hold using SharePoint CSOM?
0
votes
1answer
43 views

Object Model List all users with full control on a sub site in SharePoint 2013?

If I have a sub site URL and a user with Site Admin, can I list all users in that sub site that have Full Control at that level? Any C# code sample?
0
votes
1answer
25 views

Activating web feature from event receiver doesn't do anything

I have the following code that should run to automatically disable the Minimal Download Strategy feature when a new site is being provisioned. Unfortunately nothing happens. No errors are captured in ...
1
vote
1answer
31 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
0answers
30 views

SP/Visio: Shape Mouseover

I created a Visio 2013 diagram and connected it to SharePoint as a webpart. The shapes that are within the Visio diagram are linked to pages. Is there a way to add the mouseover function to the ...
1
vote
2answers
54 views

What different ways can jQuery be added to SharePoint Sites?

As the question states, What different ways can jQuery be added to SharePoint? Lets say that we have deployed jQuery to SharePoint. We can add it through: Master Page. Adding it to a new Site ...
0
votes
0answers
16 views

SP13: Extracting Data from List to External Devices

I am not sure if this is possible, but it's worth asking. SP13 allows data to be exporting to Excel and other applications. However, is there a way to extract data from a list or document library to ...
0
votes
0answers
19 views

SP13: List Item Modified Indicator

When I create a new item in a list a "green" indicator appears next to the item. The "green" indicator appears signaling that it's a new item. Is there a way in SP13 that when an existing item on ...
0
votes
2answers
41 views

Do timer jobs always run under DefaultServiceAccount?

I'm curious whether or not all timer jobs will always run under the same farm service account, i.e. SPFarm.Local.DefaultServiceAccount as specified at installation. For example, if farm service ...
0
votes
0answers
42 views

Query user details using employee ID

Is there a way to fetch user details from user profile service using employee ID?
0
votes
1answer
59 views

SP2013 Sandboxed Visual Web Part, Custom properties won't save

I can't get my properties to save (or possibly load, or both). The custom properties show in the property pane just fine (Well, the formatting isn't great, but they're there). But nothing I do can ...
0
votes
2answers
51 views

How to programatically get a link to custom timer job settings?

I have created a custom timer job and deployed it to all web applications. In a custom central administration application page, I would like to show links to this timer job (e.g. 2 links if there are ...
4
votes
4answers
460 views

Custom Sign In Page has an SPContext.Current that is always null

Important Update (based on feedback received so far) I do not have Visual Studio installed on the SharePoint 2013 Server. All code is compiled in Visual Studio 2012 remotely using references ...
0
votes
1answer
116 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
96 views

Is it possible to show a 'My Activity' web part on a SharePoint site if 'My Sites' is not available?

Is it possible to show a 'My Activity' web part on a SharePoint site if 'My Sites' is not available? For example, say there's a SharePoint installation dedicated to particular (custom) SharePoint ...
1
vote
0answers
70 views

How do I make a dynamically created SPList read-only in browser, but editable in code?

In code, I create a SPList. I write to this list programatically, but I would like the list to appear read-only for all users (perhaps excluding admins only) in browser only, i.e. I don't want to ...
0
votes
1answer
21 views

Where to store custom logs that will be shown to end users?

I have a custom job that can process various documents. I'd like to show user-friendly logs of the processing summary on a custom CA application page, e.g.: "[time] Document1.docx from site ...
1
vote
2answers
50 views

How to display charts dynamically other than by using MSCharts?

I would like to display a pie chart in a custom SharePoint application page. One option to do this is by using MSCharts and <asp:Chart> tag. However, getting this to work requires modification ...
0
votes
0answers
50 views

Design tab and content assist missing for Application Page's aspx file

I have created a simple Application Page which I am deploying in SharePoint 2013. Everything works fine except the Visual Studio 2012 designer for aspx file does not show any content assist for ...
0
votes
1answer
43 views

How to get the version comments using webservice?

IN a Nintex workflow(not really relevant), I need to get the User comments for a page, (the last version comments), however Nintex does not show comments in the item properties. For this I need to ...
0
votes
0answers
23 views

Update BCS Value Programatically

Here is my issue, we had a BCS definition with a value being stored as an int. we had to update that definition so the value is now stored as a string. However do to most of our values being stored of ...
0
votes
2answers
62 views

Are farm admin privileges required to update SPContentDatabase property bag?

If I store custom data inside SPContentDatabase.Properties, must I be farm admin to be able to update it? E.g. SPContentDatabase contentDatabase = GetContentDatabase(); ...
1
vote
1answer
35 views

How to enable non-admin users to store custom application data at a farm level?

When a normal (non-admin) users click my custom-made ribbon button in a document library, I would like to write the document library's information to some persistent farm-wide store (or at least a ...
0
votes
1answer
108 views

How to deploy ItemAdded event receiver to the entire farm? [duplicate]

I have created an ItemAdded event receiver that is supposed to process new documents/files after they've been added to any document library in the farm - i.e., I'd like the event receiver to ...
0
votes
1answer
67 views

Create a sharepoint groups does not work, index out of range

The following code has been tested in dev, test environments and it works perfect. However when I run it on qa environment I get the following exception: ...
0
votes
0answers
152 views

O365 Autohosted App: CSOM read items from a list -> Unexpected response data from server

I have created an autohosted app for O365. I'm using a mix of the CSOM and SSOM. When I try to retrieve items from a list (MyList) with the below javascript code I receive an error: unexpected ...
0
votes
1answer
85 views

Can SPPersistedObject settings be updated by normal users if ran with elevated privileges?

I have a custom ribbon icon "Enlist" deployed to each document library. A normal (i.e. non-admin) user can click this icon; when he does, I would like to permanently save the document library ...
0
votes
1answer
39 views

Creating a .wsp for SharePoint 2013 from a SP2010 compatible project

I have a rather old SharePoint project that I believe goes back to SP2007, and is currently working fine with SP2010. My current process for creating a .wsp for sp2010 is to use WSPBuilder. It seems ...
0
votes
1answer
198 views

Export my Enterprise Wiki aspx pages to a PDF files

Our client has asked if we can add a link to their current Wiki pages named "Export to PDF", so when the user click on the link the Wiki content will be exported inside a pdf file ? i got confused if ...
0
votes
0answers
19 views

Limit filetype for one Document Library in a site? [duplicate]

I have a document library in our main site that I'd like to restrict to PDF's only. I know I can block filetypes for an entire site, but is there a way I can limit a particular library to only accept ...
2
votes
3answers
88 views

How to find the creation date of the Web Application?

I wanted to find how the count of the web application in the farm increases in the past year. For this I wanted to find out the date when each web application is created. Is there anyway to find the ...
1
vote
0answers
39 views

Where i can override the OnInit method

I need to write the following farm solution to override the InInit method as follow:- protected override void OnInit(EventArgs e) { var request = HttpContext.Current.Request; ...
1
vote
1answer
32 views

Performance: SQL query vs SPListItemCollecion

A project I'm working on has me pulling lots of data from another SQL database (via a c# webpart) and I'm curious about the best approach to make it as speedy as possible. The two thoughts I had were ...
2
votes
2answers
125 views

How to handle app installed, uninstalled, upgrading events?

I am following this blog post http://blogs.msdn.com/b/vesku/archive/2013/10/02/ftc-to-cam-custom-actions-and-property-bag-entries.aspx On the video and the download it shows how to handle the app ...
0
votes
1answer
104 views

How to append sharepoint required parameters for APPS, in asp.net mvc apps?

According to the documentation for sharepoint apps, we need to always append the SP Host web url, so that the app can get the context from the host web. The Sharepoint Context provider and the token ...
2
votes
0answers
21 views

Filter and sort related data from multiple lists

I've been working on ways to collect data from a few lists, do some calculations on it and set up user controls to filter/sort that data. Ultimately I want a web part (or similar) that a user can use ...