Showing posts with label Rich Text Infopath. Show all posts
Showing posts with label Rich Text Infopath. Show all posts

Wednesday, February 2, 2011

The way to Display Richtext box content with out HTML tags in Data View Webpart.

Hi,

If you are trying to display your list which has a Rich Text Box field in dataview webpart. It shows the content of that field with the html tags like
etc...

To avoid those tags and show the text in a regular style.

1) Open that page in Sharepoint Designer in Slit View.
2) Click the cell that has the rich text box content in the dataview webpart.
3) In the Code part it highlights an XSL tag.
4) In that tag add the parameter "Disable-Output-escaping" with its value as "Yes".

Done. Click on the design view. You will see the content with proper styling.

Monday, June 28, 2010

Getting Rich text content from SharePoint List to Infopath.

Hi,

If you want to get the content of SharePoint List into Info Path, you can do it using Data Connections ( Data Sources).

But the problem is:

You can not get the reference to the columns of type Rich Text box ( Multiple Lines of Text (Rich Text));

Here is the solution:

1) Modify the column to Multiple of Text ( Plain).
2) Add the Data Source to the Infopath.
3) Go back to the list and change the Column type back to Rich text.

Note:- In the process of converting the column type back and forth you may miss some content in that column.