How to filter a standard chil panel and subviews based on one field value — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to filter a standard chil panel and subviews based on one field value

in Sales 2 comments

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>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!