Dynamics crm 带液体的过滤器实体列表

Dynamics crm 带液体的过滤器实体列表,dynamics-crm,entity,liquid,adxstudio-portals,dynamics-crm-portals,Dynamics Crm,Entity,Liquid,Adxstudio Portals,Dynamics Crm Portals,作为liquid和EntityList的新手,我认为这是相当于select*from vehicle的SQL语句,我正在努力研究如何添加where子句,使select*from vehicle where keeper={{{userid}},我一直找不到该怎么做 有没有一个简单的方法来应用一个简单的过滤器 {% entitylist name:"Vehicle" %} {% entityview %} <p>Found {{

作为liquid和EntityList的新手,我认为这是相当于
select*from vehicle
的SQL语句,我正在努力研究如何添加where子句,使
select*from vehicle where keeper={{{userid}}
,我一直找不到该怎么做

有没有一个简单的方法来应用一个简单的过滤器

    {% entitylist name:"Vehicle" %}
      {% entityview %}
        <p>Found {{ entityview.total_records }} records</p>
        <table class="table">
          <tbody>
            {% for e in entityview.records -%}
              <tr>
                <td>
                    <p>Keeper <strong>{{ e.keeper }}</strong></p>
                    <p>Name <strong>{{ e.vehiclemake }}</strong></p>
                    <p>Fuel Card <strong>{{ e.vehiclemodel }}</strong></p>
                    <p>VRM <strong>{{ e.vehicleregistration }}</strong></p>
                </td>
              <tr>
            {% endfor -%}
          </tbody>
        </table>
      {% endentityview %}
    {% endentitylist %}
{%entitylist名称:“车辆”%}
{%entityview%}
找到{entityview.total_records}}条记录

{entityview.records中e的%s-%} 守门员{e.Keeper}

名称{e.vehiclemake}

燃油卡{e.vehiclemodel}

VRM{e.VehiclerRegistration}

{%endfor-%} {%endentityview%} {%endentitylist%}
在Arun回答的链接中,建议按当前登录的用户过滤实体列表,这似乎很明显,但当我转到列表时,我没有选择添加联系人(parentcontactid)


有不同的方法来过滤门户中的实体列表,使用门户用户/父联系人属性配置,甚至在liquid template中使用fetchxml标记

是另一个无代码配置的唯一解决方案

基本上,我们可以创建一个虚拟联系人,使用它来过滤视图,并让门户引擎在运行时替换当前门户用户


有不同的方法来过滤门户中的实体列表,使用门户用户/父联系人属性配置,甚至在liquid template中使用fetchxml标记

是另一个无代码配置的唯一解决方案

基本上,我们可以创建一个虚拟联系人,使用它来过滤视图,并让门户引擎在运行时替换当前门户用户


您是否尝试过此操作?@ArunVinoth请查看我添加到OP中的附加内容(必须添加到那里,因为我想包含图片)看起来您的自定义实体中没有拥有门户用户-联系人查找。您尝试过此操作吗?@ArunVinoth请查看我添加到OP中的附加内容(因为我想包含图片,所以必须将其添加到那里)看起来您的自定义实体中没有自己的门户用户联系人查找。