public class AddressInfoController {
//带有特定参数的构造函数
public AddressInfoController(ApexPages.StandardController controller)
{
contractId = controller.getId();
//获取记录 controller.getRecord();
record = ApexPages.currentPage().getParameters().get('RecordType');
}
}Salesforce 使用StandardController 在后台类中获取当前记录Id
AddressInfoController详解
最新推荐文章于 2023-10-10 21:01:16 发布
部署运行你感兴趣的模型镜像
您可能感兴趣的与本文相关的镜像
Kotaemon
AI应用
Kotaemon 是由Cinnamon 开发的开源项目,是一个RAG UI页面,主要面向DocQA的终端用户和构建自己RAG pipeline
611

被折叠的 条评论
为什么被折叠?



