The process of calculating the position of objects in space subject to various constraints. This functionality can be part of an application or packaged as a reusable component or library.

learn more… | top users | synonyms

44
votes
15answers
14k views

CSS Files in _Layouts or Document Library?

There's been a lively conversation (such as it can be in 140 chars) lately about whether it is better to put CSS files on the disk in the _layouts folder or to store them in a Document Library in the ...
4
votes
4answers
2k views

Where are layouts (css, js, etc) cached and how to clear them?

We are using visual studio to deploy images, css and js to a folder under layouts. Editing these directly in the folder (which is more convenient for our designers than a full solution deploy) is ...
3
votes
3answers
1k views

Placing your branding images in the “14 hive” vs an Images list

I have a debate with a colleague of mine that deals with where to place images that must be accessible across the farm. I feel that for images that need to be accessed from anywhere, I should place ...
3
votes
3answers
800 views

Customizing the default alert type on /_layouts/subnew.aspx?

On the alerts dialog page for a list, can the default change type be configured to be "New Items added" instead of "All changes" for everyone. Can this be done through subnew.aspx which under the ...
2
votes
4answers
8k views

How to read a file from a folder in _Layouts?

I have a file that is in a the mapped folder "Layouts" in my Visual Studio project. I would like to read the contents of this file but I have been having some trouble accessing it. What I have ...
2
votes
1answer
7k views

Where to put javascript files, problem with _layouts

I'd like to add jQuery and SPServices. I added the following code: <SharePoint:ScriptLink runat="server" Name="/Style%20Library/Scripts/jquery-1.7.2.min.js" ...
2
votes
2answers
52 views

Deploy Application Pages

I have added a new page to my project and now I need to deploy it. When I deploy with visual studio it places the page in: \14\TEMPLATE\LAYOUTS\AutomatisationDesActesRemises The page is inside a ...
2
votes
2answers
208 views

SharePoint - 14/Layouts web config changes programatically

I want to add web config changes to my 14/LAYOUTS/web.config file. How can i achieve this.
2
votes
2answers
88 views

File in _layouts not updated on deployment

We have this situation: there was an error in teh solution, which occured in one of JS files deployed into _layouts. Bug was kind of a critical, and decision was made to push chaned JS file by hand ...
2
votes
1answer
729 views

Difference between _layouts and _vti_bin in service SVC deployment

I'm fighting with Services deployment under the SharePoint infrastructure. It happens that I spent a lot of time trying to configure a REST SharePoint 2010 web service under the ISAPI (_vti_bin) ...
2
votes
3answers
46 views

Copying Page Layouts between tenancies in SP2013 Online

How does one move Page Layouts between tenancies in Sharepoint 2013 Online? I physically have the HTML file copied over and am able to select it from the page layouts dropdown in the ribbon, but I get ...
1
vote
1answer
152 views

How to rename a file in the 14 hive - edited-

I need to rename the user.aspx file in the 14 hive layouts directory in a feature event receiver. Is this possible ...if so...how? OK - Bad idea....This is what i want to do: I have a custom ...
1
vote
1answer
157 views

Sharepoint 2007 - DVWP Layout - Header Columns on Left once, Data items on right n times

I have a DVWP of a list with multiple entries. I've inserted it into my site but what I want to achieve is a look like this: Header1 Data1 Data2 Data3 Header2 Data1 Data2 Data3 ...
1
vote
1answer
24 views

Sharepoint 2013 _layouts redireciton

I'm in the process of migrating to SP 2013. In my current production site I've incoming requests 'posting data' to a layouts page ex: _layouts/mycustompage.aspx. I see that in SP 2013 the _layouts ...
1
vote
1answer
222 views

Use ASP page from web application in SharePoint

I'm trying to use existing aspx page in SharePoint 2010. Page it self depend on some 3rd party classes and I provided source for them and additional assemblies, and project compiles and deploys to ...
1
vote
2answers
839 views

Accessing page from LAYOUTS, how to turn off custom errors

