For questions completely specific to SharePoint 2010 and **not past or future versions**

learn more… | top users | synonyms

0
votes
1answer
233 views

check permissions showing incorrect information

I have a weird problem. A colleague created an AD security group and added some existing security groups as members. I created a sharepoint group and added the security group. All seemed fine. I ...
0
votes
3answers
69 views

SPFolderCollection valid index arguments

SharePoint 2010, c# server object model, VS2012 Long story short, I'm trying to fetch a folder of a document library, create a new folder in it from an array of names, then fetch the new folder via ...
0
votes
1answer
593 views

Updating a multiselect field via REST API 2010

Can you update a mulivalue choice field via REST API in SharePoint 2010? If I perform a simple GET I receive: { "d": { "__metadata": { "uri": ...
0
votes
1answer
556 views

SharePoint Permissions not working

I am using SharePoint 2010. When I set permissions (I Only grand myself access) on a document library or folder or document EVERYONE can still see it and download the documents. Why is that? What is ...
0
votes
0answers
49 views

Hide SharePoint 2010 context menu [duplicate]

I am trying to hide the SharePoint 2010 context menu. I wrote the following code: $(document).ready(function(){ $('.ms-MenuUIPopupBody').live('blur', function() { ...
0
votes
2answers
415 views

Refinement panel and paging web part stopped working after core search result WP modification

I have tried following example for my requirement: Disable search security trimmer? Search result web part is working fine but the Refinement panel and paging web part stopped working. Any way to ...
0
votes
2answers
43 views

Forms being re-appended to themselves on every deployment (Sharepoint 2010)

I have a (sandbox) solution with some custom forms. If I deploy it to a site that never had this solution installed before, everything works fine. However, every time I deploy it again, custom forms ...
0
votes
2answers
252 views

Multiple Webparts with the same Javascript

I have a site with multiple Webparts. Some Webparts are linking on the same .html file. The HTML file reads data from a list and displays it in a table by using javascript. My problem is that there ...
0
votes
1answer
833 views

attach content db to SharePoint Server 2010

I need to migrate the WSS3.0 SP2 + Project Server 2007 SP2 based farm to a SPS2010 SP1 + Project Server 2010 Sp1 farm. I create a new farm (new VM on hyperV 2012) SPS2010 based (build 14.0.6028.1000) ...
0
votes
1answer
683 views

Office Web Apps - Word Cannot Read, But Can Edit

On my instance of SharePoint 2010 that has multiple tenanted site collections, I have installed Office Web Apps. After having a few issues with the initial setup, I have the service applications setup ...
0
votes
1answer
1k views

Word document Author property as SharePoint column - how?

I would like to expose the Word document property "Author" as a SharePoint metadata column. It is clearly not linked to the "Created By" field, whose internal column name is "Author". Is it possible ...
0
votes
1answer
1k views

How do I View the Raw XML Output of a Content Query Web Part?

I would like to see the Raw XML that is output from a content query web part so that I can develop a custom xsl stylesheet for this. I have the publishing infrastructure enabled. I assume I can do ...
0
votes
1answer
914 views

Designer Workflow: “Find Interval Between Dates” action not working

I am testing a default SP Designer 2010 workflow action called "Find Interval Between Dates" located under the "Utility Actions" category. I need to compare the amount of time passed between the ...
0
votes
0answers
60 views

How to create a WSP package for a SharePoint 2010 site? [duplicate]

I previously asked this Question: How to create WSP Package of a SharePoint 2010 site without VS 2010 (with SP Designer)?. But didn't get a proper answer. I am developing a SharePoint 2010 website. ...
0
votes
1answer
607 views

Using User Profile Service from a different farm

This is SP2010. Our production farm has a somewhat-working (sync doesn't work, of course) User Profile Service application. Our test/dev farm doesn't have a User Profile Service app, and I'm a bit ...
0
votes
3answers
2k views

Create dynamic view for listview web part

I am challenging this requirement: Client wants to show only list items in list view web part based on value from user profile and also preserve functionality of the list view web part like OOB ...
0
votes
2answers
2k views

Hide some lists from treeview?

I want to use the tree view on the left side, but I don't want it so show some of the document libraries such as Site Assets and Style Library - they need to be on the site, but users don't need to ...
0
votes
1answer
223 views

I need advice on a keyword strategy

I think my question is general enough to not be version-specific, but if not, we're running Foundation 2010 with minimal development (SPD, Vis Studio, etc.) capability. I have a 3500-document ...
0
votes
1answer
157 views

Cascaded Drop Down with OOTB SP Foundation?

I'm using SP2010 Foundation. Corporate governance forbids customization beyond stylesheets controlling fonts/colors/etc. No access to Visual Studio or SP Designer, so I'm looking for some ...
0
votes
1answer
3k views

Filter a SharePoint-List as you type with Javascript/jQuery

so my scenario is: My users don't like the filter technology provided in SP2010 Lists and Listviews (using the row-titles' dropdown) and likes to have a "normal" textbox and search the splist (one ...
0
votes
1answer
2k views

How can I add button to ribbon that visible only for specific content type?

I have document library and i want to add button that will be visible only for my content type: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Parent ContentType: ...
0
votes
1answer
4k views

Feature activation error: System.InvalidOperationException: Operation is not valid due to the current state of the object

i have taken one List Email event receiver(Type is EmailReceived) and that event receiver attach with document library. when i am activate that feature got error. i have check on ULS Viewer. error ...
0
votes
1answer
690 views

How to get count related Lookup value programmatically?

Another day, another question ;) So, I have two custom Lists, "Attendees" and "Events". In the Events-List there's a Lookupfield "Registrations" which I want to fill programmatically on page_load. In ...
0
votes
2answers
694 views

How to add a from lookup field value to the text

I think about how to add a from lookup value to the text ? How can I write it to another colum ? In the same list.
0
votes
1answer
133 views

SQL Server Agent in my Web Farm

Im trying to setup some scheduling in my SharePoint 2010 Farm, where I have 2 WFE's and 1 DB server. In attempting to setup a scheduled task, I received the error "The SQL Agent service is not ...
0
votes
1answer
36 views

How would I rebuild something like ReusableContent?

What I'd love to do: In a RichHtmlField of a publishing Page click "insert" in the ribbon, then "Foo" This let's me select from a list of "Foos" and inserts something that is not "contenteditable" ...
0
votes
2answers
341 views

Does web part property validation only work for visual web parts?

Suppose I define a web part property like this: private string _myString = "default value"; [WebBrowsable(true), WebDisplayName("My string"), WebDescription("A simple bit of text to ...
0
votes
1answer
781 views

The file * has been modified by SHAREPOINT\system

In the current scenario I am trying to copy a document set from one library to another, the thing is I cant use DocumentSet.Import because I only need the docset properties and not the contents. The ...
0
votes
1answer
292 views

positioning a data view web part in a body webpartzone

Guys i need to position 2 data view web part controls next to each other in a body column of a web part page. I've customised the xslt to output as an unordered list which are wrapped in div's ...
0
votes
2answers
454 views

How do I automatically fill in a column when a different People column is selected?

I would like to display both the Name and Department fields from a Person. So I can select two People columns and have one display Name and one display Department, but I'd like to autofill the ...
0
votes
1answer
2k views

Central Administration, FBA, and the People Picker

I have a web application using Windows Authentication, which is extended with Forms Based Authentication. That's all fine and dandy. The problem is I can't get the people picker to pull my FBA users ...
0
votes
1answer
428 views

GetListItem(strUrl) equivalent for ClientContext

I know using server side code I can use GetListItem(url) to get an item using a server relative/absolute url (such as this question) however I cant seem to find the same code using the Client Object ...
0
votes
1answer
290 views

Powershell Script for Deployment and Activating Features SharePoint 2010

I am writing Powershell script for adding my solution,activating solution and at last activation features on my SP2010 server. There are no issues in adding solution and deploying the solution. Issues ...
0
votes
2answers
505 views

Differentiate in ItemUpdated (ER) if file was edited or overwritted

I've an ItemUpdated Event Receiver, and I need to make different operations depending if the file was updated throw UI or overwritted. Is there any internal field that reflects this 2 different ...
0
votes
3answers
1k views

ItemAdding getting the file name of a document

I have a document library. I want to add an itemadding event recieiever to do some validation on the file name of the document. How can I get the file name from the SPItemEventProperties
0
votes
2answers
471 views

deploy a list with specific item-level permissions in ListAdded event receiver method

I have a certain type of custom list I have designed in my 'solution.wsp', that, whenever an instance of it is instantiated, it should have at the outset a specific Item-Level permission. To further ...
0
votes
1answer
368 views

“404 FILE NOT FOUND” on my username entries

In Sharepoint 2010 Central Administration --> Security --> Manage the farm admii nistrator group (Central Administration : Site Settings : People and Groups - Farm Administrators), when I click on my ...
0
votes
1answer
4k views

How to use “Get Parameters From” of “Web Part Connection Wizard” (SPD 2010)?

I seem cannot find by search in internet and in books on SPD any explanations (step-by-step, tutorial, walkthrough) on: How to use "Get Parameters From" of "Web Part Connection Wizard" (SPD ...
0
votes
2answers
2k views

ItemAdding event not firing when submitting InfoPath form to form library

I created an event receiver in Visual Studio to handle three events in a form library: ItemAdding, ItemUpdating, and ItemDeleting. ItemUpdating and ItemDeleting work as expected when debugging, but ...
0
votes
3answers
3k views

Error when deploying InfoPath web-enabled form (custom code in the form cannot be run)

I am getting the following error when trying to create a new InfoPath form from a forms library: The custom code in the form cannot be run. This functionality may be deactivated on the server. ...
0
votes
1answer
1k views

Forms Based Authentication Users in the SharePoint 2010 People Picker Not Working

I Created custom login page . I use this code for login if (Membership.ValidateUser(Username.Text, Password.Text)) { SecurityToken tk = SPSecurityContext.SecurityTokenForFormsAuthentication( ...
0
votes
3answers
2k views

timer job programatically check status

Is there a way to check for the status of a timer job, I need to know the last time it executed and its status, that it run correctly?
0
votes
2answers
316 views

search programatically

I have list1 columna columnb list2 columnc columnd list3 columne columnf i want to create a search code that will search ONLY on those lists and ONLY on some columns of the lists. It will ...
0
votes
2answers
4k views

Get Url of List, with all items

I created a document library by code, and I need to return the URL of the All Items page. I tried this, but its not what I am looking for SPList oSPList = ...
0
votes
1answer
1k views

WebConfigModifications Remove functionality is not working in SharePoint 2010

I am using the following code to remove a web.config modification which added to web.config via one feature Collection<SPWebConfigModification> applicationModifications = ...
0
votes
1answer
2k views

Create a list with powershell

I need to create one list with powershell with the following columns Title Url (255 max length) Description (255 max length) It must be a custom list. There is no need to create site columns or ...
0
votes
1answer
343 views

Hide option to create meeting workspaces for new sites created

I already know how to iterate over all sites in a site collection and hide the option to create meeting workspaces. http://pastie.org/3349098 This will work however for already created sites. What ...
0
votes
1answer
640 views

SP2010: Using custom user profile properties on an ASPX for custom profile tab

I'm trying create a new profile tab with some customer user properties. I've added the user properties following these StackExchange instructions. I was also able to create a new tab with some help ...
0
votes
3answers
1k views

Force a Sharepoint Group's landing page

Lets say I have two groups, Group A and Group B. By default my sites landing page is home .aspx (If I use http://sok1234:456/ It will take me to home.aspx ). Now my requirement is when a user from B ...
0
votes
2answers
2k views

How to add a file to a custom list

How do you add a column to a list that will allow you to upload a file? I know you can attach to a list item but you can not display this as a lookup in another list.