Tag Info

Hot answers tagged

29

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, and no effect on other web ...


14

"There’s just too much to learn." If this is part of your criteria, do not go to SharePoint. SharePoint has a large learning curve and is a huge platform. I've been doing SharePoint development for five years and I am still investing lots of time to learn more. The reason why the SharePoint developer market is so good is because a large percentage of the ...


14

If you just want to hide it, you can use following css (you must override sharepoint core css with your custom css file) td.ms-addnew{ display:none; }


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


13

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


11

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


10

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


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\"/>" + ...


9

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


9

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


9

Preparing your JS files for SP2013: Modify JQuery and all additional libraries to be in the SharePoint namespace To add a file into a namepsace surround it with this code: // Example for JQuery, replace jquery with your library name function $_global_jquery() { // Library code goes here } $_global_jquery(); This will ensure correct On Demand ...


9

As a part of the new Minimal Download Strategy (MDS) the sp.js library is not loaded until explicitly called in SharePoint 2013. Your case is pretty common, for example for a publishing pages, where sp.js library is loaded in the edit mode but not in the display mode. Solution Replace SP.SOD.ExecuteOrDelayUntilScriptLoaded the with SP.SOD.executeFunc ...


8

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


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

I discovered that the problem comes from the program Microsoft Visual Studio 2010 Shell (Isolated) - ENU that gets installed with SQL Server 2012. After uninstalling that program and then running the SharePoint 2013 installer I am able to see the splash screen. Warning - This will prevent Sql Server Management Studio 2012 from working on that machine.


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

Make sure to also add the URLs into: Central Administration > System Settings > Configure alternate access mappings .


7

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


7

If you don't want to make the change globally, you could use a Content Editor Web Part (CEWP) on the desired page. Edit the HTML source of the CEWP and insert Hameds' code inside a style tag: <style> td.ms-addnew { display:none; } </style>


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

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


7

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


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

You don't need to delete any groups for this, you just have to break the permission inheritance for the website you want secure. After breaking inheritance you can remove all unwanted permissions and give permission to the users/groups you want.


6

You need to change the SPAudit.AuditFlags property programmatically (see the linked article for examples).


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

Because web development is widely focused and I never seem to be an expert in any one technology. There’s just too much to learn. On the surface, SharePoint might look like a single platform, but at the heart of it you will need to know a lot more than what SharePoint is. Besides learning SharePoint, you will need to learn Business Intelligence, Active ...


6

In SharePoint 2010 , you can install Office Web Applications (marketing link or technical link), that gives you live editing that you are looking for.



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