Loading
システム管理者に対するフィッシング耐性MFA・全従業員ユーザーMFAの適用のお知らせ 続きを読む

How to Control the Sequence of Products in Industries LWC CPQ Cart Search Results

公開日: Jul 17, 2026
前提条件
Salesforce Industries CPQ (Vlocity)
タスク

How can I control the order of products shown in search results in the Catalog Preview for Quotes in the Industries LWC CPQ?

ステップ

By default, the product list is sorted alphabetically using Product2.Name ASC. However, this behavior can be overridden by passing the sortBy parameter to the GetCartsProducts service. The parameter supports both _ASC and _DESC suffixes.

For example:

Product2.Name_DESC → ORDER BY Product2.Name DESC
Product2.Name_ASC → ORDER BY Product2.Name ASC
Product2.CustomField__c_ASC → ORDER BY Product2.CustomField__c ASC

Sample API : /services/apexrest/{namespace}/v2/cpq/carts/{cart_ID}/products?sortBy=Product2.Name_ASC

ナレッジ記事番号

005389214

 
読み込み中
Salesforce Help | Article