My_Test_Repo/force-app/main/default/pages/addOpporContact.page

23 lines
1.0 KiB
Plaintext

<apex:page controller="addController" lightningStyleSheets="true" showHeader="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0" standardStylesheets="true">
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection title="All Accounts" collapsible="false" columns="1">
<!---Showing Accounts Record-->
<apex:pageBlockTable value="{!AccountsList}" var="acc" id="pbTable1" title="All Accounts">
<apex:column value="{!acc.Name}"/>
<apex:column value="{!acc.Industry}"/>
<apex:column value="{!acc.Id}"/>
</apex:pageBlockTable>
</apex:pageBlockSection>
</apex:pageBlock>
<!----Button---->
<center>
<apex:commandButton value="Add Contact/Opportunity" action="{!Choicepage}" />
</center>
</apex:form>
</apex:page>