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

learn more… | top users | synonyms (1)

4
votes
2answers
4k views

Provision XSLTListViewWebPart with <AllUsersWebPart> or <View> and customize the XslLink

I've created some custom List Definitions (aka List Templates) and am provisioning List Instances of them into my site. I am then provisioning Pages (Wiki/WebPartPages) that refer to the lists/views ...
0
votes
0answers
347 views

Pass parent ID to new child list item in “inline edit” mode of ListViewWebPart

I'm trying to set up a 1:Many relationship between items in a parent list. In the EditForm for the parent item, I've inserted a XsltListViewWebPart for the child list, and set up filtering on the ...
0
votes
1answer
814 views

Specify character encoding in webpart

really simple: I have a visual webpart with danish letters (æøå) which is malformed when deployed - most likely as a result of the wrong characterset encoding. How would I go about specifying this in ...
0
votes
1answer
1k views

Only people picker dialogs types can be used with dialog. The type should be configured as safecontrol in this site

I have a package which deploys a custom people picker dll. It also should add the safe control entry to the web.config but its not doing it. <Assemblies> <Assembly ...
0
votes
2answers
2k views

How to get custom action to a SharePoint list actions menu for a specific list or content type?

I add custom action to a sharepoint list actios menu for all list . I want get custom actions that define for a special list in VS. How to get custom action ?
3
votes
1answer
1k views

How to register an ashx handler through sharepoint 2010 farm solution

I have a 3rd party control that i want to add to the web part. That 3rd party control uses a generic ASHX handler. I can always add the registration to the actual WFE web.config but it's a bit ...
0
votes
1answer
475 views

DispForm with child data view

I have two related lists. I have a parent list and a child list, the child list has a column that stores the ID of the parent list. In the parent's EditForm I added a dataview of the child list, and ...
1
vote
3answers
1k views

List using subsites as items?

I'm looking for a way of AUTOMATICALLY adding an item to a list on a root-site when you create a new subsite of a specific type. Context: I'm building a "Project Portal", and there's a requirement ...
2
votes
1answer
253 views

Allow Page Layout via Code

I've created a custom page layout for a search center, and seem to be stuck with the fact that by default, a search center is limited to a subset of approved page layouts. Upon initial deployment of ...
0
votes
3answers
1k views

How do I use a SQL query to check-in a document?

Yesterday I started looking at the tables in my SharePoint 2010's Content databases for the first time and I noticed something a little unnerving: There were files that were checked out and the web ...
2
votes
3answers
12k views

Difference between Sharepoint Server & Sharepoint Foundation

