24

I know exactly what you're looking for. While a debate about proper link tag usage and CSS storage folders is always a fun topic, realize none of that is your issue here. There are two components that allows you to add <link> tags to Page Layouts. First, you need to find the following lines of code in the head of the Page Layout's HTML page: <!--...


24

How to activate feature via Managed Client Object Model: public void ActivateFeature(string webFullUrl,Guid featureId,bool force,FeatureDefinitionScope featdefScope) { using (var ctx = new ClientContext(webFullUrl)) { var features = ctx.Web.Features; ctx.Load(features); ctx.ExecuteQuery(); features.Add(featureId, force, ...


10

You can use this method: function ActivateFeature(featureGuid) { var clientContext = new SP.ClientContext.get_current(); var site = clientContext.get_site(); var guid = new SP.Guid('{'+featureGuid+'}'); var featDef = site.get_features().add(guid, false, SP.FeatureDefinitionScope.site); clientContext.executeQueryAsync(Function.createDelegate(this, this....


9

In addition to Milind's answer: it is not good practice to put html directly into the CEWP just because you can. For one, it will only work on some kinds of pages. Web part pages are fine, wiki pages will chew the html. Secondly, it will be hard to maintain, since you will need to edit the web part itself every time you want to make a change. As an ...


8

Every SharePoint site is (on general) the same, where the only difference is what features are activated. A Publishing site have the site scoped Publishing infrastructure feature activated, and the web scoped SharePoint publishing feature activated. By this a library or list can make use of Major and minor versions (with history) Content approval Check out/...


7

$siteUrl = "http://ukreddy:3456/" $siteCollection = Get-SPSite $siteUrl Enable-SPFeature "PublishingSite" -Url $siteCollection.Url -force Enable-SPFeature "PublishingWeb" -Url $siteCollection.Url -force http://ukreddysharepoint2010.blogspot.co.uk/2014/05/error-systemargumentexception-value.html Sharepoint was failing to activate the feature PublishingWeb. ...


7

This issue most frequently occurs because the Community Sites or the SharePoint Server Publishing feature is currently enabled or was previously enabled for the affected site. SharePoint doesn’t support creating a template from a site where publishing or community features were enabled. This is because the publishing feature creates site elements that are ...


7

Publishing functionality is a set of two features, one at the Site Collection level and one at the Site level. You can activate them on any site like Team site, Document Center, Wiki site etc… You will find all the info on what publishing adds in that link, but here I want to showcase some reasons why I use Publishing for my clients. The publishing site ...


7

Every major version will in UIVersion be based on version * 512, so you will have to compare on 1536. For completeness Minor versions will increment the version with 1, and every major with 512. So 0.1 is 1 1.0 is 512 1.1 is 513 2.0 is 1024 2.1 is 1025 and so on


6

Yes there are four List Event Receivers: ListAdding(SPListEventProperties) ListAdded(SPListEventProperties) ListDeleting(SPListEventProperties) ListDeleted(SPListEventProperties) You may be interested in first two. See here for more info: http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.splisteventreceiver.listadding(v=office.14).aspx ...


6

There are a few things that control this in site settings --> navigation. Managed Navigation -- use a term set for navigation Add new pages to navigation automatically -- a new item is added to the termset for each new page Create friendly URLs for new pages automatically -- This is what you're concerned about - the page shows up in the URL without the ....


5

I prefer not to create sub-sites for navigational structure alone - mainly because it is hard to change the structure again. But you actually have some good alternatives when you are willing to create a custom navigation data source. Below are two options that will also not require you to create folders in your Pages library. They also make it harder to ...


5

Take a look to this link that explain How propagation works: http://blogs.technet.com/b/sharepoint_quick_reads/archive/2013/08/12/sharepoint-2013-variations-content-synchronization-between-source-and-target-variations.aspx Also check the timer jobs that are responsible of the propagations and the Variations log. From the link: Custom lists and ...


5

When a page is checked-out, the check-in and publish works as follows. Check-in: Increments the page version. The new version is visible only to users who have Full Control access and above. Publish:: Increments the page version by check-in automatically and visible to users who have Read access and above.


4

You can just create an accouncements list on any site using "Site Action" | "More Options" and choose "Announcements" Once the announcements list is created you can insert the list web part for it on any page. If the site doesn't have the announcements list you can either active the visible Team Collaboration Lists feature or the hidden announcementslist ...


4

I am loading an infopath form inside the InfoPath Form Web Part after clicking a link from another page. I wanted to use the Source URL parameter but found it wasn't working. Here is my solution: <script type="text/javascript"> function RedirectIfFormIsClosed(){ var elem = document.getElementById('DialogFinalMessage'); if (elem !== null &&...


4

Well Pedro, while you are right that the master pages are used for different types of pages, you're a little off on which types of pages use which type of master page. Publishing pages in your publishing site will use the site master page that you specify. These are the pages that are stored in the Pages library of your site by default. Publishing pages use ...


4

Create a new page layout based on the Enterprise wiki but including your web part. This page layout can then be used by all your Enterprise wiki sub-sites. The simplest way is probably to copy the existing Enterprise wiki page layout in the first instance. You will need to use something like SharePoint Designer to achieve this.


4

Publishing site is more oriented in pages, which means it has a more articulated way of publishing pages, the most common template being the 'article page'. Every page will obey to the mechanism of save-checkin-publish, it can be boring for a normal user to have to do all those actions to see his article appear. (example: an intranet with a roll up of news ...


4

Probably the most simple option would be just to hide List View Toolbar Open the page in Edit Mode Go to XLV web part properties and specify Toolbar Type: No Toolbar That's it. P.S. Of course, you could accomplish the same task using CSS or JavaScript , but what for..


4

You can copy the default page used to create those alerts in your 15 hive. Then make your modifications to the edited copy to make it do what you want. Once completed, you can use STSADM to update your Alert Templates. stsadm -o updatealerttemplates -url http://mysite -f "c:\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE\XML\...


4

The answer to this question is: No, it is not possible to create another library with the same functionality as Pages on a publishing site.


4

Looks like I spoke a moment too soon. I feel a bit sheepish but I had been searching for a couple hours with no luck! https://stackoverflow.com/questions/27124620/sharepoint2013-site-csom-update-navigation-settings var publishingWeb = PublishingWeb.GetPublishingWeb(this.CC, subWeb); // WebNavigationSettings var ...


4

As a short answer : Yes it's SharePoint publishing site. A SharePoint publishing site is a site that’s built using a publishing site template. A SharePoint publishing site is a site where authoring and publishing are more structured and where content management processes are enforced. Publishing sites are typically used to create enterprise intranets, ...


4

Hey there I see you've tagged this question with "sharepoint-online". Are you sure customizing the MasterPage is an investment you want to make? Publishing sites as we knew it are pretty much obsolete when communication sites are rolled out. When you're still on-premises it makes a bit more sense. That said, if you want to have a custom MasterPage you can ...


4

Starting from Sept 2018, this feature has been deprecated in SPO and replaced with new File move and copy functionality in the modern views Reference - SharePoint Site Content and Structure (In Office 365) Admin message center ID - MC143382


3

To hopefully add a bit more value to this thread, it should not be necessary to edit the page in SharePoint Designer to set the master custom.master to overcome your problem - if you do you will open up another can of worms whereby a banner is displayed at the top of each page you have modified which reminds users that "The current page has been customized ...


3

I have solved the problem. It was that all of the publishing pages of my site, in the head, they had: "~masterurl/default.master" And they should have "~masterurl/custom.master". Thankyou @rjcup3 because your link was very helpful for me.


3

Maybe you can try this script? The script takes three parameters, the old or current page layout name, the new page layout name and an optional –all parameter which will traverse all the sites of a site collection. # Description: # Update the layout page for all matching pages of the current page layout # Checkout, Change layout, Check-in pages in a site ...


3

I think that the simplest way is to use custom web part. This web part should be added to the default.aspx and checks users. If the user belongs to the needed group the web part redirects this user to a different page.


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