Tag Info

Hot answers tagged

19

There's an out-of-the-box way to remove the 'Add new item' link. If you edit the webpart properties using the 'Modify Shared Web Part' command, you'll find the 'Toolbar Type' dropdown in the 'List Views' section. If you choose 'No Toolbar' there and save the page, the footer link will be gone. No code required, no unghosting/customization. But you'll have to ...


13

I think that you could look at the managed paths Open Sharepoint Central Administration -> Application Managment -> Manage web applications Select your web application Click Managed Paths button on the ribbon You will see that there are at least two path: Root (Explicit inclusion) sites (Wildcard inclusion) Explicit inclusion means that you can ...


12

SharePoint allows you to share files (it's a document library), but it's also a document management system allowing versioning, check-outs, etc a CMS which can contain lists, blogs, wikis, etc a notification system for advising when items have changed or are added an extensible development platform allowing web parts that work much like desktop ...


11

There is no Auditing user interface in WSS3 or SharePoint Foundation. A (very) basic interface and reporting facility is part of MOSS 2007 and SharePoint Server 2010. However, you can enable auditing programmatically on SharePoint Foundation. This doesn't provide any reporting facility, which you will need to write yourself. As one of the authors behind a ...


9

If you use linq to object, you always retrieve ALL records from DB. It is not good if you have got a lot of data. To reduce records you can use CAML query: SPQuery query = new SPQuery(); query.Query = "<Where>" + "<Eq>" + "<FieldRef Name=\"FileLeafRef\"/>" + ...


8

This requires you to modify your masterpage just a bit. It's minimal. In your masterpage, find id="s4-ribbonrow" and add this to it: style="display:none;" Then add this after where that div ends <Sharepoint:SPSecurityTrimmedControl runat="server" Permissions="FullMask"> <script type="text/javascript"> ...


8

There are several ways to add JavaScript to SharePoint. You could add directly or reference it into the masterpage, page layout, code behind etc.. The script lives always on a server, because it serves it. Keep in mind that JavaScript is different language to learn and can be very powerful. Therefor I recommend learning it: http://www.codecademy.com (Nice ...


8

Sharepoint is more than a fileshare. It´s more like a Application Plattform with a set of prebuild features and the Abbility to implement your own logic. Have a look here for a list of features and compare it to what you can do with dropbox (Btw Skydrive is implented in Sharepoint aka Office 365)


8

When you deploy a solution with a WebPart it deploys three things: The dll with the web part A SafeControl entry to be inserted into web.config A .webpart (or .dwp) file with configuration settings to be inserted into the Web Part Gallery (this part actually happend at feature activation not at solution deploy, but..) When you're adding a web part to a ...


7

The guidance and "best practice" up until the August 2011 CU is to install SPF Service Packs and CU's on Server edition. From August 2011 the packaging process has changed and you only need one package to install. So in order to install SP1 + June CU do this: (the Microsoft recommendation is to install June CU directly after SP1, there are a couple of nasty ...


7

I thik that you should create a base content type which is inherited from Document content type. Then you should inherit Arvhitecture Document, Manual Document, etc. content types from your base content type. After this you can select your content types by base content type like this: SPContentTypeId id = new SPContentTypeId(BaseContentTypeId); ...


7

You should use SPSite constructor override for this purpose. The code will look something like this: SPUser user = // grab the SPUser object somewhere using (SPSite site = new SPSite("http://localhost", user.UserToken)) { using (SPWeb web = site.OpenWeb()) { // do whatever you need here } } This will work in Foundation, too.


6

The key question is: Are the users authenticated in any way? If the answer is 'no', then you are OK because SPF requires no user license. If 'yes', then keep reading. I am not a licensing expert, but here’s what I've been able to piece together: SharePoint Foundation requires no additional licenses (CALs or External Connector), only what is required by ...


6

I know this is an old post now but I had the same requirement and I have just achieved it programmatically using PowerShell: 1) Turn on item level auditing. # Select site $web = Get-SPWeb http://yoursiteurlhere # Select document library $library = $web.lists | Where { $_.Title -eq "Your Doc. Lib. Title Here" } # Select and loop through library items ...


6

That walkthrough has some, er, issues... I wrote a blog post with an alternate version that you may find a little easier to follow. Walkthrough: Creating a Custom ASP.NET (ASMX) Web Service in SharePoint 2010


6

