SharePoint
Feedback by UserVoice

I suggest you ....

Column Formatting String Operations

Add additional string options to Declarative Customization Column Formatting. Specfically:

Unary Operations:
length
toLowerCase()
toUpperCase()
trim

Binary Operations:
indexOf
lastIndexOf
endsWith
startsWith

Additional Operations:
replace
substring
padStart
padEnd

The order of operands, the return value, and the functionality would all match their JavaScript equivalents.

Having these would greatly increase the power of Column Formatting both in terms of string formatting but also with powerful conditional formatting. Without these basic operations, Column Formatting is still pretty limited.

11 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Chris Kent shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base