我需要根据 Microsoft Graph API 返回的不区分大小写主题过滤日历 View 。
到目前为止我尝试了什么:
我已确认区分大小写的过滤器功能:
filter=startswith(subject,'mystring')
将
tolower
添加到查询字符串时出现错误:filter=startswith(tolower(subject),'mystring')
我什至在过滤器中使用
tolower
函数时遇到错误:filter=tolower(subject) eq 'mywholestring'
我认为这可能表明tolower
不受支持。但我发现在 OneNote 文档中广泛使用 tolower:https://learn.microsoft.com/en-us/graph/onenote-get-content
最佳答案
我在 MS Graph 区分大小写方面也遇到了困难,但这是我正在使用的临时解决方法:
https://my.site.name/_api/web/siteusers?$filter=substringof('Adam', Title) or substringof('adam', Title)
也许这会给你一些想法。
关于microsoft-graph-calendar - Microsoft Graph - 日历 View 过滤器不区分大小写 tolower,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62045215/