How to filter a standard chil panel and subviews based on one field value
Summary:
Hi Team ,
In Opportunity we have on panel Opportunity Team and subview we want to filter it based on Type but not able to filter it out. Please help me to resolve this .
<template id="opportunityTeamSubviewTemplate2"> <oj-vb-fragment name="oracle_cx_fragmentsUI:cx-subview" bridge="[[ vbBridge ]]"> <oj-vb-fragment-param name="resource" value='[[ {"name": "opportunities", "primaryKey": "OptyId", "puid": "OptyNumber", "endpoint": "cx" } ]]'> </oj-vb-fragment-param>
<oj-vb-fragment-param name="sortCriteria" value='[[ [{"attribute": "OwnerFlag","direction": "descending" },{"attribute": "CreationDate","direction": "descending" }] ]]'> </oj-vb-fragment-param>
<!-- Correct query to filter by TypeCode = "PRIME" --> <oj-vb-fragment-param name="query" value='[[ [{"type": "selfLink", "params": [{"key": "opportunities_Id", "value": $base.page.variables.puid }]}] ]]'> </oj-vb-fragment-param>