Skip to content

Latest commit

 

History

History
22 lines (21 loc) · 621 Bytes

getGroupValueFromQueryParams.md

File metadata and controls

22 lines (21 loc) · 621 Bytes

getGroupValueFromQueryParams(queryParams, objectName, groupName)

Return the last group value from the parameters of a RPM API Query for objectName's groupName.

  • queryParams <Object>
  • objectName <String>
  • groupName <String>
var queryParams = {
    AndFilter: {
        OrFilter: [{
            _attrs: {
                category: 'Opportunities'
            },
            AndFilter: [{
                    Filter: "Opportunities_name='Test'"
                }
            ]
        }]
    }
};
pvh.getGroupValueFromQueryParams(queryParams, 'Opportunities', 'Opportunities_name');