I have a custom page that I access through myspaddress/_layouts/folder/default.aspx. Great. Awesome. However, lately it's showing a runtime error. All I can get though is the standard "Server Error ...
1
vote
2answers
802 views

GetFile('URL to layout') returns: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

I have made a few HTML files which I intend to use as either email templates or schemas. When I run this code: var t = "Not found!"; SPSecurity.RunWithElevatedPrivileges(() => { ...
1
vote
2answers
68 views

Show layouts pages based on membership roles

Hi In a claims based SP site and we have multiple membership roles. I have lot of application pages in the layouts folder is there an effective way (apart from handling them in code behind) to ...
1
vote
1answer
602 views

Can I set the Text Layout for a team site page using code?

Most people would likely answer a question like this by saying to look at Page Layouts but they are no good to me. I already have custom Page Layouts for use in a publishing page but what I want to do ...
1
vote
3answers
5k views

Redirect default.aspx or change default landing to page in _layouts folder?

Here's the issue. I have a custom landing page that's deployed to "_layouts/myfeaturename/home.aspx" The problem is, how do I map this as the default landing page? If you click on the top node in the ...
1
vote
1answer
34 views

How to shift the site content to the upper most of the page

I need to modify my current SharePoint layout as follow:- To display the site collection name inside the upper blue horizontal bar , as shown in the below picture. To remove the free space on the ...
1
vote
1answer
397 views

How to create link to create a custom content type in Site Actions menu?

I am new in SP2010 and I want to ask if anyone knows how to do the following. I have made some new custom content types based in the Article page (Publishing page) and assigned new layouts to them. Is ...
0
votes
2answers
3k views

How to remove “created by” on SharePoint blog post item?

I recently created a blog site and posted few blog posts but then I realized that "created by" column is showing on the item. I tried to check what page layout a post is using but I simple found ...
0
votes
3answers
186 views

Deploying to style library / site pages from a web application scoped feature

I am writing a web application-scoped feature which will provision a site collection and a small number of sites. The problem is that I have my own style files (.js, .css, images) and even some ...
0
votes
1answer
44 views

Why does my title in my browser starts with “Pages -”?

I have a public website in sharepoint 2010. The title of some pages in the browser starts with the prefix "Pages - here you see the title of the page". One of these pages is the home page ...
0
votes
1answer
42 views

Developing a custom NewForm

I have created a custom layout in _layours/PhoneBook/createform.aspx and then wrote the following code to run upon activation: private void newAddFormForMembers(SPWeb web) { SPList ...
0
votes
1answer
34 views

What is the reasoning behind the '_layouts' name?

lay·out /ˈlāˌout/ Noun The way in which the parts of something are arranged or laid out. The way in which text or pictures are set out on a page. I don't understand why the layouts folder is called ...
0
votes
1answer
120 views

Default Web-Part Page for new Lists / Calendars etc

When you have a team site and create a new List of Document Library, Calendar etc. SharePoint creates a new WebPart page and places the respective WebPart in there. As you can see when you edit the ...
0
votes
1answer
15 views

Controls has a different layout

I develop a small web part and I noticed that SharePoint display some of my controls differently or more exactly with different font settings. My class is deriving from WebPart and use for example a ...
0
votes
0answers
32 views

SharePoint Foundation + Team Site + Text Layouts

because SharePoint Foundation do not support page layout and I need custom columns (default "one column" is not good for my use). I have to use Text Layouts. Question is, will this work: If I create ...
0
votes
2answers
79 views

Feature Receiver fires before Layouts content is copied

I have a package with some Application Pages (in Layouts Folder) and a Feature which contains some WebParts. I tought the Layouts contents are copied first to SharePoint, then the WebParts from the ...
0
votes
1answer
97 views

Custom home page in SharePoint 2010 with web parts

How to create a custom layout for the sharepoint home page? Right now, I need a home page with 2 rows. One with three columns and one with 4 columns. I looked all over the internet but couldn't find ...
0
votes
1answer
22 views

SharePoint list, catalog and layouts

We are using SharePoint 2013. Would like to know:- Is the _catalog folder common to all webs in site collection?, please explain. Is the Style Library common to all webs in site collection?, ...