If you create a Sharepoint list by importing a spreadsheet you will find that in Sharepoint 2010 all free text columns are converted to the multiline data type by default.
This is a problem if you want to filter the multiline columns in a list by clicking on the column heading because column filtering will only work if the column is a single line data type.
So to change a multiline data type column to a single line do this:
1. Browse to the "List Settings" for the list.
2. Click on the multiline column:
3. Change the Rich Text property to Plain text and press OK. Press OK again when warned:
This is a problem if you want to filter the multiline columns in a list by clicking on the column heading because column filtering will only work if the column is a single line data type.
So to change a multiline data type column to a single line do this:
1. Browse to the "List Settings" for the list.
2. Click on the multiline column:
3. Change the Rich Text property to Plain text and press OK. Press OK again when warned:
4. Select the same column again as in step 2.
5. You should now see an option to change the data type to Single line of text. Press OK when done and press OK to the warning:
You can also do this in Sharepoint 2010 Designer but you must first change the Rich text setting to Plain text and save the changes, then change from multiline to single line, click off the column, OK the warning then save again.
This works great but by doing this way, lot of html font tags are prefixed and suffixed to the column data. If anyone has a work around, please let us know.
ReplyDeletethanks
I found a workaround to the html font tag issue you noted above. It may not be ideal for some but it worked for me.
DeleteSave your spreadsheet to .TXT format and then import the TXT version into Sharepoint. You will still have to convert from multiline text as described earlier but the text no longer displays with HTML.
Just what I was looking for! Thanks much!
ReplyDeleteAwesome! Just what I needed! Thanks for this post!
ReplyDeleteThank you! Worked like a champ...
ReplyDeleteThanks!!!! Exactly what I was looking for!
ReplyDeleteexcellent, thanks so much
ReplyDeletethank you! This is exactly the help we needed.
ReplyDeleteThanks for the tip!
ReplyDeleteHow to chage it to lookup columns ??? please help
ReplyDeletehttp://taner-riffat.blogspot.com.au/2011/04/sharepoint-2010-convert-column-type-to.html
Delete