Tag Info

Hot answers tagged

5

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


3

You could either change the icon for htm pages in the hive (its ichtm.gif by default ["ic" for icon and "htm" for filetype]) or overwrite it by CSS or JS. Here's a example for plain CSS: img[src="/_layouts/15/images/ichtm.gif"] { background-image: url("http://upload.wikimedia.org/wikipedia/commons/f/f0/Pdf_16x16_Crystal_SVG.png"); height: 0px; ...


3

you can add security trimmed on custom masterpage which only an authorised user will be able see the ribbon 1) Open your SharePoint master page 2) Locate this line: <div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle"> 3) Change it to: <div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle" style="display:none"> 4) Now find the ...


3

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


3

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


2

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


2

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


2

If you wanna display the latest items, i think you mean the Content Search Web Part. For this you need the enterprise license as it is not available to the foundation nor the standard edition. If you have a Enterprise license, add it by activating the Search-Driven content feature. SharePoint 2013 feature comparison chart all editions For the Search ...


2

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


2

Activating the SharePoint Server Publishing Infrastructure feature adds the Administrative links on the Site Settings page, including the ability to manage Master Pages for both publishing and non-publishing Web sites, Navigation, Searchable columns, Content and Structure, Content and Structure Logs, Variations and Translatable columns. The publishing ...


1

you cannot paste the images into sharepoint pages directly, Images cannot be rendered as HTML so cannot be pasted. You have to upload the images into SharePoint then insert it on the pages /places you want. Or you can try 3rd party tool for this. http://www.kwizcom.com/sharepoint-add-ons/SharePoint-clipboard-manager/overview/ or ...


1

Edit the page and add the following CSS inside the content editor webpart: td.ms-list-addnew { display: none; }


1

Got it. Add the following script to the head to override the functions that add the activex: //get rid of name.dll reference function ProcessImn() { } function ProcessImnMarkers() { } source: http://www.greggalipeau.com/2013/09/05/sharepoint-public-facing-remove-plugin-prompt/


1

Activate the plugin from the browser's plugin settings. Use Always Activate option. There's a similar thread on MSDN with a picture.


1

Does the sort have to happen on the fly? If not, I would create a sort-order column that contained a number value and expose it in a datasheet view so that your author can set it there, and have the default view sort by the sort column.


1

Can’t see more multiple content areas in edit mode? Two Rich HTML Fields showing the same content? To create a custom layout in SharePoint Designer with multiple page content areas (RichHTMLField fields), you should first create a custom page content type and add one custom field for each of the content areas you have in your custom layout. For ...


1

This means the changes of the object. In your case it is the single page. You can create alerts for List/Library or for single element.


1

you can do this by code behind : using (SPSite site = new SPSite(SPContext.Current.Site.URL)) using (SPWeb web = site.OpenWeb()) { SPList list = web.Lists["ListName"]; web.AllowUnSafeUpdates = true; foreach (SPListItem items in list.Items) { items["Author"] = value; ...


1

Try following: <SharePoint:UserField id="modifiedFieldCtrl" ControlMode="Display" FieldName="Author" runat="server"/> <SharePoint:FieldValue FieldName="Version" runat="server" ControlMode="Display" DisableInputFieldLabel="true"/> Custom Form Does Not Display "Created By" value


1

If you have an approval process set up for your wiki pages already then you should be able to go to whatever task list you're using with the approval process (Workflow Tasks or Tasks generally). In that you will see who has approved or rejected what and when they did it.


1

As you mentioned, "To open the file in Office client application you use the Edit link in the preview box no more “Edit in Microsoft Word”. This is the way to open/edit document into the Chrome Browser. As these browser supported but you will still face some difficulties as compare to IE. I would recommend always use IE unless their is requirement. Also ...


1

SharePoint is not be blamed for the varying behavior but it is the browsers. The browsers cannot be completely uniform in features and functions. Each has its own capabilities. The behavior also changes when using a different SharePoint and browser versions. The Open Document window we are encountering since SharePoint 2010 in IE browser. But we never ...


1

There is no "Publish" you just save the document and it will default to the source Library. If they edit it in the browser it will save back to the Library as well. The user has to have sufficient permissions to perform the task, in this case they need Edit rights.


1

Remove the permissions in the page for everyone except for the farm administrator.


1

It is really tough to say which would be best option for your case. If publishing sites fulfills your needs you should go for this only. Otherwise can can enable publishing feature on other templates also. You can check the best practices as defined by Microsoft: http://technet.microsoft.com/en-us/library/cc850698.aspx ...


1

There's a CSS3 property ('background-size') for sizing background images. SharePoint adds the background image class '.ms-backgroundImage' to the body tag. You can override that CSS. Ex. body.ms-backgroundImage { background-size: 400px 500px; background-position: center center; } The JavaScript way of doing it would be to get the background ...


1

I'm not sure if you really need a complete new farm for this functionality. These are quite complex installations to configure and maintain. SharePoint has many publishing features. Depending on the requirements you might prefer one solution over the other. You can feed content to external users by using the search, workflows, cross site publishing, etc... ...


1

If you would like to publish certain content, like Excel files, I would recommend you to look into the Send to functionality. Select a file in the list and choose the send to action in the File ribbon. Enter the url of a document library in your second farm and away you go. You can also choose to predefine a Send to destination in the library settings of the ...


1

The Content Editor Web Part is intended for adding HTML content to a Web Part Page, it is not designed to link to a Web site. If you need to link to a Web site, consider using the Page Viewer Web Part. -Microsoft- http://office.microsoft.com/en-us/windows-sharepoint-services-help/about-the-content-editor-web-part-HA001160897.aspx


1

It is also possible, using an encoded literal. Like this: <title id="onetidTitle"> <SharePoint:EncodedLiteral runat="server" text="My Site" EncodeMethod='HtmlEncode' /> <asp:ContentPlaceHolder id="PlaceHolderPageTitle" runat="server"/> </title>



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