赞
踩
1.更新cli:sfdx update
2.安装read插件:sfdx plugins:install sfdx-plugin-source-read
3.通过vscode☁️(org browser)或者package.xml拉取profile,此时获取的简档没有所有配置内容
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>*</members>
<name>Profile</name>
</types>
<version>59.0</version>
</Package>
4.在命令行执行命令retrieve profile: sfdx force:source:read -m "profile:System Administrator"
如何在SOQL中查找Owner对应的user自定义字段:
TYPEOF Owner WHEN User THEN Id, Name, UserCode__c,Region__c END,
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。