本文介绍了Salesforce 表名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 salesforce 的新手,我想查看我的表名.是否有任何 SOQL 查询来获取所有表,或者我必须从 salesforce 仪表板进行检查.无论如何,请帮助我获取所有表名.如果您指导我查看字段名称,我将非常感谢我在 StackOverflow 上查看了一些答案,但找不到任何有用的信息.

I am new to salesforce and I want to view my table names. Is there any SOQL query to fetch all tables or I have to check from the salesforce dashboard. In any case please help me to get all table names.And if you guide me to view field names, I shall be very thankfulI have checked some answers on StackOverflow but unable to find anything helpful.

推荐答案

EntityDefinition 是一个不错的开始(使用 WHERE 子句进行实验,即使在 vanilla SF 中也有比您想象的更多的表)

EntityDefinition is a decent start (experiment with the WHERE clause, there are way more tables even in vanilla SF than you think)

SELECT KeyPrefix, QualifiedApiName, Label, IsQueryable, IsDeprecatedAndHidden, IsCustomSetting
FROM EntityDefinition
WHERE IsCustomizable = true AND IsCustomSetting = false

这篇关于Salesforce 表名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 11:52