• Nerdy
  • NEWBIE
  • 25 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 12
    Questions
  • 8
    Replies
Hello Everyone,

I need to create a job to integrate an sObject 'Child' that is having a Master-Detail Relationship with Anoter Object 'Parent'.
How can I Populate the Master-Detail fiels using the ExternalId of My Object B in Talend ?
I know that is possible in SF Inspector or Dataloader  with this Syntax :  Parent__r:Parent:ExternalId__c
 
  • February 12, 2021
  • Like
  • 0
Hi Folks,
Suppose here is my Checkbox group
<aura:component>
    <aura:attribute name="options" type="List" default="[
    {'label': 'apple', 'value': 'applie'},
    {'label': 'orange', 'value': 'orange'}
    {'label': 'banana', 'value': 'banana'}
    {'label': 'grape', 'value': 'grape'}
    ]"/>

    <aura:attribute name="data" type="List" />

    <lightning:checkboxGroup name="Fruit"
                             label="Fruit"
                             options="{! v.options }"
                             value="{! v.data }"
                             onchange="{! c.handleChange }"/>
</aura:component>

How Can i update my  multiselect picklist when user checks some values of the checkbox group;

Any help would be appreciated
  • February 04, 2019
  • Like
  • 0
Hi Folks,
Suppose here is my multi select checkbox :
<aura:component>
    <aura:attribute name="options" type="List" default="[
    {'label': 'apple', 'value': 'applie'},
    {'label': 'orange', 'value': 'orange'}
    {'label': 'banana', 'value': 'banana'}
    {'label': 'grape', 'value': 'grape'}
    ]"/>

    <aura:attribute name="data" type="List" />

    <lightning:checkboxGroup name="Fruit"
                             label="Fruit"
                             options="{! v.options }"
                             value="{! v.data }"
                             onchange="{! c.handleChange }"/>
</aura:component>

How Can i update my  multiselect picklist when user checks some values of the checkbox group;

Thaaanks for your heelp 
  • February 01, 2019
  • Like
  • 0
Hello Community

I have a custom object MyCustomObj__c which has 2 relashionship lookups on Contact Object. Contact1__c and Contact2__c
How can I insert with apex a record in Contact1__c  ?
  • January 29, 2019
  • Like
  • 0
Hello Community,

Can you help me to achieve this requirements :
I need to implement Lightning Form With Multiple Checkbox Select Options.
How can i implement the markup and the controller to handle the selected answers ?

User-added image



 
  • January 28, 2019
  • Like
  • 0
Hi folks,
I am new to lightninf and i have a requirement.
I need to Implement multiple choice questions in a lightning form and bind the choosen values with a field in salesforce
suppose the field is "Question" (Api name question__c) and possible answers are op1,op2,op3,op4
Can you correct this part and tell me how can i bind tthe answers with the field ? I want to have multiple checkboxes
<h4>Question</h4>
                        <div class="slds-grid slds-wrap"> 
                            <div class="slds-grid slds-wrap">
                                <div class="slds-col slds-size_1-of-2">
                                    <lightning:input type="checkbox" label="Op1" name="type1" value="{!v.question__c"/>
                                </div>
                                <div class="slds-col slds-size_1-of-2">
                                    <lightning:input type="checkbox" label="Op2" name="type2" value="{!v.question__c}"/>
                                </div>
                                <div class="slds-col slds-size_1-of-2">
                                    <lightning:input type="checkbox" label="Op3" name="type3" value="{!v.question__c}"/>
                                </div>
                                <div class="slds-col slds-size_1-of-2">
                                    <lightning:input type="checkbox" label="Op4" name="type4" value="{!v.question__c}"/>
                                </div>
                                
                            </div>
                        </div>

 
  • January 10, 2019
  • Like
  • 0
Hello,
Can you help me to query this :

A user can fill a form in community.
how can i check if an sObject(Form__c) of the contact of the authentified user in community exists so that if it exists i update the existing form in salesforce.
I just need the query.
  • January 09, 2019
  • Like
  • 0
Helloo, 

Can you help me to achieve this requirement ?

How can I pre-fill a field in a lightning form with value entered in salesforce (Account object)
      <lightning:input name ="myField "value="{!v.account.myField}"  />

 
  • December 30, 2019
  • Like
  • 0
Hello, 

Can you help me to achieve this 

I have two lightning components of the same form
How can i implement  handleClick function so that when ther user cliks on NEXT Step Button in the first component it moves to the second component

