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

learn more… | top users | synonyms

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
434 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
339 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
3k 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
2answers
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
291 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
3k 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
294 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
579 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
1k 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.
0
votes
2answers
2k views

Is it possible to migrate and attach a wss 3.0 configuration database to a new Foundation 2010 front-end?

We are preparing to migrate from WSS 3.0 to 2010. WSS is currently on a x86 operating system, so migrating to a x64 operating system will be involved as well. My co-worker's thought is to turn up a ...
0
votes
1answer
1k views

Adding and Removing fields to the user profile

Is it possible to add and remove fields from the user profile? For example I want to add a field for LinkedIn profile and remove the Schools field.
0
votes
3answers
4k views

Get the user id via javascript

How can you get the current users id using javascript? Can you do this any JS file or does it need to be added at a certain point?
0
votes
1answer
4k views

Creating a new user profile service application with exisiting databases

Is it possible to create a new user profile service application and use the exisitng the databases from a previous user profile service application? Both service applications are in the same farm. I ...
0
votes
2answers
749 views

Permission problems (access denied) when listing all user profile images

We have a webapp http://intranet01 (default zone) with an internal zone AAM http://intranet and a public zone http://intranet.company.com. Everyting works fine except one solution. The solution ...
0
votes
1answer
2k views

WorkFlow with SharePoint Designer 2010 - how to set value from current list item

How to set value from current list item to a field in a custom task? Is it possible? Thanks.
0
votes
2answers
292 views

Upgrading site definition

I have a question about the upgrade process for features in SharePoint. In my feature, I'm deploying a custom site template along with a couple of list definitions, webparts, etc. Now when I upgrade ...
0
votes
1answer
982 views

re-ordering navigation for quick launch section

I don't want to go through adding an additional feature to my project. I would like to get hold of the current navigation and re-order about 6 items. There are some items on the very bottom and they ...
0
votes
1answer
2k views

how to manage SPJobDefinition.Properties using central admin SP2010?

Is it possible to manage properties for a custom job definition using central admin? The code I have in a feature receiver sets the property like this: ...