?
Solved

How do you render html in a sharepoint list view?

Posted on 2010-09-21
1
Medium Priority
?
828 Views
Last Modified: 2012-05-10
I am using BPOS's SharePoint Online Standard.

I have two lists and a view for each. Lets say list A is displayed in view A and list B is displayed in view B. View A is displayed on my main (default) page of my sharepoint site while view B is displayed on a seperate page that I created within the same site.

Both views use a calculated column to render html. The html renders correctly for view A but not for view B. They use the same formula in their calculated columns. Why would that be?
0
Comment
Question by:tallfiji
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 21

Accepted Solution

by:
chapmanjw earned 2000 total points
ID: 33729721
SharePoint is displaying the code as things like > instead of < making it show the HTML on the screen rather than rendering it.

Use the JavaScript in this tutorial: http://blog.pathtosharepoint.com/2008/09/01/using-calculated-columns-to-write-html/  It shows you how to make a calculated column that as < DIV > < /DIV > on each end of the cell and makes it render correctly.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question