What is the difference between Sharepoint Server & Foundation. To what I know, Sharepoint foundation is one of the editions other being Standard & Enterprise (as seen here ...
7
votes
5answers
5k views

Google Analytics for an Intranet Site

I installed the Google Analytics tracking code in an intranet site, it works properly. But my concern is, are there any security risks of using it for an intranet site? simply, is it ok to use Google ...
2
votes
6answers
6k views

How to get the url name of a subsite from a webpart?

Salvete! I have a web-part (sp 2010) with a web-page viewer that loads a custom aspx page. I need to get the url of the current subsite from the aspx page. In other words, if the path in my browser ...
1
vote
0answers
98 views

Search results missing for web application for external connections

We have SharePoint exposed externally via ForeFront TMG. The SSL connection terminates at TMG and is then proxyed internally over HTTP. Our "hosted" application is accessed internally by ...
4
votes
1answer
3k views

Reporting Services, get data from any Sharepoint List

I am trying to build an SSRS (2008R2) report based on a Sharepoint (2010) List. The main problem is that the List on which the report will run has to be a report parameter.I know what the list ...
11
votes
3answers
10k views

ListInstance with predefined data, prevent adding records to list with same name on deployment

I have a feature which on activation has to create a list called Scanners. Only one column from the list (Title) is actually used in my app. The list needs to be pre-populated with some values. To ...
1
vote
1answer
121 views

how to access Taxonomy change log

I can see audit log at web application level, but how can I see audit log for modifications in managed metadata application content and schema changes? Thanks in advance
1
vote
2answers
191 views

Setting individual WFE config setting

As per my understanding SPWebConfigModification class modifies the web.config across the farm, including all WFE. Are there any workaround to set some WFE specific web.config setting, like licence key ...
1
vote
1answer
616 views

How to insert picture into your Word document?

I have a Document Library with column type Hyperlink or Picture (Signature). How to insert (Signature) into your Word document? I find this link for insert Picture into word. I problem is : How do ...
0
votes
1answer
563 views

SharePoint Customize People Search

I just configured "User Profile Synchronization" service on my SP2010 box..now I want to come up with my organization Directory..my Organization offices are in different cities and one office is in ...
2
votes
4answers
1k views

How to Upload File to Virtual Directory?

Salvete! Is there a way in Sharepoint to have a file be uploaded to a location in a custom virtual directory instead of sharepoint? I have about 120 users, all of whom need to deliver to our server ...
18
votes
3answers
6k views

Deployed Timer Job not taking new code when deployed

I've realized recently that, when re-deploying (either manually or through vs2010) my timer job feature package, the updated execute code is not being deployed. Strange yea. Essentially, I'll ...
0
votes
1answer
2k views

LDAP Authentication - connection string

I am setting up claims auth for a site which needs to use LDAP. The connection needs to be made using a certain user account so I need to pass in the password. Does anybody has an example of a ...
0
votes
1answer
120 views

Extend Win Auth Webapp to use Forms Auth

Is it possible to extend an existing web application (configured to use classic mode authentication) to use claims authentication? When I try to extend the web app I don't see a option to pick ...
1
vote
1answer
132 views

Auditing Metadata for folders

I am using Folders in Sharpeoint 2010 Foundation to create document sets as document sets are not supported in Foundation edition. I have created a custom content type inherited from Folder, and I ...
3
votes
1answer
764 views

Get content of Multi-Line text field in Sharepoint 2010 Data Services

I am using listdata.svc service to retrieve data from Sharepoint 2010 I have a List and it has a Multi-Line text field which has append option on. when you append text to multi-line text field, it ...
2
votes
1answer
906 views

how to build a custom picker control

I wanted to build a picker control that would work upon a ECT like the out of the box picker but at the same time would also be able to show the picker dialogue based on some filtering criteria ...
2
votes
1answer
2k views

how to get or set ItemPicker control value

I am building a custom form and I am using ItemPicker control to fetch data from an external entity . I am able to fetch the data using the ItemPicker but my next work is to fetch the value from this ...
1
vote
2answers
952 views

View folder content in detail view

I have a structure below; Folder - Sharepoint Folder Component - Custom Folder which is inherited from Folder Deliverable - Custom Document which is inherited from Document when I view a folder ...
0
votes
1answer
270 views

Custom File Type on Upload Menu

I have a custom Content type called Deliverable and it has been inherited from Document content type. but when I go to document library and click on Upload Document button on the toolbar, I only See ...
5
votes
3answers
527 views

Is there any alternative UI for sharepoint Ribbon Control to minimise height?

Sharepoint Ribbon bar is occupying more height space in our application and the business users want this to be avoided somehow. Can anyone suggest any other alternative UI to minimise the Ribbon ...
1
vote
1answer
167 views

How can I generate a list of a given users audiences?

I have a webpart that works off audiences to target content to users in a global portla (content comes form all over) how can I give users the ability to see which audience they are currently in? For ...
0
votes
1answer
822 views

Why the files which are added as link in project are not deployed on SharePoint 2010

I have two projects in my VS solution, a project named "B" is a SharePoint 2010 project which has a mapped SharePoint "Layouts\js" folder and some other project "A". In project "B" I put various ...
0
votes
2answers
207 views

Custom Master Page Issue

I was hoping someone could help me out with a little issue I have in regards to a customized masterpage. A bit of background: I need to revamp our Intranet website upon migration to 2010 so decided ...
1
vote
2answers
2k views

Adding url to the hyperlink field in SpGridView

I have a dynamic Spgridview. I add column in page load. I use this code for add Hyperlinkfield in SPFieldType.URL : string[] url = new string[1]; url[0] = field.InternalName; HyperLinkField link = ...
1
vote
1answer
1k views

custom actions are not visible

I have a custom action for the menu, but I can not see it. 1. I am site collection admin 2. I checked the feature and its there 3. I checked the package and is there 4. I checked the 14 hive and ...
2
votes
1answer
212 views

How can replace the XsltListViewWebPart with a new WebPart?

The list view web part are used by SharePoint to list and library data. When a new list is created, the web part for the list is also created automatically.List view web parts can show one view at a ...
0
votes
1answer
327 views

Modifying 'Manage Permission" level

For SharePoint 2010, Can the "Manage Permissions" permission level be modified to allow; a) creation of groups, b) assignment of permission levels to custom groups EXCEPT Full Control perm level, c) ...
0
votes
1answer
1k views

