Tag Info

Hot answers tagged

7

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


5

First of Publish your data for public view you need to enable Anonymous access for this announcement and news lists. Now Go to List -> List setting -> RSS Setting -> checked required columns -> click OK Now open Announcement List RSS Feed Link form List Ribbon. using this link you can get data in to your HTML site. In HTML site you can use third party ...


4

I haven't tested this, but I would think you can add it with a javascript maybe. You already have the _spPageContextInfo on your sites. <script type="text/javascript"> document.write('<a href=\"'+_spPageContextInfo.webServerRelativeUrl+'/page.aspx\">link</a>'); </script> That's just an example, probably not the best way to add js ...


4

What you are looking for is called "Reusable content". The following links will help you on your journey to wisdom: Use reusable content SharePoint Reusable Content SharePoint 2010 Reusable Content Bear in mind that Reusable Content is only meant for HTML content or other content and can only be used on certain pages - just give it a go and see whether ...


4

The header and footer (the chrome) of SharePoint and most Asp.Net websites is defined in a master page. For SharePoint 2013 this is by default the seattle.master. My tip is to create your own master page by taking a copy of the Seattle.master, or using a Delegate control to insert your control. Create SharePoint master page : ...


3

Take a look at the Page Viewer web part (http://office.microsoft.com/en-us/windows-sharepoint-services-help/about-the-page-viewer-web-part-HA001160926.aspx ). It uses an iframe.


3

myQuery.RowLimit = 0 I think if I'm correct: 0 = unlimited Hope this helps. :)


3

I don't know about sending emails plaintext, but to strip HTML you edit the properties of the send email action. Then edit the HTML of the email body directly you can use the string builder (ellipsis).


3

SharePoint doesn't allow for running C# code blocks on content pages. Looking at what you are trying to accomplish, you can go a couple different routes: 1) Use JavaScript to do those calls with the JavaScript Object Model. To get started with that, see http://msdn.microsoft.com/en-us/library/office/hh185006(v=office.14).aspx. 2) Create a custom ...


3

If you want it to be easily maintain you should add a Content editor webpart to the page, and add the text in the webpart. (More here http://office.microsoft.com/en-us/sharepoint-foundation-help/using-the-content-editor-web-part-HA101794745.aspx)


3

in your page make sure there is no reference to core.css.... issue is due to masterpage which has that reference that the page your using could be referencing the masterpage. several methods: 1) if its referencing a masterpage than make a custom masterpage that is almost the same only that it doesnt contain the core.css reference. 2) within your css add ...


3

You can easily add a content editor webpart and add in your CSS in the HTML editor. Or you can add your CSS to a text file, then using a content editor webpart, you can reference that text file and it will include the css in that page.


3

The 'Edit Source' dialog frequently modifies the source that you enter before saving it to the page. You'll often find that custom classes, styles, spacing, markup, etc. are changed/modified/added/removed by SharePoint as it attempts to avoid possible conflicts. Simple solution to your scenario (a single page where you want some minimal customization) is to ...


2

Hi you can also use webservice for getting listitem. try this in your content editor webpart <div class="testing"></div> create one div for append links insert script after that <script type="text/javascript"> function processResult(xData, status) { $('.testing').empty(); ...


2

Here is a blog post that talks about how to add JavaScript to the CEWP. But I like to use the HTML Form Web Part for this myself. Now it comes down to how to get the link. Without knowing the criteria you wish to use to pick the row from the list it is hard to give you a very good example. But here is something to get you started. Notice I like to use ...


2

Accord to this blog entry on msdn blogs, the nested div will not be excluded in SharePoint Search, but also states that it might change. So my rule is: - if you don't want it searched then give it the noindex class. - if you want it searched then place it outside the noindex div.


2

Try the Telerik RAD Editor: http://www.telerik.com/help/aspnet-ajax/editor-overview.html


2

You should be able to provision html at the root of the site by a FEATURE that uses Module element. From VS.NET add project item of type Module, replace sample.txt with your html file and make sure the elements.xml looks like below assuming you have sample.htm file abd your module name is RootModule. The name of module and html file can be different in ...


2

If the file isn't expecting to be in a document library, you can use SharePoint Designer to upload the file to the root of the web site, and also set this page to be the HomePage for the site within SharePoint Designer. SharePoint Designer is a free product available from Microsoft, here: http://www.microsoft.com/download/en/details.aspx?id=16573


2

This is more of an Excel issue than SharePoint. However, when you create links in Excel, there is no way to specify the target of a URL. (For instance, you would need _blank to create a new window). When you export from Excel, the target is set to _parent. Only way to achieve this would be to edit the HTML files themselves to replace _parent with _blank ...


2

This has already been posted here (a number of times). Here is one that answers your question: how to show HTML code in column?.


2

You could simply do this with jQuery and iframes. Instead of the page viewer web part, use a content editor web part to put some custom HTML code on the page. In that HTML code, display your first page in an iframe and then use jQuery to cycle/load your pages on the time interval.


2

For full story see SharePoint 2010 and Pdf Integration Series – Part 1 The short story either set Browser File Handling to Permissive Go to SharePoint 2010 Central Administration > Application Management > Manage Web Applications Select the row of your web application Click General Settings in the ribbon Scroll down to Browser File Handling and select ...


2

You could use a web service client to read the list data directly from typo3. Since typo3 is based on PHP you will probably benefit the most from using existing libraries for PHP, such as: thybag / PHP-SharePoint-Lists-API tangervu / ShareSoap RapotOR / Sharepoint-PH


2

If it is SharePoint List form, you can simply make the fields as Required and SharePoint will handle it... But if its some other form, which I think it is... you can use JavaScript like this: <script type="text/javascript"> function onSubmitValidation() { if (TrimAll(document.getElementById("field1").value) == "") { alert('All fields are ...


2

I would recommend to avoid using id for just css styling, especially such a general word as #current. Use a class instead: .current-page or something like that. SharePoint renders classes and id for a current menu item in the server side. In your CEWP you don't have access to server side. One possible solution is to use an attribute selector with jQuery. ...


2

Move the CEWP below the list. Alternatively, don't run the javascript until the page has loaded. A common method of doing this is via jquery: http://api.jquery.com/ready/ <html><head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script type="text/JavaScript"> $(function() { // ...


2

It seems the reference term has changed in 2013. You can add the breadcrumbs in 2013 by adding the following snippet to your master page: <!--MS:<asp:sitemappath runat="server" sitemapproviders="SPSiteMapProvider,SPXmlContentMapProvider" rendercurrentnodeaslink="false" hideinteriorrootnodes="true">--> <!--ME:</asp:sitemappath>--> ...


2

The short answer: When working with rich text editors that allow you to modify the HTML source, yes. The longer answer: It can be tricky. SharePoint has a lot of CSS and JavaScript involved to make it look the way it does. Sometimes you'll find that you'll apply a css style and it simply does not seem to work as expected. For this try the !important ...


2

You can get it to work by modifying the masterpage, but things break and its probably not a good idea. However, having said that, there have been a few instances i have seen where guys are trying to get it to work Have a look here for example. There is also a lot more out on the web.



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