Here is my button
<lightning:button class="sw-btn sw-btn-orange" label="NEXT STEP" variant ="brand" title="Next Step" onclick="{! c.handleClick }"



 
  • December 27, 2018
  • Like
  • 0
Hello Guys,
Can you help to achieve my first lightning component ?

I want to insert 2 records (of 2 different objects Obj
<div class="container-fluid">
        <h3>Please Enter The Candidate Information</h3>
        <div class="form-group">
            <label>First Name</label>
            <ui:inputText class="form-control" value="{!v.Obj1.First_Name__c}"/>
        </div>
        <div class="form-group">
            <label>Last Name</label>
            <ui:inputText class="form-control" value="{!v.Obj1.Last_Name__c}"/>
        </div>
        <div class="form-group">
            <label>Email Address</label>
            <ui:inputText class="form-control" value="{!v.Obj2.Email__c}"/>
        </div>
        <div class="form-group">
            <label>SSN</label>
            <ui:inputText class="form-control" value="{!v.Obj2.SSN__c}"/>
        </div>
    </div>
    <div class="col-md-4 text-center">
        <ui:button class="btn btn-default" press="{!c.create}">Create</ui:button>
  </div>

1 an Obj2) whenever the user saves a lightning form 
I have juste finished the markup(fields are from both objects ) and i want to implement logic (js controller and apex controller) so that when i save the form , records are created with populated fields.








 
  • December 26, 2018
  • Like
  • 0
Hello,

I need your help to achieve this conditionnal markup in a lightning form :

I want to make a text input mandatory whenever the user checks Yes on another radio-group input :
<div class="slds-col slds-size_1-of-2">
                                <lightning:radioGroup name="  " 
                                                      options="{! v.yesNo }"
                                                      value="{! v.account.firstField}"
                                                      type="radio"
                                                      />
                            </div>

                            <div class="slds-col slds-size_1-of-2">
                                <lightning:input name=" " label="Label2"  value="{!v.account.secondField}"  />
                            </div>


 
  • December 25, 2018
  • Like
  • 0
Hello, I am new to triggers ...can anybody help me with this 

I have a lookup relationship between two custom objects A and B(the child)
when two checkbox fields in object A are unchecked, i want two other checkbox in obj B to be unchecked...

I know this can be done via process builder but would like to try this with  a trigger so I can start to understand more about Apex
  • April 14, 2017
  • Like
  • 0
Hello Community

I have a custom object MyCustomObj__c which has 2 relashionship lookups on Contact Object. Contact1__c and Contact2__c
How can I insert with apex a record in Contact1__c  ?
  • January 29, 2019
  • Like
  • 0
Hello Community,

Can you help me to achieve this requirements :
I need to implement Lightning Form With Multiple Checkbox Select Options.
How can i implement the markup and the controller to handle the selected answers ?

User-added image



 
  • January 28, 2019
  • Like
  • 0
Hello Guys,
Can you help to achieve my first lightning component ?

I want to insert 2 records (of 2 different objects Obj
<div class="container-fluid">
        <h3>Please Enter The Candidate Information</h3>
        <div class="form-group">
            <label>First Name</label>
            <ui:inputText class="form-control" value="{!v.Obj1.First_Name__c}"/>
        </div>
        <div class="form-group">
            <label>Last Name</label>
            <ui:inputText class="form-control" value="{!v.Obj1.Last_Name__c}"/>
        </div>
        <div class="form-group">
            <label>Email Address</label>
            <ui:inputText class="form-control" value="{!v.Obj2.Email__c}"/>
        </div>
        <div class="form-group">
            <label>SSN</label>
            <ui:inputText class="form-control" value="{!v.Obj2.SSN__c}"/>
        </div>
    </div>
    <div class="col-md-4 text-center">
        <ui:button class="btn btn-default" press="{!c.create}">Create</ui:button>
  </div>

1 an Obj2) whenever the user saves a lightning form 
I have juste finished the markup(fields are from both objects ) and i want to implement logic (js controller and apex controller) so that when i save the form , records are created with populated fields.








 
  • December 26, 2018
  • Like
  • 0
I am completely lost and confused on this challenge and I dont know how to fix it. Every time I try to add Edna Frank as an external user it says "An account owner must be associated with a role to enable portal users or transfer portal users to his or her account." Anyone know what I'm doing wrong?

