0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【問題解決】グローバル検索でロングテキストエリア項目の値が無視される

Last updated at Posted at 2025-06-18

グローバル検索でロングテキストエリア項目の値が無視されて困りました。
原因がわかったので、解決方法を共有します。

背景

ロングテキストエリア項目の値は、SOQLの検索条件に使用できません。
SOSLを使用して実装することにしました。

問題発生

SOSLを使用して、「ロングテキストエリア項目に対象の値を持つ個人取引先レコード」を取得することができません。
11.png

グローバル検索でもレコードを取得することができません。
※グローバル検索は、SOSLを使用していると思う

原因

個人取引先の仕様が原因でした。
取引先責任者オブジェクトで作成したロングテキストエリア項目は、
個人取引先レコードの検索対象にならないようです。
2.png

解決方法

取引先オブジェクトでロングテキストエリア項目を作成します。
個人取引先レコードの検索対象になりました。
3.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?