Tag Info

Hot answers tagged

6

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

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

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

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

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


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

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

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.


2

Those are the jQuery expando added attributes. As I understand, jQuery uses these for object caching and avoiding circular references. Also, if you call .html() on a jQuery object, it shouldn't include the expando properties. They shouldn't impact performance in a negative way.


2

you can do Response.Write, or you can use asp:Literal. var ltlCnt = new LiteralControl(); string divStart = @"<div>"; ltlCnt.Text += divStart; string divEnd = @"</div>"; ltlCnt.Text += divEnd; this.[divOnPage].Controls.Add(ltlCnt);


2

It appears that this has to do with IE9, IE10, IE11 document standards for the client's browser. The problem is in the pickerdialog.master. As the People Picker is using the pickerdialog.master file, you need to add the following line in the head element. meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" Find the pickerdialog.master file in ...


1

You're right with multiple being introduced in HTML5. But as I've just read SharePoint 2007 seems to use XHTML. So you can probably getting it to work by changing the definition. In XHTML you have to use the multiple attribute like this: <input type="file" multiple="multiple" /> Sources: SharePoint 2007 using XHTML: ...


1

I believe you try to recreate the search page (the actual search box and search tabs). It is an easier way, and proper too, as described in this article http://msdn.microsoft.com/en-us/library/ms584031(v=office.12).aspx and further under http://msdn.microsoft.com/en-us/library/ff513701(v=office.14).aspx Basically, the search box is available via the Search ...


1

No actual mechanism exists to help you do that, but workarounds could be envisioned. example: Rely on the Markup Styles and Style to locate actual HEADINGs - helping you to build TOC Use jQuery selectors heavily to modify on the fly wiki pages and inject elements with dynamically generated TOCs See here an example to get you started ...


1

Even if the web app has it's file handling set to permissive, it can be overriden at the library level. It can be set via powershell like this: $site = Get-SPSite("http://sbx01/sites/Harry") $web = $site.OpenWeb() $list = $web.GetList("http://sbx01/sites/Harry/Shared Documents") $list.browserfilehandling // list the current value ...


1

This is more of a general HTML/CSS question (except for the fact that you are using CEWP), however, while you are still here why don't you Export the CEWP and simply use a selector (e.g. id="current") and define that with the style for the active one, while changing which of the elements have the #current added on each page. On the other hand the top ...


1

You can add content query web part to your page which is easy to configure and after finishing your configuration you can export the web part and import it to whatever page since you will use this approach. you can also check the following webpart http://imtech.codeplex.com which is an extended version of the content query web part that support built in ...


1

Yes it is possible.. you have to create custom webpart using visual studio.. go through below link. http://msdn.microsoft.com/en-us/library/ms415817%28v=office.14%29.aspx Hope it helps...



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