Forum Discussion
Custom field rendering in modern list views
Hello Lincoln,
Thanks for the great efforts of checking the community for the featuresand ensuring supporting the most prevalent scanarios in the modern UIs.
In my shop we are on Office-365 and Sharepoint Online. I had couple of naive queries.
a) We migrated from on-premise SharePoint 2010 into the Office-365. I see some of the lists has conditional formatting and the conditional formatting reflect fine in Office-365 as well. I am not sure if the vendor who helped migrate to Office-365 did any manual tweaks in the code to have the conditional formatting remain as is. I was trying to find out if there is a way in office-365 and SahrePoint Designer 2013 to conditional format the columns. Although I see the conditional formatting working in lists, but I am not able to figure out how the conditional formatting was put in place for this list. The SharePoint Designer 2013 doesn't have any conditional formatting options (although SharePoint Design 2010 had those option I assume). Please correct me, does SharePoint Designer 2013 not have the conditional formatting options? I must be wrong, please guide.
b) To achieve the conditional formatting in Office-365 I was contemplating the option of putting HTML code in the 'formula' of the field (instead of modifying the out of the box HTML code using SharePoint Designer 2013). e.g. to color a field 'A' based on the values from field B, put an HTML in the 'formula' of field 'A' as below:
="<DIV style='background:"&IF([B]<15,"lightcoral",IF([B]<30,"yellow","white"))&";color:black;font-weight:bold;text-align:center'>"&[B]&"</DIV>"
Is this option safe and advisable to use if the point (a) above is true and we don't have yet the other "out-of-box" means to do conditional formatting in Office-365.
c) With the recent Office-365 release in April, 2017, one of the user expereienced an 'unwanted' UI change and I was not 100% certain if this is release related. Please see here.
Many thanks.
Vivek