Hot answers tagged

2

Blob cache has nothing to do with this. It caches files from database on frontend servers. Your Silverlight application is already on the disk and would not benefit from caching. If you've removed the file form _layouts folder, but you can still see the Silverlight app, it's probably cached by the browser. Browsers tend to be quite persistent when it comes ...


2

You cannot set Application pages as Welcome Page, only Site pages located either at the root web or from a Pages library. But you can use a Redirect Page or redirection from your home page to layouts page. Please refer to Possible to have the default landing page of my Sharepoint Site be an applicaiton page? How to Set an Application Page as a default ...


1

You can create a delegate control that would check if the current page is welcome page of the site. If Yes, then it would redirect to your application page using C# Response.Redirect(SPContext.Current.Web.Url + "/_layouts/YourApplicationPage.aspx"); JavaScript window.location.href = _spPageContextInfo.webAbsoluteUrl + ...


1

Inspired by Arsalan Adam Khatri's answer I found a solution: 1) First create a page to handle the redirection: LayoutPageRedirect.aspx <html> <head> <META http-equiv="refresh" content="0;URL=./_layouts/folder/HomePageCustom.aspx"> </head> </html> 2) Then create a module to deploy this file <?xml version="1.0" ...


1

I found the solution to my problem. I changed my code to use the ListItemCollection instaed of FileCollection and used a CAML query to filter. Also, since I still need the File object (for the server relative Url), I loaded it in the context: public IEnumerable<ListItem> FindBy(string fileName, ClientContext clientContext) { var documentLibrary = ...


1

You're missing semi-colons. Also, why are are you calling location.reload twice? $(document).ready(function () { $('#btnViewReport').click(function () { location.reload(true); }); });


1

SharePoint Designer workflows have a limited amount of actions you can take. Visual studio allows you to define your own logic, and to create state workflows in addition to sequential workflows. You can also write event receivers which detect when an action has been taken and runs code at that time. For example, when you delete an item, there's no way to do ...


1

You can use Visual Studio 2012, 2013 or 2015 (including Community Edition) to develop against any SKU of SharePoint 2013. The discussion that follows is a bit of an over-simplification but I think it answers the question. For the most part, customizations with SharePoint Designer effect one place or thing. For example, if I add a content type to a site, it ...


1

Please verify following things Current logged in user is in Administrator group of SharePoint server. Please try once Recycling IIS by IISRESET it worked for me in past And please refer this link it may help you Error occurred in deployment step 'Recycle IIS Application Pool'


1

Microsoft Fakes doesn't work on VS Professional. Consider that if you are doing Unit Testing and using SPEmulators you will need to use VS Ultimate/Premium.



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