Tag Info

Hot answers tagged

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 ...


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 ...


11

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 ...


8

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 ...


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

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.


7

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)


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

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

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); ...


6

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 ...


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

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 ...


5

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 ...


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

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


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 ...


5

What about doing something like this... Force SSL on the site, and redirect users who get an error on the non-SSL site. http://www.servicefirstsupport.com/KB/a178/how-do-i-force-https-redirect-in-iis.aspx http://www.jppinto.com/2009/04/automatically-redirect-http-requests-to-https-iis-7/


5

You can enable Anonymous Access by going to Application Management in Central Administration, Highlight the WebApp where you want to enable Anonymous Authentication, Click on Authentication Providers, Click on the Zone where you want to enable Anonymous Access, then Check Enable Anonymous Access, Save. Go to your Web Application and the top level of the ...


5

As you need to move your SQL servers, this can and will be treated as a simple SQL server move, which requires a farm migration. This is because the domain name of the SQL server changes. For farm migration, you can find instructions at http://technet2.microsoft.com/Office/en-us/library/42511e01-ecdd-4dc5-b06f-35aaada8a5d81033.mspx?mfr=true. Make sure you ...


5

You have tagged the question with SharePoint Foundation so I assume you are not using SharePoint Server product. Ratings are NOT available in SharePoint Foundation. They are available in SharePoint Server standard and enterprise version only. See the feature comparison here: http://sharepoint.microsoft.com/en-us/buy/pages/editions-comparison.aspx UPDATE: ...


5

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, ...


5

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();


5

CAML is simply the fastest (if you write efficient CAML queries that is) for the obvious reason that there is no other query language for SharePoint. Linq to SP uses CAML internally The API methods does not convert to CAML and queries for the whole "collection" of objects The CAML query is converted to T-SQL internally by SP and queries the content ...


5

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 -> ...


5

You can create a WebPart that will read data from a iCalendar file using a third party .Net assembly, I personally didn't used them before but here's the two of them I can think of right now, DDay.iCal and icalparser you can also use it to parse ICS file to text and then read it but its up 2 you For more information check these links out ...


5

I use hMailServer with Sharepoint. Since I have worked with this to a good degree, I have a few threads in these forums that would be of service to you: How to Enable Email in Lists Also, see my response in this thread. How to Enable Email in Lists Without Using Exchange? - here I actually answer my own question. How does internal email get to the SMTP ...



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