Not really an answer (not an answer you want to hear anyway) but.. I'm no fan of these redirects. Its healthy for the user to be observant regarding when a page is secure and when it is not. Also several SSL exploits takes advantage of HTTP > HTTPS redirects to hijack session and perform man in the middle attacks, so my answer would be to talk your customer ...


6

As a seasoned ASP.Net developer, I can tell you for certain that you could not have done this with a few web forms in ASP.Net. You would have had to build numerous subsystems for all of the various parts (security, document management, membership, retention, etc). You would also need the obligatory management UIs for all of those subsystems. In addition, ...


6

It’s better to use the Delete() method of SPWeb.Lists instead of using the Delete() method on the SPList because the latter doesn't delete lists properly sometimes. Try something like: SPWeb mySite= SPContext.Current.Web; SPList myCustomList = mySite.Lists["MyCustomList"]; mySite.Lists.Delete(myCustomList.ID); mySite.Update();


6

Both the description and the solution of your issue can be found here : Unable to Open PDF Directly from SharePoint 2010 ([Link edited on 11/20/2013]. Basically, it's a security feature (that can be disable, if you accept the implication), that prevent some files to be displayed in the browser directly. Typically, what would prevent someone to put some ...


6

Checklist inside Central Administration: Services on Server -> SharePoint Foundation Search is started. Manage Web Applications -> Highlight SharePoint 80 -> User Policy -> Set crawl account to full read. Manage Content Content Datases -> WSS_Content -> Search Server -> Select the Search Server for Foundation 2010 Monitoring -> Job Definitions -> ...


6

If is only about viewing, then you should probably consider Views or go for Target Audience (this is will hide items from view automatically without changing permissions - does require User Profile) If you really need permissions than try building a workflow on particularly those conditions so that everytime a new list item gets added permissions are set


6

Actually Visual Studio 2010 Professional, Premium and Ultimate all allow for SharePoint development as the "Office and SharePoint development tools" are available for all (see here http://download.microsoft.com/download/4/6/E/46E8BB6C-108F-467C-9292-50EE94F117B5/download/Visual-Studio-2010-Feature-Comparison-Matrix.pdf) Same stands still with Visual Studio ...


6

That is about the same as asking "how long is a piece of string?". SharePoint is not a product that "does" anything in particular. There are a few things that come with SharePoint out of the box, without any consideration of what your company actually needs, but in most instances that will not be how YOU and your company may want to use SharePoint. ...


6

I'm sorry but "short and sweet" doesn't exist when it comes to SharePoint. Here facts rule over opinion and ideas. The reason is that SharePoint effect many businesses, and in doing so its about money. Having a "short and sweet" governance plan will put you out of work in no time. To avoid this, start with this white paper: This white paper focuses on ...


6

Check with your IT department. You probably already got an SMTP server that you can use. Then it is just a question of configuring SharePoint for outgoing mail from Central Administration > System Settings > Configure outgoing mail settings The whole setup (including if you do not have an SMTP server) are described pretty well on Technet here. If you ...


6

A feature is a development package that can be removed and deployed at will from the SharePoint side. Let's say we have a feature in Visual Studios that is a web part. If we deploy this web part as a feature (like most do) in Visual Studios, that web part will be immediately available because it will deploy the feature to sharepoint, and turn on that ...


6

Minimum Limit is 2000 and Maximum limit is 2147483647 list view threshold by default is 5000 and 20000 for auditors and administrators. Effect on performance :The limitation actually comes from sql server. if SQL Server executes a query on a single table that would exceed 5,000 results, SQL Server will lock the entire table while the query executes. Since ...


5

Separate web applications would get you totally separated sites on the same server. I don't believe there would be a method to share content easily between the web applications. I don't know enough about content migration/deployment to know if that would be viable. An klunky alternative would be to have another separate "shared" web application where any ...


5

Yes. First, we are still a ways out to the new version. Also, the transition to the new platform will not happen immediately when the new version is launched. It will take about a year or more for people to migrate to the next version. Case and point: A lot of companies are just staring their migration to 2010. There will be plenty of opportunities with the ...


5

Don't do it, you will break your farm. Also, you'll leave it completely unsupported and the next service pack or cumulative update will probably just replace it. What is it you need to do? There'll be a better, supported method for what you want to do without renaming out-of-the-box system files. Edit your question and provide some more information, I'll be ...



Only top voted, non community-wiki answers of a minimum length are eligible