Parse HTML from Multiple Lines of Text

Does anyone know if there's a way to extract the text from a Multi-line text enterprise custom field? I'm using the OData feed to read this field into an Excel report, and the text is being returned (from Project Online) with HTML. I'm trying to either retain
the formatting in Excel or strip the HTML from the field value.
Anyone have any suggestions?
Thanks,
Roland

Hi Roland,
See this
similar thread, advicing to create a macro.
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller |

Similar Messages

  • Text Fields of an External Content Type come across as Multiple Line of Text

    In SharePoint 2013 I have an external content type that consists of a couple of short (nvarchar)  fields (no more that 15 characters). When I use this ECT in a custom list the fields from the ECT end up as a "Note" type instead of "Text".
    I am not sure how this happens. I have verified this by accessing the list via poweshell where I see the Type being as "Note" and also the SchemaXml showing the colName attribute as "ntext".
    The strange thing is that initially when I created the web application and built my lists this was working.
    Any ideas or pointers would be appreciated.
    Thanks

    Hi,
    Based on your description, my understanding is that When you use the ECT in a custom list the fields from the ECT end up as a "Note" type instead of "Text".
    Have you ever changed column types from "Single line of text" to "Multiple Lines of Text" in list?http://www.sharepointdiary.com/2013/09/change-column-type-in-list-using-powershell.html
    External content types are made up of fields whose types are a subset of the primitive types of .NET. For each such .NET type, a rudimentary mapping to SharePoint’s field controls exists, describing a field’s visual appearance. Fields of type string for
    instance will, on the new and edit forms, render as a single-line text field.
    Besides, check whether the following link is useful:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/0fcb5a9f-8445-4a37-9e60-ac5e9e14e8f1/sharepoint-designer-external-content-type-shows-single-line-text?forum=sharepointgeneralprevious
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

  • How can I change or reduce the line spacing to single in a "multiple lines of text" column in a list?

    We keep many logs in a simple list format. One of the columns requires a description using the "multiple lines of text" default column. Sometimes the person making the entry needs to complete about 20-30 lines of text. Users are requesting we reduce
    the amount of space advanced between lines to save space and be more concise. Is there a way to reduce the line spacing for the column entries to single spacing without code?
    Maree N Percival

    We determined that the site column settings were incorrect for allowing single spacing, we changed the site column setting from "Enhanced rich text (Rich text with pictures, tables, and hyperlinks)" to  "Rich text (Bold, italics, text alignment, hyperlinks)"
    and it is now keeping the text in single spaced lines.
    <label for="onetidRichText">Specify the type of text to allow:</label> 
    <input id="onetidRichTextPlain" name="RichText" title="Plain text" type="radio" value="PLAIN" />
    <label for="onetidRichTextPlain">Plain text   </label>
    <input id="onetidRichTextCompatible" name="RichText" title="Rich text (Bold, italics, text alignment, hyperlinks)" type="radio" value="COMPATIBLE" />
    <label for="onetidRichTextCompatible">Rich text (Bold, italics, text alignment, hyperlinks)</label>
    <input id="onetidRichTextFullHtml" name="RichText" title="Enhanced rich text (Rich text with pictures, tables, and hyperlinks)" type="radio" value="FullHtml" />
    <label for="onetidRichTextFullHtml">Enhanced rich text (Rich text with pictures, tables, and hyperlinks)</label>
    Maree N Percival

  • Publishing a text box to be multiple lines of text in SharePoint Form Library

    Hello
    I have some text boxes on an InfoPath form which is then published to a SharePoint form library. However, when the form creates columns in the form library, some of the text boxes are being published as Single Line of Text which then cuts off some of the
    text as users can type more the 255 characters in the text box.
    My question is how can I make sure that the form publishes the field as a multiple line of text instead? Some of the boxes did this by default but there are others that did not and I am missing text on them.
    Thanks

    When you add the control to the form, choose the Multi Line of text option instead of the single line of text option, if you are unsure, when you add the control to the form, right click it and select properties, from here you can change the data type
    from single line of text to multi line of text.
    Regards
    Sergio Giusti
    http://sergioblogs.blog.co.uk/
    Whenever you see a reply and if you think is helpful, click " Vote As Helpful". And whenever you see a reply being an answer to the question of the thread, click "
    Mark As Answer".

  • Multiple Lines of Text not showing up

    Hi,
    Recently we have observed on a particular site in SharePoint farm that whenever we are adding list field of Multiline Text.
    It is not showing up in list forms (New, Display, Edit). Test is Multiple Lines of Text field. This is happening on all the existing as well as new lists.
    I searched for the issue but couldn't find any solution.
    Please guide me on this issue. Appreciate your help.
    Thanks,
    Rahul Babar
    ASP.NET, C# 4.0, Sharepoint 2007/2010, Infopath 2007/2010 Developer http://sharepoint247.wordpress.com/

    Hi Rahul,
    Per my understanding, the Multiple Line of Text column not showing up in all the form pages in one of your site.
    I suggest you do as follows to troubleshoot this issue in your environment:
    1. Is there any update or customization applied to this site recently?
    2. Please inspect the HTLM source code of the Multiple Line of Text field in NewForm page to see if there is corresponding HTML code in the page. In my page, the HTML
    code of the Multiple Line of Text field like this:
    3. If the HTML structure exists, then it is probably a CSS issue, please check if there is custom CSS style applied to this site which would conflict with the built-in
    style of the Multiple Line of Text field.
    Thanks 
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SELECTING MULTIPLE LINES OF TEXT

    Is there a way to select multiple lines of text that are not continuous?  e.g. - a list with 10 lines - can you select lines 1, 3, 5, & 7?  I am having to add additional formatting to a Table of Contents that is already done.  I have been using the 'bullets and numbers' to format 1 line at a time but then I cannot get the new numbers to 'align right'.  I want to be able to select all the lines that need the new numbers at once to see if I can get the alingment to work correctly.  I am trying to avoid having to re-do the whole thing.  Any help would be greatly appreciated.

    In order to use an ID genereated TOC you HAVE TO BE using paragraph styles, because theat's eaht the TOC picks up.
    For each paragraph style that you pick up, in the TOC dialog you have the ability to specify both a paragraph style for formatting the entry, and a character style for formatting the number if that should be different.
    Now for the bad news. There is no mechanism whatever for changing the number format for the page number from arabic to roman other than to select it and manually replace the number, in which case selecting anything other than the numbers, one at a time, is counterproductive, or changing the number style on the page itself, which is where it should be happening, in the numbering and section options. How are readers supposed to find page ix if no page in the publication actually carries the number ix?

  • Using ME57 to create an RFQ from multiple lines on multiple PRs

    When using ME57 to create RFQs how can I select multiple line items from multiple purchase requisitions to turn into a single RFQ. If I select multiple lines and then use 'RFQ with Vendor', it only selects one line item.  After further research it appears that you can only create only line at a time (very time consuming). 
    If you use ME41 and create with reference to PR then you can not sort or filter columns to allow for easy consolidation.
    Another forum recommended the following when using ME57 which works but it again adds extra steps to the process.
         The whole process is as follows -
         1) When you are in the 'Assign and Process Purchase Requisition' screen, select related PR and then click on 'Without Vendor' icon to flag all PRs for RFQ processing.
         2) Select these PRs again and click further on 'Assignment Overview' icon (Shift and F5). The next screen will appear - Assign and Process requisitions - Overview of Assignments screen.
         3) Select the 'PReq' column and then click further on 'Process Assignment' icon (F2). The next screen will appear where you have to maintain the 'quotation deadline' information.
         4) Then click on 'Continue' icon (enter).
    [http://www.sapfans.com/forums/viewtopic.php?f=6&t=198768]
    So is there any way to either 1) enable sorting of data in ME41 or 2) use ME57 to create one RFQ from multiple line items of multiple purchase requisitions when selecting 'RFQ with Vendor'.

    What is the JPEG specs? What are the specs of the project you're working in?

  • How to render multiple lines of text?

    Hi,
    I have a string variable in a backing bean,which holds multiple lines of text with newline character as the seperator.
    I have to display it in my jspx page.
    Which component is suggestable?
    Thanks,
    Lokesh.

    Hi Lokesh,
    Try the <tr:outputDocument/> component, it does just that, splitting each lines as paragraph elements.
    Regards,
    ~ Simon
    Edited by: Simon Lessard on Jan 28, 2009 1:44 PM

  • How to outline multiple lines of text

    how to I outline multiple lines of text to create a filled outline around a group of text like this:

    Bdog,
    You may (you have done some of it already):
    1) Create the Type and Type>Create Outlines;
    2) With the Group selected in the Appearance palette, in the flyout Add New Stroke and set the Stroke Weight and colour as desired, then drag the Stroke below the Contents;
    3) Object>Expand Appearance;
    4) Lock the original group with the letter shapes and Expand;
    5) Pathfinder>Unite, then lock the bottommost path and delete the rest which formed the holes;
    6) Unlock the original group with the letter shapes.
    You may also wish to simplify the outline.
    And what Kurt said.

  • How to extend MobileIconItemRenderer to display multiple lines of text?

    Hi,
    I am using Flex hero which has the added Mobile APIs.
    Has anyone been able to extend the MobileIconItemRenderer to display multiple lines of text.
    The current version of the MobileIconItemRenderer only displays 4 things: an image on the left, a label on the top to the right of the image , a message below the lable, which could be a sentence that can take multiple lines and an icon on the right.
    So I would like to replace the messageField content with multiple single lines , one after the other.
    Has anyone does this?
    Otherwise, i suppose I would have to implement my own ItemRenderer if I want to customize the location of the components inside the item?
    thank you

    Hi,
    I am using Flex hero which has the added Mobile APIs.
    Has anyone been able to extend the MobileIconItemRenderer to display multiple lines of text.
    The current version of the MobileIconItemRenderer only displays 4 things: an image on the left, a label on the top to the right of the image , a message below the lable, which could be a sentence that can take multiple lines and an icon on the right.
    So I would like to replace the messageField content with multiple single lines , one after the other.
    Has anyone does this?
    Otherwise, i suppose I would have to implement my own ItemRenderer if I want to customize the location of the components inside the item?
    thank you

  • How to display multiple lines of texts in a single rows in ALV

    Hi,
    I have a unique requirement in which i have to display multiple lines if texts for a single rows in ALV Grid. Right now in my output it is coming in single line which is not visible fully because that text is more than 255 character. So i want to display the test by splitting into multiple lines and show it on output. Please suggest some solution for this if this is possible in ALV.
    Thanks,
    Raghav

    Hi Raghavendra,
    Its not possible to display multiple line in one row of an alv, but i think you can acheive it by splitting the whole text into multiple sub-text.
    For example, if your requirement is as below:
    Field #1          Field #2
    1                    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(200 characters)
    2                    yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy(220 character)
    then you can break Field#2 value into say 50 character and then populate the internal table with repetative entries of Field#1 and the finally sort it by Field#1 value... as a result of which you output will be somewhat as below:
    Field#1          Field#2
    1                   xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                         xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    2                   yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
                         yyyyyyyyyyyyyyyyyyyy           
    Hope it will help you in meeting your requirement.
    Regards,
    Shradha

  • Table Cell Editor which allows to input multiple lines of text...

    Hi there
    Does anyone know how to write a table cell editor which allows users to input multiple lines of text? please provide some sample if possible...
    Thanks
    Ken

    I'm assuming you also want the renderer to display multiple lines? if so, make a class that extends JTextArea and that implements the TableCellEditor and TableCellRenderer interfaces, then set instances of this as the editor and renderer for the TableColumn in question. The implementation of most of the methods in these interfaces is trivial, often just this.setBackground() based on the table.getSelectionBackground() or table.getBackground(), a this.setText() based on the value passed in, then just a 'return this'.
    You might want to make an abstract class which implements these interfaces for you, and which delegates to a simple abstract method that you override to return the renderer/editor component.
    Note that you must use two instances of the class you make, one for the renderer and one for the editor, since it must be able to be able to render the remainder of the table's cells without interfering with the JTextArea performing the editing. (alternatively you could make two classes that extend JTextArea, each just implementing one of the interfaces, but this is more effort I think.) Also note that you must increase the table's row height to get more than one row visible.

  • Sharepoint 2010 - Multiple line of text column with Plain text type

    Hi All,
    I have list where multiple lines of text with plain type column is used. When I start entering information in multiline text box in new form, I faced following problem,
    I typed enough information so that scroll bar is visible. When I stopped typing information, scrollbar automatically scrolled up and last few lines are not visible. But when I started typing again, my cursor is automatically placed at the end text and now I
    am able to see last lines.
    This issue occurs in IE8 version and not in other versions. Can anybody help me to resolve this issue or tell me this is bug in IE8?

    Try press ctr F5 and refresh the page to load it properly, also check in browser compatibility mode
    Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
    INSQLSERVER.COM
    Mohammad Nizamuddin

  • Multiple Lines of Text For Each Clip in Project Panel

    Premiere CC latest update. Mac Mavericks
    I would like to disply multiple lines of text for each clip in the Project Panel.
    I have a couple paragraphs in the Description box, and I would like to be able to read all the text in the Description box.
    As it stands, it is very difficult to read more than one sentence in the Description box.
    Is there any way that I can view all the text in the Description box?

    Hi sats_sandy,
    To keep some tags and remove unused tags in the schemaxml file the multiple line of text, you can use regular expression to remove the unwanted tags.
    Here is a sample code snippet:
     private static string RemoveSpecifyHtml(string ctx) {
                string[] holdTags = { "a", "img", "br", "strong", "b", "span" };//tags to be reserved
                // <(?!((/?\s?li)|(/?\s?ul)|(/?\s?a)|(/?\s?img)|(/?\s?br)|(/?\s?span)|(/?\s?b)))[^>]+>
                string regStr = string.Format(@"<(?!((/?\s?{0})))[^>]+>", string.Join(@")|(/?\s?", holdTags));
                Regex reg = new Regex(regStr, RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.IgnoreCase);
                return reg.Replace(ctx, "");
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Multiple lines of text

    When I provide multiple lines of text as an option (assuming 10 lines) and the form filler inputs 20 lines of text I do not see all 20 lines when I print the completed form. is there a way to have all the inputted data print? Thank you.

    A few ideas:
    Have the form send you an e-mail of the responses, and then print the e-mail.
    Export your responses to an Excel file and then use that to create a print merge using Word.
    Export your responses to an Excel file and then import into a database application of your choosing: FileMaker, Access, OpenOffice Base, etc.
    I hope that helps,
    Brian

Maybe you are looking for

  • Bookmark Bar RSS Counts Broken after 5.1.4 upgrade

    Ever since upgrading to 5.1.4 none of the RSS feeds saved in my bookmarks bar are reporting the new post counts properly. New posts are not being shown in the bookmarks bar. After clicking on a feed the count shows up, and then won't be dismissed no

  • HT204053 can I set up 2 separate icloud accounts on one computer

    Can I use 2 apple IDs linked to two sepeare iClouds on a single computer?

  • Error : ABEND RS_EXCEPTION (000): Invalid column name 'TXTMD'

    Dear Team, Am getting this Dump / Error Msg. when tring to execute the query in BI Java Stack, the same query is executing perfectly in BI ABAP Stack, could some one throw some light to how to fix this, we are in process of Upgradating from BI 3.5 to

  • Remove .DS_Store files

    On my iMac ios 10.10.1 I now have a Desk-Top Icon and a Finder Application file for .DS_Store. Both show in a faded text. Tried to put in the trash, but they just pop right up. They are not hurting anything that I can tell, but I want them gone. Any

  • Passing Objects to methods, why aren't they changed permanently?

    If an object is passed by reference, and primitive types are passed by value; then why does the following programme not alter the original values of A and B? I m trying to pass parameters into a method so that they can be altered and returned, can an