In this challenge, you set up the external sharing model, create a sharing set, and create a customer community user. First, set up the external sharing model with Case set to private. Then, enable Customer Portal settings, and create a sharing set titled Share cases with customers for the Customer Community User Profile. In this sharing set, grant customer community users read and write access to the case object for all cases associated with their account.
Ensure that your DE org user has a role assigned.
Create a customer community user from Edna Frank's contact record. (Your DE org should already have a contact record for Edna Frank. If it doesn't, create a new contact with first name Edna and last name Frank.)
Ensure that the account associated with Edna Frank has cases associated with it.
Ensure that sharing set mapping is set to User:Account = Case:Account.
 
  • September 14, 2016
  • Like
  • 1
I am tryng to implement Image Slider in visualforce. This is my code so far can anyone please help me with this. In this code i have added 3 images but Its only showing the first image and slider is also not working.

<apex:page showHeader="false" sidebar="false" standardStylesheets="false">
<html lang="en">
    <head>
        <!-- Bootstrap core CSS --> 
        <apex:stylesheet value="{!URLFOR($Resource.bootstrap, 'bootstrap-3.3.6-dist/css/bootstrap.min.css')}"/>
        <title>Image Slider Using Bootstrap</title>
        
        <!-- <apex:image alt="Challenge Image1" title="Challenge1" url="{!URLFOR($Resource.Challenge1, 'Challenge1.jpg')}"/> -->
        <!-- <apex:image url="{!$Resource.Challenge1}"/> -->
    </head>
<body>
<div class="container text-center">
<!-- Inside body ----------------------------------------------------------------------------------------------------------------------------------- -->

    <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
        <!-- Indicators -->
        <ol class="carousel-indicators">
            <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
            <li data-target="#carousel-example-generic" data-slide-to="1"></li>
            <li data-target="#carousel-example-generic" data-slide-to="2"></li>
        </ol>
     
        <!-- Wrapper for slides -->
        <div class="carousel-inner">
            <div class="item active">
                <!-- <img src="http://placehold.it/1200x315" alt="..." /> -->
                <apex:image url="{!$Resource.Challenge1}"/>
                <div class="carousel-caption">
                    <h3>Caption Text</h3>
                </div>
            </div>
            
            <div class="item">
                <!-- <img src="http://placehold.it/1200x315" alt="..." /> -->
                <apex:image url="{!$Resource.Challenge2}"/>
                <div class="carousel-caption">
                    <h3>Caption Text</h3>
                </div>
            </div>
    
            <div class="item">
                <!-- <img src="http://placehold.it/1200x315" alt="..." /> -->
                <apex:image url="{!$Resource.Challenge3}"/>
                <div class="carousel-caption">
                    <h3>Caption Text</h3>
                </div>
            </div>
        </div><!-- Wrapper for slides End -->
 
        <!-- Controls -->
        <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
            <span class="glyphicon glyphicon-chevron-left"></span>
        </a>
        <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
            <span class="glyphicon glyphicon-chevron-right"></span>
        </a>
        
    </div> <!-- Carousel -->

<!--Inside Body end -------------------------------------------------------------------------------------------------------------------------------- -->    
</div>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <apex:includescript value="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"/>
    <apex:includescript value="{!URLFOR($Resource.bootstrap, 'bootstrap-3.3.6-dist/js/bootstrap.min.js)"/>
    
    <apex:includeScript value="{!URLFOR($Resource.bootstrap, 'bootstrap-3.3.6-dist/js/bootstrap.js)"/>
</body>
</html>
</apex:page>
Hi All,

Can anyone please help me with bellow challenge.


Create an Apex trigger for Account that matches Shipping Address Postal Code with Billing Address Postal Code based on a custom field.
For this challenge, you need to create a trigger that, before insert or update, checks for a checkbox, and if the checkbox field is true, sets the Shipping Postal Code (whose API name is ShippingPostalCode) to be the same as the Billing Postal Code (BillingPostalCode).The Apex trigger must be called 'AccountAddressTrigger'.
The Account object will need a new custom checkbox that should have the Field Label 'Match Billing Address' and Field Name of 'Match_Billing_Address'. The resulting API Name should be 'Match_Billing_Address__c'.
With 'AccountAddressTrigger' active, if an Account has a Billing Postal Code and 'Match_Billing_Address__c' is true, the record should have the Shipping Postal Code set to match on insert or update.

For above challenge i tried with following code but looks like it doesnt mach the requirement.

trigger AccountAddressTrigger on Account (before insert, before update) {
    for(Account a : Trigger.new){
        If (a.Match_Billing_Address__c = true) {
            /*ShippingPostalCode = BillingPostalCode;*/
        }   
    } 

}

Please help me