我正在尝试通过标记将scontrol嵌入到VF页面中,但是它给出了一个错误,即scontrol名称无效。我已经检查并验证我正在为scontrol提供有效的API名称。 Plz的帮助。我使用了apex标签如下:
<apex:page>
<apex:scontrol controlName="my_scontrol_API_name"/>
</apex:page>
我得到的错误是scontrol名称无效。
答案 0 :(得分:0)
这对我有用:
<apex:page>
<apex:scontrol controlName="My_S_Control" />
</apex:page>
您确定使用的是完全 S-Control名称吗?检查以确保在设置&gt;开发&gt; S-Controls&gt; [你的S-Control]。
答案 1 :(得分:0)
不推荐使用S-Controls。 我希望this link会帮助你。