When to use SPDocumentLibrary?

Since it inherits from SPList and the only way I know to create a SPDocumentLibrary is to convert it from an SPList object using: SPDocumentLibrary lib = (SPDocumentLibrary)list; Why would anyone ...
1
vote
1answer
92 views

What are the technical reasons to go for BIN deployment in SharePoint 2010?

In my current project, the team uses BIN deployment instead of the standard GAC deployment. The application is just a custom application using NHibernate as the ORM framework. I know thats not a good ...
1
vote
1answer
1k views

Can a the version history of a Word document be embedded in the document?

We currently maintain a version history inside our documents, using a simple table with 4 columns: version, date published, comments, author initials. We save documents as PDF before sending them to ...
0
votes
2answers
1k views

Errors when attempting to install a sharepoint 2010 feature

I'm attempting to install and activate a feature containing a Timer Job. When I execute the install-spfeature cmdlet I get the following error. What is the source of my error? PS ...
2
votes
1answer
7k views

Creating a searchable FAQ section in sharepoint 2010

How can i create a FAQ section that I can use a basic search web part to search through the FAQ and display the most relevant results. I am new to sharepoint and need some guidance, thanks.
2
votes
1answer
339 views

Can I use javascript to determine if a list item has a related item or not?

I've got a List in Sharepoint 2010 and I've created a "related item" which has a link to my master list which is set to unique values (so for each item in my master list there is 0...1 child items). ...
2
votes
1answer
7k views

The file name you specified could not be used. It may be the name of an existing file or directory

SPContentTypeCollection listctc = list.ContentTypes; In that line,. I am getting this error: Invalid file name. The file name you specified could not be used. It may be the name of an existing ...
2
votes
2answers
1k views

Add columns to SPView programatically in a DEFINED order

The list has column a,b,f I want to add some columns to the list and to the view. but in a defined order. I want column country and organization to be BETWEEN columns b and F Is it possible? ...
1
vote
2answers
4k views

Column 'Document Id' not added to Library even after activating 'Document ID Service'

To enable document id feature in SP10, I followed the steps mentioned in the following posts: Document ID in SharePoint Server 2010 SharePoint 2010 – Activating the Document ID Feature Why after I ...
2
votes
3answers
964 views

SPDispose false positive

I got many warnings from the SPDispose checker like this: ID: SPDisposeCheckID_140 Module: xx.xx.dll Method: xx.xx.Layouts.xx.UpdateWorkspace.Page_Load(System.Object,System.EventArgs) Statement: ...
2
votes
1answer
310 views

hard drive configuration

A section in the TechNet article Best Practices for Operational Excellence (SharePoint Server 2010) states the following: Separate system components into logical drives and use RAID for ...
2
votes
1answer
3k views

EnsureUser throws The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again

I have this code: The EnsureUser Line is throwing me that exception, any idea? The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your ...