30
votes
8answers
2k views
An introduction to SharePoint 2010
I've been a member of Stack Overflow for a while and have this week been given a project of having a play around with SharePoint 2010 to see how it works basically, as we're looking to use it to ...
60
votes
16answers
19k views
CSS Files in _Layouts or Document Library?
There's been a lively conversation (such as it can be in 140 chars) lately about whether it is better to put CSS files on the disk in the _layouts folder or to store them in a Document Library in the ...
21
votes
3answers
24k views
Explain it to me: SharePoint deployment scope, solution and features
There are different levels of scope for deployment, but I have not been able to find a definitive explaination of when each applies and what the restrictions are that require loosening (or tightening) ...
8
votes
1answer
7k views
How to reconnect InfoPath task form to SPD workflow after moving it to the new Site Collection
I have Globally reusable workflow (created in SPD) in my test site collection. This WF uses custom InfoPath task form. Now I am trying to move it to the new production site collection. I've done next ...
0
votes
1answer
206 views
How can lists be made to support master-detail relationships?
It is often useful to have parent-child data when entering form data. Consider a typical job application. Under Work Experience you will add n number of entries each having a start and end date and ...
4
votes
4answers
2k views
SharePoint -access to path is denied
I am working in SharePoint 2010. My requirement is to create folder inside SharePoint layouts and create a file inside that folder. Also I need to access the file for a current logged in user.
...
50
votes
10answers
23k views
How do I know if the page is in Edit Mode from JavaScript?
Is there a way to find out if a page is in Edit Mode from JavaScript?
I know in on the server-side can be found using SPContext.Current.FormContext.FormMode but I can't find any means of doing it ...
71
votes
12answers
52k views
How can you move a document with its version history to a new library?
Here's the scenario:
2 document libraries
Both contain multiple documents
The documents have multiple versions
When I copy a document from library A to Library B using the Content and Structure ...
6
votes
6answers
16k views
how to show HTML code in column?
how can i force sharepoint2007 (MOSS) to interpret HTML code instead of showing it?
I have a column which calculates a yes or no (depending on other columns) within a HTML (i want to show images ...
11
votes
3answers
16k views
Show custom action in ribbon for only one list
Does anyone knows how to show a custom action in the ribbon for only one list?
At this moment I've got multiple custom lists, but my button is added on all of them. I only want to show it on one ...
26
votes
1answer
8k views
What is “feature stapling”?
I've seen the term "feature stapling" used around this site and some blogs. What exactly does this mean? My best guess is that it has something to do with dynamically activating features from other ...
18
votes
1answer
43k views
How do I turn on SharePoint App store in SharePoint 2013
I am getting this message when I want to add a app:
Sorry, apps are turned off. If you know who runs the server, tell them
to enable apps.
15
votes
4answers
49k views
Change Title (linked to item with edit menu) to different column
How can I change the column in a SharePoint list that has the link to the item and the link to the item with edit menu eg:
Title (linked to item)
Title (linked to item with edit menu)
I want to have ...
11
votes
13answers
34k views
Infopath change Publish Location
Working with Infopath 2010 here and SP 2010.
I've created my form and published it while in DEV. Now, I want to publish it to the Prod Location. Here's the issue and to me, quite strange.
I can't ...
41
votes
6answers
23k views
Deleting all the items from a large list in SharePoint
What is the most efficient way to delete all the items of a large list in SharePoint?
The code should take Query throttling limits into consideration.
42
votes
6answers
7k views
Support for URL rewriting?
Is there anything built into SharePoint 2010 that will handle this? If not, can anyone suggest where to start to implement something that will allow me to rewrite URLs so they are more SEO and user ...
9
votes
6answers
29k views
How can I force SharePoint 2010 to open PDF's in the browser?
In SharePoint 2007, clicking on a PDF in a document library would open it within the browser. In SharePoint 2010, doing the same asks me to save the PDF. How can I force SharePoint 2010 to just open ...
8
votes
2answers
5k views
How to send email in SharePoint Hosted apps 2013 for SharePoint Foundation?
Did you know how can I send an email in my SharePoint Hosted apps? currently I am create a visual studio 2012 project for SharePoint 2013 foundation hosted apps with JavaScript code. I do not be able ...
11
votes
4answers
6k views
How to save variables per user session per page
I am using three webparts. Webpart A creates a value when the user clicks on the button in Webpart A. WebPart B uses this value to create a list with items the user can select. WebPart C uses both ...
11
votes
5answers
9k views
How to restrict a document library to a specific file type (extension)?
I have a SharePoint intranet site where I need to allow users to upload certain documents. These documents need to be only PDF files for example.
What is the simplest way to restrict the document ...
10
votes
4answers
21k views
How to submit data from repeatable table in infopath form to a sharepoint list?
I have a infopath form created from a sharepoint list content type. In this form I need to add a repeatable table to send data to another sharepoint list. So when people submit this form the original ...
6
votes
9answers
33k views
Getting a count of list items in a list via ECMAScript
I have a SharePoint 2010 web site with a master page that has a counter on it. I'm trying to update that counter using the ECMAScript. The code I have falls nicely into the success method - but I ...
38
votes
6answers
23k views
How to update custom master page and page layout, which is already deployed
I have a feature which deploying custom page layout. It's done by this code:
<Module Name="MasterPageModule" Url ="_catalogs/masterpage">
<File Path="MasterPageModule\defaultTemplate.aspx" ...
43
votes
14answers
118k views
How do I enable “Open in Explorer”?
I have full control over my SharePoint site. When I click on my document library and then click the "Library" tab on the ribbon, I see an option for "Open with Explorer" but it is disabled.
The ...
16
votes
3answers
21k views
SP.SOD how to use correctly?
SP.SOD is a nice feature of SharePoint, but how should I use it? For example, I use these lines of code
ExecuteOrDelayUntilScriptLoaded(function () {
//code
}, "custom.js");
If I understand ...
10
votes
5answers
10k views
Paging and sorting with BCS
I going to use the new exciting External Content Type feature to display a list of data from an external LOB system. The list is potentially long, so paging with filtering at the LOB system side is ...
11
votes
5answers
40k views
How to make a filtered lookup field
I have a list of departments. This list will change over time adding new departments and "deactivating" others (because of structural changes).
I would like to use this list as a look-up for other ...
2
votes
3answers
13k views
Hide/Show field on list form based on value from another field
I need to hide field 'B' when the value in field 'A' is NOT equal to 'Other'. This is a custom list form. Is jquery the way to go?
9
votes
2answers
9k views
Definitive answer to sending emails to SP Group from Workflow
I understand that there are some issues when you use SharePoint group in To/CC field in "Send Email" activity in a workflow designed using SharePoint 2010.
I searched on internet for solution and I ...
7
votes
3answers
11k views
Download and delete documents using Powershell
I'm looking to build a Powershell script that does the following to all documents in a SharePoint 2010 document library:
Downloads the document to a network file share
Deletes the original document ...
5
votes
3answers
11k views
Newform.aspx in a dialog box
I have a button which redirect to newform.aspx .
I want the newform.aspx to be opened in a dialog box .
currently i cannot see this thing opening in a popup , hw to achieve this ?
9
votes
4answers
10k views
How do we activate auditing in SharePoint Foundation 2010?
We are trying to set up SharePoint auditing to audit reading of list items and are having problems finding how to turn it on.
Is this supported in the Foundation version? If so how do we activate it?
...
3
votes
3answers
14k views
Redirect default.aspx or change default landing to page in _layouts folder?
Here's the issue. I have a custom landing page that's deployed to "_layouts/myfeaturename/home.aspx" The problem is, how do I map this as the default landing page?
If you click on the top node in the ...
0
votes
1answer
448 views
Do not apply CSR Override in QuickEdit Mode
I have been working from a few different examples and nearly have a jslink file working with CSR overrides such that the 'title' value is used in the 'name' field and the title column is hidden.
The ...
10
votes
3answers
10k views
Hiding buttons of the Ribbon Bar
Is it possible to hide specific buttons of the SharePoint 2010 Ribbon Bar based on the user's permission on publishing pages? For example, we need to hide the font dropdown and under the Insert tab, ...
9
votes
16answers
22k views
incoming mail just sits in the drop folder
I want a document library to recieve email and store it so followed the steps outlined here:
http://sharepointgeorge.com/2010/configuring-incoming-email-sharepoint-2010/
I seem to be a bit stuck. ...
7
votes
1answer
18k views
How do I get a subsite to inherit the main masterpage?
I have a masterpage (copy of v4.master) and I added a link to a custom css. when I create a new site it does not pick up the correct master page. How do I fix this? thanks
44
votes
7answers
39k views
How do you get the current list item in JavaScript?
There's all kinds of ECMAScript class library examples around but all of the ones I find show how to retrieve all list items (through SP.ClientContent) but how do you get the current list item? I'm ...
41
votes
13answers
11k views
List of tools for reading ULS logs
I just spent a fair amount of time troubleshooting an issue that required me to look in the ULS logs for the root cause. What tools are recommended for searching/filtering/reading ULS logs?
14
votes
3answers
10k views
How do I find in which (sub)sites a WebPart/Feature is used?
I need to find out on which (sub)sites a certain webpart is used. In a data sharing environment with many subsites and pages, I want to check if and where certain (third party) webparts are used. Is ...
5
votes
1answer
9k views
How to authenticate user in sharepoint online using javascript
I have a public site on Office 365 SharePoint Online. By default when user clicks on to sign in, it redirect to Microsoft login page.
I don't want to redirect user to Microsoft login page. But ...
7
votes
10answers
6k views
What technical skills do you use most when developing/deploying SharePoint?
(I think my question is sufficiently different from this question to justify asking it. My question is not about useful SharePoint resources, but what technical skills you actually need...)
I'm a ...
8
votes
5answers
27k views
How to get current user with javascript?
I have a list . I want select items of list with a special quary.(get items that created with current user). Then get count of items.
I use this code for get current user :
function Initialize()
{
...
8
votes
5answers
24k views
Editing property bag values using powershell
What is property bag in SharePoint 2010?
How do I retrieve values from a property bag and get/set the values using powershell?
6
votes
3answers
231 views
How to use Today and Me in Calculated column
I want to use a combination of Today and ME in SharePoint 2013. I am trying it in office 365 it gives me the below error
Calculated columns cannot contain volatile functions like Today and Me.
Can ...
7
votes
4answers
37k views
How to set ListItem Lookup Field value
How do I set a ListItem's Lookup field using code?
SPFile file = list.RootFolder.Files.Add(destUrl, iStream, true);
SPListItem item = file.Item;
item["DocumentID"] = DocID.ToString();
...
6
votes
5answers
12k views
How does Membership show in Mysite - SharePoint 2010?
I am a member of site collection however membership tab does not show any information in my Mysite even after a week. I understood that SharePoint 2010 uses a timer job to collect the membership ...
5
votes
6answers
9k views
Enforce Drag and Drop documents to apply metadata
We have implemented an issue management system in SharePoint 2013 which provisions a page for every issue added to a specific list.
One of the Web Parts the automatically provisioned page contains ...
8
votes
5answers
17k views
How to programmatically add a webpart to a page?
I have created a webpart, now I need to add that webpart programmatically into the EditForm.aspx page. Can anyone help me on this.
2
votes
1answer
2k views
Execution order of event receivers and workflow on a list
Is it possible to know beforehand whether event receivers on a list will always execute before any workflows associated with that list?