0
votes
1answer
4 views

how can i display the latest items from another site collection

I have a web application, with three site collections . and i want inside my team site to be able to display the latest pages that have been added to my enterprise wiki site collection. so what are ...
0
votes
0answers
11 views

How to invalidate ClientPeoplePicker?

I'm trying to add simple validation to ClientPeoplePicker. If the person entered to ClientPeoplePicker already exists in the field on the list it should go back to my custom edit form and display an ...
0
votes
1answer
17 views

Does site collection backup , also backup any custom web parts

I have created a custom web part inside my visual studio 2012, and i publish it to a site collection. now i have backup the site collection to move it to another server. but my question is, if I ...
0
votes
0answers
12 views

"Task upgrade has failed with a PostSetupConfigurationTaskException An exception of type Microsoft.SharePoint

I have SharePoint server 2013 , and i run the configuration wizard, it worked successfully but at the last step i got the following error:- "Task upgrade has failed with a ...
0
votes
2answers
22 views

SP13: Opening PowerPoint Presentation into Slide Show

I am using SP13 and wanting to upload a PowerPoint presentation to document library. After I upload the document to the library I would like for the presentation to open into a slide show. I have ...
0
votes
3answers
26 views

Changing visibility of text/controls in a visual web part

I need to show/hide a section of text and controls in a visual web part when a button is clicked. I've seen references to doing this via JS but can't connect the dots for how to integrate that into ...
0
votes
0answers
12 views

Go through all items then delete them and then set boolean to yes for last item

I want to go through all items in a share-point list, then i want to delete them one by one after gotting there details. I want to set flag to yes for last item; how ?
0
votes
2answers
37 views

SP13: Master Page Centering

I am working changing the master page to center the content in the middle of the page. For an example, see the homepage to www.topsharepoint.com. To accomplish this task I have changed the master ...
2
votes
2answers
22 views

SharePoint group not visible

I created a new SharePoint group using UI. I do not see the group using: $web.Groups | select Name Why? (I need to access to the group by CSOM but the group is not found)
0
votes
1answer
12 views

Add code behind files to a SharePoint App Project (provider-hosted)

Let's first describe my work context: I am working on SharePoint 2013 on-premise I have created an App for a SharePoint 2013 Solution using Visual Studio 2012 with provider-hosted option. Two ...
0
votes
1answer
34 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
19 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
12 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
134 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
37 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
25 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
50 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
21 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
38 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
125 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
34 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
213 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
164 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
445 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
22 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
90 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
34 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
36 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
36 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
60 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
17 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
21 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
48 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
48 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
70 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
58 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
546 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
143 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
126 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
75 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
53 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
59 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
58 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
71 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
39 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
151 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
72 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
166 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 ...