2
votes
1answer
392 views

Setting preview image for Sharepoint 2010 custom web template

I have a custom Sharepoint 2010 Web Template and I would like to set a custom preview image for it in the Sharepoint add site gallery. Example (I wanna set a custom image for the "Project Template ...
0
votes
1answer
141 views

ASCX usercontrol Writing to Text File

Is it possible to from my ASCX usercontrol to write to a text file either on the file system or in a sharepoint list? I tried using a streamwriter but I always get that it cant find the file Ive ...
0
votes
1answer
1k views

Using page properties as web part properties

Specifically in the content query web part, can I filter by a column whose value is passed in based on a particular page property (the pages have some custom columns to aid in SEO and indexing, one of ...
1
vote
1answer
7k views

Reference a hidden column in a calculated column

In SharePoint 2010, I have a document library in which I want to add a calculated column, which references the Name of the document. Entering the following formula works fine: =[Title] But I can't ...
8
votes
2answers
2k views

Tracing user profile changes without iterating all the through?

Due to the project requirement, we want to trace the user profile property changes (made through mysite) whenever they do. Is it a good idea to insert a javascript (through a delegation control) and ...
0
votes
1answer
42 views

Use column info in another column

I am using a standard web part wich relies on html code to render an animated image. The data to create this image is stored in a column of a custom list, so i have a column with html format. What i ...
2
votes
1answer
462 views

Show Ribbon on every page?

I have done a custom tab and need to display it on every single page. But how? Ive tried with a delegate or feature control that adds an addition pageheader that runs some code getting the current ...
3
votes
2answers
579 views

How to redirect user after item was added by custom web part

I need to display a notification after an item was added through a custom visual web part. If I try to use the TransferToSuccessPage(String), Sharepoint goes in error Thread Abort. Tnx
0
votes
1answer
852 views

Showing new list element form on button click

does anyone know how to show the new list element form on button click, that I have on my custom aspx page? Like when you have a sharepoint list and you click on "add item" and a new element form ...
0
votes
2answers
2k views

The selected cells are read-only when trying to delete items in DataSheet mode

The selected cells are read-only when trying to delete items in DataSheet mode. Anyone cmae across this as i need to delete my blog list items in bulk i don't want to delete them individually its ...
2
votes
1answer
489 views

Is the User Information List deprecated in SharePoint 2010?

Is the User Information List deprecated in SharePoint 2010? I have been advised that it is, and that it can no longer be easily synched with AD. It has been suggested that if I need this sort of user ...
35
votes
2answers
11k views

When to use OpenWeb() vs RootWeb

I am a little confused on the pro's and con's of each. When is it good to use OpenWeb() vs RootWeb, especially in the context of a using statement.
2
votes
1answer
4k views

Object Reference not set to instance - SiteAction menu after migration

Migrated a customized MOSS2007 Publishing Site to SharePoint 2010 using the dB attach method. Things mostly work and the content is all there. However I get "Object Reference not set!" in red near the ...
1
vote
1answer
335 views

Issue updating a custom field type

I've created a custom field type called CompanyRule. I've created a content type call RulesCT with four site columns that are of type CompanyRule. Initially I can give and update the values of the ...
1
vote
1answer
811 views

CQWP slots are not displaying

I wrote this code in itemstyle.xsl <xsl:variable name="AssistPrinEmail"> <xsl:value-of select="substring-after(@AssistantPrincipal1Email,',')" /> </xsl:variable> ...
0
votes
4answers
5k views

File remains checked out after closing without making changes

If I open a file for editing using the dropdown menu and selecting "Edit in " and then immediately close that file without making any changes or saving it, SharePoint does not prompt me to check that ...
0
votes
1answer
912 views

Extending Survey Content Type

Does anyone know of a limitation that would prevent a developer from creating a new Content using the Survey Content Type as a base? We are hoping to add a few columns to that base Survey List.
0
votes
1answer
399 views

How to implement a cascading lookup on a dataview new form connected to an external database

I have a requirement to develop a new entry form for a database that drives a reporting services report. I set up SSO and created a new item dataview webpart with a table on the database as the ...
2
votes
1answer
843 views

Changing file icon images

I'd like to accomplish two things: I want to change the color on the "checked out" arrow from green to red to increase visibility. I'd like to know how to modify the icons associated with different ...
3
votes
1answer
790 views

Why does Membership not show up in Mysite?

We just upgraded to 2010. When I provision a new SharePoint site, it is now not populating in the SharePoint Site Lists on My Site. (Formerly Memberships in 2007). I have rerun the profile sync and ...
1
vote
2answers
705 views

What's the difference between SPSite.UsageInfo.Storage and SPSiteAdministration.DiskUsed?

i want to create a PowerShell-script that can list the actual size of a SharePoint site-collection (among other infos) and export that to CSV. Writing that script i discovered that there's more than ...
1
vote
2answers
1k views

Lock all the sites on a SharePoint 2003 farm to prevent content addition, but permit deletion.

We are in the process of decommissioning our SharePoint 2003 farm. Before migrating the sites to a new farm, we would like to have a transition period where all the sites will be locked in a read-only ...
1
vote
1answer
677 views

AD groups with upper-case letters are all lower-case if added in wss

we are running an wss 3.0 connected to AD. New Users were directly given permissions to subsites/lists by adding them to the permission list in sharepoint. The users are already in AD security groups ...
2
votes
1answer
442 views

Sharepoint Designer > Use Custom Field from Content Type to set a HTML Attibute

I'm really not a Designer, but unfortunately, I have to design something. Any help will be much appreciated. The Scenario: I have a Page Layout with my own Content Type. One of the Fields in the ...
0
votes
2answers
330 views

LINQ to SharePoint and SPUserToken

When creating a new Linq to SharePoint context, normally we don't pass a site object but we provide a request url. So what should I do if I want to execute Linq queries under a different user context?...
1
vote
1answer
277 views

Provision of Web Analytics via visual studio - sharepoint 2010

Does anyone know how to provision web analytics via visual studio 2010 ? I have got web analytics working for search results - ie: it will show me how many searches have been performed, top search ...
1
vote
1answer
3k views

Is it possible to access a list in a different (sub) site in a Workflow Activity using SPD?

I have the following SharePoint 2010 site structure: Root (SiteCollection) Queue (List) Subsite (Site) Target (List) I'm using the custom SPD activities from iLoveSharePoint to create a site ...
2
votes
2answers
316 views

How best to export objects to prodution from test

We're trying to move some of the objects we've created on our test environment to production SharePoint 2010 Server. These include custom lists, custom content types, site columns, sites, images, ...
1
vote
2answers
2k views

Move a document from one library to another library using event receiver

Suppose one document is uploaded to the Shared Document library, I need to move the document to an other library say List. There I have to create a folder with the document name and needs to place the ...
5
votes
3answers
6k views

What can be done about the long URLs?

I'm used to using wikis with short, predictable URLs: host+page name. Suddenly with SharePoint 2010 I'm confronted with long, apparently unpredictable paths to files. I was triggered on this today ...
0
votes
1answer
164 views

SP2010 Welcome Page and Site Structure

I am learning sharepoint 2010 and enjoying. I've finally customized the masterpage as per my need and now i have two questions. Which file I need to customize for homepage. a) default.aspx b)...
0
votes
2answers
93 views

MOSS2007 active DBs

Whats the best way to tell which dbs are being used in your farm? Having moved and changed db servers over time, i now have dbs everywhere, wanting to do a clean up?
0
votes
2answers
2k views

Workflow creates document approval task and triggers email alerts even after workflow has been deleted

We have SP2010 Environment. Our HR team activated document approval workflow on one of the library and since then it creates document approval task and triggers email alerts to few people to approve. ...
5
votes
9answers
22k views

Missing “Upload Multiple Documents” in SharePoint 2007

I'm using MOSS on the server and have Office Enterprise 2007 and IE9 on the client. In all libraries, I can only upload a single document at a time; the multiple document upload option is not ...
3
votes
2answers
1k views

Display list of file(s) within document library

Scenario : Sharepoint 2010 foundation site with a document library. The library has many folders (and probably sub-folders in each folder). There are files in these folders/sub-folders. I am looking ...
-1
votes
2answers
517 views

webpart interview question, whats wrong with it or better way of doing this [closed]

this is like an interview question given to me by someone, can you tell me whats wrong with it or if there is a better way of doing this. this will be run in a large enterprise. NOTE : Demo.Tasks.Task ...
0
votes
2answers
4k views

Export-Spsite but exclude subsites

Is there are way to run the Export-SPSite command without exporting sub-sites? I just want to export the parent site from a web app, but there are about 120 sub-sites in the site collection that I ...
2
votes
2answers
942 views

Change from Minor to Major version when initially uploading a document into a library

Is there a way to change the version from a minor to a major version when a document is initially uploaded to a document library? Currently, when a document is uploaded it's set to version .1. We ...
2
votes
4answers
6k views

SharePoint List items being used in an ASP Repeater

If I am returning items from a SharePoint list is there anyway that I can store the values in an array or a list to use them in an ASP Repeater? I would have 4 values that would need to be stored (the ...
0
votes
2answers
2k views

How do I get the current user and sharepoint url in an asp.net web application?

I'm developing an asp.net web application and hosted on IIS 7.5 server. These applications are used in sharepoint 2010 using the page viewer web part. Now I want to get the sharepoint's current user ...
4
votes
3answers
7k views

Trying to update a SPItem from an asp.net page and get the error “The security validation for this page is invalid”

I am trying to update an SPItem from inside a asp.net page but I am getting the error The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try ...
0
votes
2answers
58 views

Permissions problem with viewing images (2007)

I have just added a new user group to the site and set its permission level to Read Only. The three users in this group are not able to view any of the images throughout the site or sub-sites. If I ...
2
votes
1answer
298 views

Web Part with more than one connection

Can I have a web part use more than one connection? I have three web parts: Web Part A, Web Part B, & Web Part C. Web Part C has three columns, A, B & C. I want Web Part A to filter Web ...
22
votes
4answers
14k views

SharePoint 2010 Application Pages. vs. Web Parts

I have done many a search on this issue with mixed results and ensuing ambiguity. The time has come to nail it down for good. If I'm developing the equivalent of a complex ASP.NET application, and I ...
1
vote
1answer
2k views

SP 2010 FullTextSqlQuery display managed properties in query results

I have created a managed property TaskDueDate linked to ows_DueDate(Date and Time) which I would like to display in my search query results. However the query doesn't return any values for ...
6
votes
5answers
14k views

Search Crawl - Access Denied

Search crawl log Error: "Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being ...
2
votes
2answers
7k views

upload master page using powershell

What i am trying to acchieve is to write a script that will automatically update all master pages on all site collections in a certain web application. The only problem i am having is that when i ...
2
votes
1answer
5k views

Difference between Application Pool and WebSites in IIS

While learning SharePoint, I noticed that, an IIS manager consist of Application Pool tab and Websites tab. Both includes the names of web application created. I could not understand the difference ...
0
votes
2answers
381 views

how to remove pagelayout while deactivating the feature

I am facing an issue regarding deactivating a feature which is having some page layouts. I am removing the page layout from the folder. Here comes the problem, when I am trying to delete a page ...
2
votes
1answer
1k views

Can't read Enhanced Rich Text field value from CQWP

I'm trying to read the value of a multi-line, enhanced rich text field from a content query web part using a custom ItemStyle template in SP 2010. Even though it has a value, it keeps coming back as ...

15 30 50 per page