私はsalesforce環境が初めてで、簡単なことを達成しようとしています。私は、カスタムリードの質問で新しいリードスクリーンを作成し、それをリードとして保存したいと思います。セールスフォースビジュアルフォース保存ボタンdoes not save
新しいリードボタンページをオーバーライドしてapexフォームを作成しましたが、そのページの[保存]ボタンを押すとエラーは表示されませんが、リードも保存されません。キャンセルボタンが動作しているようです。
saveまたはapexのカスタムコードを記述する必要がありますか?pageblockbuttonsデフォルトの動作は有効ですか?
そのほとんどはちょうど私が頂点自体に関連していなかった解決策を、見つけましたが、1に複数の入力フィールド
<apex:form id="mySection">
<apex:pageBlock title="New Lead: {!Lead.Name}">
<apex:pageBlockSection title="Lead information" columns="1" >
<apex:inputField value="{!Lead.FirstName}" tabOrderHint="1"/>
<apex:inputField value="{!Lead.LastName}" tabOrderHint="2"/>
<!-- Other fields are skipped -->
<apex:inputField value="{!Lead.Project_Value__c}" tabOrderHint="3"/>
</apex:pageBlockSection>
<apex:pageBlockButtons >
<apex:commandButton action="{!save}" value="Save"/>
<apex:commandButton action="{!cancel}" value="Cancel" immediate="true"/>
</apex:pageBlockButtons>
</apex:pageBlock>
</apex:form>