Hot answers tagged

35

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


16

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; }


16

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


15

"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

You cannot use the following characters in file/folder name: Tilde (~) Number sign (#) Percent (%) Ampersand (&) Asterisk (*) Braces ({ }) Backslash (\\) Colon (:) Angle brackets (< >) Question mark (?) Slash (/) Plus sign (+) Pipe (|) Quotation mark (") There are also restrictions about the positition of a character in a file/foldername: You ...


13

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


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


12

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


12

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


12

@PirateEric Sorry but this is untrue. Anyone who finds this as I did searching for a way to change the List URL of a SharePoint 2013 last can do so in Designer by following the steps outlined in this SO post: http://stackoverflow.com/questions/12904944/change-sharepoint-library-url Essentially: In SharePoint Designer just navigate to All Files navigation ...


12

If you are using SharePoint 2013 or SharePoint Online, you can take advantage of JSLink to render your Status field as you want - in this case a button with some javascript logic behind it. The process would be very similar to the one described here: http://sharepoint-community.net/profiles/blogs/using-jslink-to-implement-delete-buttons-for-list-view. I'm ...


11

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


11

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


10

In a caml query, you will need to use <Today> token with OffsetDays. For e.g. <Where><Leq><FieldRef Name='Your_Date_Column' /><Value Type='DateTime'><Today OffsetDays='7' /></Value></Leq></Where> Reference: Using the Today token in a CAML query


10

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.


10

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 Prefer SP.SOD.executeFunc over SP.SOD.ExecuteOrDelayUntilScriptLoaded ...


9

You can create a Visual Web Part for SharePoint 2013 Online. Your web part will be contained in a Sandbox Solution which you will develop locally. Once development is complete you will upload the Solution Package created by Visual Studio to SharePoint Online. Once this is done your web part will be available for use. As mentioned, development will be done ...


9

You can create VMs on your Win 10 and on this VM-Hyper V - you can install Windows server 2012 and sql server 2012 for installing SP 2013. This and Bill Baer Blog may help.


9

In SharePoint 2013 was introduced a so called Client Rendering Mode (CSR) which represents a rendering engine for list views, list forms and search results. I would recommend you to consider the following approach for your task. How to highlight the rows using CSR Below example demonstrates how to highlight list task rows based on their status ...


9

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>


9

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


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


8

IT architecture is something you mature into with experience. Just focus on developing good solutions, and build those skills. Always take opportunities to work on projects that cover different areas - for example, if you've built lots of web parts, work on a project that uses BCS or InfoPath, or Excel Services. Always pay attention to the hardware & ...


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

From my experience, this is not possible through the SharePoint Dataview Sheet View. This is a new feature in 2010 and although super delicious and powerful, it still has a lot of issues that need to be resolved before it will be as powerful as it can be - in 2013, Microsoft has made improvements as per this article from MSDN To answer your question - in ...


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

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


8

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


8

Windows Azure is PaaS(Platform-as-a-Service) that allows you to install and manage your SharePoint environment on cloud like you do on premises. You will be charged based on the space and compute hours consumed by your SharePoint farm, Visual studio, TFS etc. Much VS debugging makes you pay more :-), hence development farm on Azure may be costly to ...



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