none
Generating HTML of text in custom fields in Sharepoint RRS feed

  • Question

  • Hi, we're trying to find an alternative solution for displaying and controlling HTML in custom fields in Sharepoint - since Microsoft have decided to turn off the functionality.

    We've instead been experimenting with printing out data in JSON-format as pure text in custom fields.
    Then finding the columns with JavaScript - parsing the data and then generate HTML to replace the JSON content with.

    Our question is which characters are considered "special characters" and will it still work to print out JSON data as text in custom fields.
    Our field is of the type "Calculated field" and contains a value similar to the following: 

    ="{'workflow':'Start',
    'action':'Edit',
    'item-id':'"&id&"',
    'onclick':'script.runAction(this)',
    'text':'Edit'}"

    This snippet would then be written out in a column in the list as:

    {'workflow':'Start', 'action':'Edit', 'item-id':'1', 'onclick':'script.runAction(this)', 'text':'Edit'}

    Will this be possible after Microsoft pulls the plug on generated HTML on September 10th?
    Wednesday, August 30, 2017 2:47 PM

All replies