Quantcast
Channel: BrainStorage » Workflow
Viewing all articles
Browse latest Browse all 7

Formatted % Field For Display In Workflow-Generated Email

$
0
0

I am trying to display a numeric value from a SharePoint List or Library in a workflow-generated email. The number is formatted as I wish in the List or Library, as a percentage with two decimal places.

Unfortunately, in a workflow-generated email, there is no option to format the value, other than currency, so it is displayed as an ugly floating-point, like 0.0417121321112.

So the solution is to simply use a calculated field that formats the number as a string with a % sign attached, e.g. “4.17 %”.

Having created the field below, I just substitute it for my numeric field in the email, and everyone is happy. I also hide it from the default view, contrary to what is shown in the screenshot, because as I mentioned earlier, the source field is rendered as I want in the my views.calculated pct field


Filed under: SharePoint, SharePoint Designer, Site Customization, Workflow Tagged: Email, numeric formatting, SharePoint, Workflow

Viewing all articles
Browse latest Browse all 7

Trending Articles