We have a SharePoint Approval workflow (not Flow) on a Document Library. The workflow automatically gets an associated column created in the Library that shows the status of the workflow. All good - as expected.
Ideally we would love to apply Column Formatting on the workflow column, but it doesn't show up in the list of columns for the list, so can't.
So we've created a new column (Calculated column) and wish to get the value from the workflow column that was created using Column Formatting. But when we try to reference the workflow field it doesn't return the value - seems as though it can't see it. Any ideas on how we could get the value?
For example - if the internal name of the workflow column was "Approval" then the code we've used is:
This works if we try to retrieve the value from a normal Hyperlink column, but just can't seem to get access to the value in the workflow column. Note: the workflow column is visible in the Library View.
In addition to this, we would like to get the description of the link - not the Url, but seems as though the .desc property isn't available to us, even from a normal Hyperlink column: