Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Beatbox を使用して、関連付けられたオブジェクトを持つすべてのフィールドの名前と API 名を返すクエリを Salesforce に実行しようとしています。
誰もこれを以前にやったことがありますか?出来ますか?
ありがとう
Beatbox に付属している demo.py にその例があります。
desc = svc.describeSObjects("Account") for f in desc[sf.fields:]: print "\t" + str(f[sf.name])
アカウントのフィールドのすべての API 名を出力します。ラベルも必要な場合は、str(f[sf.label]) のようになります。