You need to sign in to do that
Don't have an account?
Gurditta Garg
add list of an object records to another object's single record
Hi,
<apex:pageBlock title="Scorecard"> <apex:pageBlockButtons location="bottom"> <apex:commandButton action="{!save}" value="Save" style="width:100px" /> </apex:pageBlockButtons> <apex:pageBlockSection columns="2"> <apex:inputField value="{!scoreform.Name}" required="true"/> <apex:inputField value="{!scoreform.Department__c}" required="true"/> <apex:inputField value="{!scoreform.Frequency__c}" required="true"/> <apex:inputField value="{!scoreform.Sub_Department__c}" required="true"/> <apex:inputField value="{!scoreform.Weighted_Score_1_Owner__c}" /> <apex:inputField value="{!scoreform.Weighted_Score_2_Owner__c}" /> <c:MultiselectPicklist leftLabel="Available Metrics" leftOption="{!allMetrics}" rightLabel="Selected Metrics" rightOption="{!selectedMetrics}" size="14" width="150px"/> </apex:pageBlockSection>
I'm using the above <c> tag component for multiselectPicklist.
in left list i've list of available records (a1,a2,a3,a4....) of an object (say A) which i want to add to the another object's (say B) record (b1).