【发布时间】:2020-04-09 17:59:40
【问题描述】:
在 Power Apps 门户中使用 Liquid 是否有与 Shopify 的 url_decode 类似的功能。我尝试使用上面链接中提到的过滤器,但不适用于 Power Apps 门户。
我正在尝试从“?ParentCategory=Services%20&%20Fees&SubCategory=Test”中获取“服务和费用”。
【问题讨论】:
-
字符串是页面url的一部分吗?
在 Power Apps 门户中使用 Liquid 是否有与 Shopify 的 url_decode 类似的功能。我尝试使用上面链接中提到的过滤器,但不适用于 Power Apps 门户。
我正在尝试从“?ParentCategory=Services%20&%20Fees&SubCategory=Test”中获取“服务和费用”。
【问题讨论】:
有一个液体过滤器可以响应您的需要,这里是示例:https://shopify.github.io/liquid/filters/url_decode/
【讨论】:
如果字符串是页面 url 的一部分,您可以使用液体
{% assign ParentCategory = request.params['ParentCategory'] %}
用法:
<a href={{ rParentCategory }}>Link</a>
【讨论】: