For questions completely specific to SharePoint 2010 and **not past or future versions**
0
votes
1answer
19 views
How to set the rowlimit in content query webpart by code?
I need a content query web part that returns me the last 10 modified or added documents into any document library on that specific website.
How can I add the rowlimit by code?
ContentByQueryWebPart ...
0
votes
2answers
364 views
How can I export external content type as a BDCM file with powershell?
I can export external content type from SharePoint Designer or Central Administration. However, I want to export ect as bdcm file with powershell in order to export ect automatically.
There is an ...
0
votes
0answers
6 views
Silverlight - Unexepcted error and Security Validation
On my environment if Security Validation is Off, then silverlight on sharepoint would not work. However, although online I have found many others with my same problem, everyone suggests to turn ...
1
vote
1answer
29 views
Small Search box customization gets overwritten on Search Result page
I have built a custom master page that we're using throughout the site which features a customized SmallSearchBox control which i have implemented using best practice:
<Elements ...
0
votes
1answer
24 views
Content Query WebPart Error while executing web part: System.NullReferenceException:
I am trying to add the following content by query webpart programatically but I have the error below
#region Last updated documents
ContentByQueryWebPart cqwp = new ...
0
votes
0answers
6 views
Ribbon buttons activation delays
Sorry, I could not find a better caption.
I have got a list called Vacancies. when I try to select an item of this list and click on Edit, it shows the edit screen fairly quickly, however the ribbon ...
0
votes
1answer
25 views
List view permissions
We have a PDF file in a SharePoint 2010 Documents library and have created a simple view that shows that one file. We'd like to limit who sees it based on an AD group. From everything on the web, it ...
1
vote
1answer
36 views
Preserve uploaded file name whilst having a valid url
If title of my question doesn't already demonstrate it, I am very much a newbie to the Sharepoint world, having come from a Lotus Notes background. So take it as a given that there are a lot of ...
1
vote
2answers
1k views
sharepoint stopped working after AD password change
I have sharepoint 2010 installed on my local box for evaluation pourpouses.
I had it all working fine until a few days ago when I had to change my AD password.
Now, the central administration website ...
2
votes
1answer
386 views
Adding Report Viewer Control on Custom Web Part ASCX Control
I am trying to use Report Viewer control in one of my custom web part (on ascx) of SP 2010. As I drop the report viewer control on my ascx it register its assembly on top with assembly version ...
1
vote
1answer
897 views
Need to collect info from Approver during approval workflow step
Within a custom workflow in SP2010, I have an approval step. When an approver brings up their screen to approve or reject, If they select "approve", I need to be able to collect another piece of ...
0
votes
1answer
896 views
Add custom Text Layout to Wiki library
In SharePoint 2010 Foundation a wiki library have 8 text layouts (One column, One column with sidebar, etc..)
How can I add custom text layouts?
0
votes
0answers
28 views
ListData.svc: How to upload attachment?
How does one upload an attachment to a list item using JavaScript/HTL5 file upload API and the ListData.svc API?
I know I can do this using managed CSOM but I want to understand the SP 2010 REST API ...
1
vote
1answer
1k views
COM exception while querying document library
I have a need to get collection of SPLitsItem currently viewed to user. My solution is a ribbon button which calls custom application page in LAYOUTS via javascript in custom action.
Application page ...
1
vote
1answer
566 views
Timer Job with lock type SPJobLockType.Job is scheduled on all WFE servers
I have written a custom timer job that should only run on one server in the farm. The constructor is as follows:
public class MyCustomTimerJob : SPJobDefinition {
public MyCustomTimerJob () : ...
0
votes
3answers
2k views
Office Client Apps crash when opening SharePoint files
I'm trying to open some SharePoint files with the full office apps, but the applications always crash the instant after opening the files.
This doesn't happen with files created using the sharepoint ...
0
votes
1answer
14 views
Filter what one group sees vs another group
This is a 2 part question because I need to get one part working first then the other. Sorry, I am a newbie as well. I am building a site where a form is submitted and another group can add notes ...
1
vote
1answer
46 views
Column displaynames are not translated
I have one site collection with 20 subsites.
One root content type which fields displaynames are translated with resource files.
On the subsites there are lists that use that content type.
19 sites, ...
0
votes
0answers
14 views
Alerts for individual users in mail enabled security group
I'd like to setup a system such that users in a mail enabled security group can add items to a list, and once that item is modified, the user is notified. I don't want to user a workflow because I ...
1
vote
5answers
2k views
Is it possible to change which list a workflow is associated with?
There doesn't seem to be a way to do this through SharePoint designer. Do I just need to recreate it? It's not a reusable workflow...
0
votes
0answers
20 views
The object specified does not belong to a list when publishing a page
I am creating a method to remove all webparts from a publishing page, however at the end in the publish method it throws me this exception
The object specified does not belong to a list.
What am ...
0
votes
5answers
5k views
How to create a WSP solution package with visual studio 2012 for an existing SharePoint site?
My manager told me: "We don't create a WSP package for an entire existing SharePoint site, we just need to package master pages, CSS, images and page layout files into a solution package." Is it ...
0
votes
1answer
16 views
Dependencies in the jscript file
Lets say, I have custom-dialog.js that depends on custom-notifier.js and this one depends on sp.js. What's the best practises to write dependencies inside mine custom .js files?
3
votes
1answer
305 views
Remove LI wrapper from Content Query Web Part / ContentQueryMain.xsl
I have done a fair amount of experminting with this but cannot get it to work and I'm now looking for pointers or working examples.
I want to customise the output of the Content Query Web Part to ...
0
votes
1answer
11 views
Making MS Access report tied to SP lists available to SP users
This is SP2010 Server. Got a site with a number of lists. The primary list is a calendar, with a number of related lists tied to it. Using "Open With Access" in the Ribbon, I was able to create a ...
1
vote
1answer
709 views
Modal Popup from the InfoPath 2010 Browser Enabled Form
I need to open a popup window to display help messages (Large text) related to fields in the infopath form.
I have developed a application page to display the popup messages on click event of a ...
4
votes
2answers
414 views
Picture Slideshow Web Part image size too small
I have a picture library of four images. Each of these is quite large. When the Picture Slideshow Web Part is configured it shows the pictures at about 50% of their actual size.
Is there a way to ...
0
votes
0answers
8 views
Getting Connection close after a restore
Here are the steps I took to restore.
I copied a content database that was hooked to QA root site (both mdf and ldf) to a staging farm database.
Attched the db and log to the staging farm's database ...
1
vote
1answer
24 views
How to move site collection
during my internship my group created a tool for handling surveys. All stuff is put in one site collection, consisting of several subsites with adjusted master pages, custom lists and workflows. Now ...
0
votes
1answer
149 views
Content Query Web Part on a multilingual SP site
I have a SP 2010 installation, installed in English. I have some sub sites that use publishing, for news and such. On my home page I have a CQWP that shows the news nicely formatted.
The CQWP has the ...
0
votes
1answer
357 views
open a doc in firefox automatically
I am trying to automaticly open an office doc (word/excel/ppt/...) from sharepoint while using Firefox browser in the browser.
I manage to so manually (do manually what my method (written in C#) ...
0
votes
0answers
15 views
Reverting Document Versioning in Document Library
I accidentally published a new major version causing a document going from version 4 to 5.
How can I revert the version number?
I want the version number to be 4, and delete the 5. So that next ...
4
votes
1answer
312 views
Save site as template do not include list attachments
I'm trying to create a site template which include several lists. On these lists, we've got items with attachments. I'm quite surprised not to see attachment in the WSP generated... I've created a ...
2
votes
1answer
22 views
Search using column name and term
I would like to be able to set up the search so that users can search by a column name and term (CustomColumnName:baseball). I have set up a managed property and it has gone through a full crawl. ...
1
vote
1answer
15 views
How to make pages available to public while in pending status?
I notice that pages with pending status become unavailable for viewing to the public.
Is there a way to make sure the page is always available to the public?
By right, the previous published version ...
0
votes
1answer
35 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
0answers
7 views
Calling multiple times SaveBinaryDirect result in Socket Exception
I've been using Client-Side Object Model in C# for Sharepoint2010 for a few weeks, and I've tried uploading files with File.SaveBinaryDirect and by adding the file to the list and then calling ...
0
votes
0answers
22 views
Hiding Column on a List View with Grouping
I have a list that I need to dynamically hide columns on based on user. Sort of a rudimentary Column Level security type deal. This is being done through Javascript and JQuery to simply not display ...
6
votes
3answers
2k views
“a is null” error in vanilla SP2010 install
I'm setting up an SP2010 VM for dev testing purposes. Our vanilla install has no other components present and is throwing JS errors in Chrome and Firefox.
In Firefox (v13):
a is null
...
1
vote
0answers
13 views
workflow consuming WCF Service in https - First Call takes too much time
I have a State machine Workflow that consumes a WCF Service in https (Basic Authentication, security mode transport). It works fine in our test environment, but it had problem in the integration ...
0
votes
1answer
17 views
Editing SPFieldMultiColumn and saving updated value
I can get a reference to my SPFieldMultiColumn
var documentLinkFieldValue = listItems[i]["DocumentLink"] as SPFieldMultiColumnValue;
var oField = listItems[i].Fields["Document Link"] as ...
0
votes
1answer
16 views
Unable to add a Application Server to the existing SharePoint Farm
I have a SharePoint application server and DB Server which is running well .
Now as a part of Requirement we want to install Sharepoint on to the DB Server as well.
After Installing and connecting it ...
0
votes
1answer
864 views
Provisioning did not success : Publishing Template
I have a rather strange scenario. I upgraded from SharePoint 2007 to SharePoint 2010 and assumed my permissions will pull through correct, note that I am on AD, which didn't quite work the way I ...
0
votes
1answer
22 views
Convert Site Root Site Collection AND root of Web Application
Greeting, everyone.
I've been getting my feet wet with SharePoint Consulting for the last couple of months now and I've been tasked with a migration that I wanted to run past this fine community. ...
2
votes
2answers
119 views
What does the “Overwrite” attribute in a site column definition actually do
I'am deploying some site columns, content types and lists to my site via CAML definition. This works as expected. However, I faced problems with re-using site columns that reference my lists.
My site ...
0
votes
1answer
21 views
List filtering failure
I was encountered a problem of standard functionality of Sharepoint2010: I'm using items filtering in a list and it stops working for unknown reasons.
Step1. In some list I'm applying filter by ...
0
votes
1answer
17 views
OnWorkflowItemChanged fire multiple times
I have been using a State Machine workflow (SharePoint 2010).
Workflow design
Main State:
The Main State does not update the item.
The Main State contains a OnWorkflowItemChanged.
When the item ...
0
votes
3answers
34 views
Type is not defined
The .js file is loaded in aspx page like this:
<SharePoint:ScriptLink runat="server" ID="script1" name="/js/my.js" Localizable="false" />
And when page is loaded throws javascript exception
...
3
votes
2answers
5k views
SharePoint 2010: Site Templates and how to update existing sites based on that template.?
The question I’m going to ask might have a very simple answer, but I couldn’t figure it out myself yet.
So here is the simplified scenario...
I created a Site on Dev. SharePoint 2010, added a ...
5
votes
10answers
16k views
Sharepoint Server 2010 SP1 PSConfig issue
I've download (KB 2460045) and install the sp1 for SPS2010, so far so good.
To complete the process -SQL upgrade- I must run the SP2010 Products Configuration Wizard (psconfig), but in the last step a ...


