How to add “<” in Site Column Calculated (Sharepoint Online Add-in)
-
07-02-2021 - |
Вопрос
I'm development a sharepoint add-in in sharepoint online and visual studio 2017. I was used calculated fields with conditions like ">", but when I put "<" inside, I get a IDE error?
Anyone know how to escape it ?
<Formula>=IF([JanuaryGoal] < 0, "zero", "ok") </Formula> <FieldRefs> <FieldRef Name="JanuaryGoal"/> </FieldRefs>
Thanks
Решение
you have to use escape characters.... below is what you need.
<Formula>=IF([JanuaryGoal] < 0, "zero", "ok") </Formula>
<FieldRefs>
<FieldRef Name="JanuaryGoal"/>
</FieldRefs>
Ref for other special characters - https://www.advancedinstaller.com/user-guide/xml-escaped-chars.html
Не связан с sharepoint.stackexchange