• Siddharth Seth
  • NEWBIE
  • 50 Points
  • Member since 2017
  • Software Developer
  • AppPerfect Corporation

  • Chatter
    Feed
  • 1
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 19
    Replies
Hello there,

I'm currently having a styling issue at the the step 3 of the Trailhead Lightning Component Framework Specialist,

here is what it's currently looks like :

User-added image

and what it is supposed to look :

User-added image

This is the BoatTile component code :
 
<aura:component >

    <aura:attribute name="boat" type="Boat__c" />
    <aura:attribute name="selected" type="Boolean" default="false" />
    
    <aura:registerEvent name="BoatSelect" type="c:BoatSelect"/>
    <aura:registerEvent name="BoatSelected" type="c:BoatSelected"/>

        <lightning:button class="{! v.selected == true ? 'tile selected' : 'tile' }" onclick="{!c.onBoatClick}">
            <div style="{!'background-image:url(\'' + v.boat.Picture__c + '\')'}" class="innertile">
                <div class="lower-third">
                    <h1 class="slds-truncate">{!v.boat.Contact__r.Name}</h1>
                </div>
            </div>
        </lightning:button>

</aura:component>

and the associated style :
 
.THIS.tile {
    position:relative;
    display: inline-block;
    width: 100%;
    height: 220px;
    padding: 1px !important;
}

.THIS.innertile {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.THIS.lower-third {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, .4);
    padding: 6px 8px;
}

.THIS.selected {
    border: 3px solid rgb(0, 112, 210);
}

Any help would be great, I am a bit confused not to have this displayed correctly.

Thanks lot ! 
Hi All,

I am a Certified Salesforce Developer.I work at AppPerfect Corporation.
AppPerfect provides a wide range of Salesforce services to automate business processes, build application services, implement security and provide integration with external systems.

Our Services are as follows:
. Build a complete secure data model with field level security.
. Help you automate your business by providing expertise in various aspects of process automation.
. Force.Com Development.
. Extend The Salesforce Platform.
. Make Every Application Mobile - Instant Available Runtime,Custom App Development , Heroku etc .
. Data Integration - Connect To Data Sources,Extend access with powerful API’s,Cloud-To-Cloud Integration etc.

Please write to us at salesforce@appperfect.com with your requirements and we can setup a quick call to discuss.

Best Regards, 
Siddharth S. 
AppPerfect Corp.
salesforce@appperfect.com
408-252-4100
http://www.appperfect.com/services/salesforce/
Salesforce Development & Operations Experts
 
How to obtain username/password for commerce cloud? Do we need to create an account?
I even read on certain sites to contact your commerce cloud account manager. How can i contact them?
How to obtain username/password for commerce cloud? Do we need to create an account?
I even read on certain sites to contact your commerce cloud account manager. How can i contact them?
 
Hi All,

I am a Certified Salesforce Developer.I work at AppPerfect Corporation.
AppPerfect provides a wide range of Salesforce services to automate business processes, build application services, implement security and provide integration with external systems.

Our Services are as follows:
. Build a complete secure data model with field level security.
. Help you automate your business by providing expertise in various aspects of process automation.
. Force.Com Development.
. Extend The Salesforce Platform.
. Make Every Application Mobile - Instant Available Runtime,Custom App Development , Heroku etc .
. Data Integration - Connect To Data Sources,Extend access with powerful API’s,Cloud-To-Cloud Integration etc.

Please write to us at salesforce@appperfect.com with your requirements and we can setup a quick call to discuss.

Best Regards, 
Siddharth S. 
AppPerfect Corp.
salesforce@appperfect.com
408-252-4100
http://www.appperfect.com/services/salesforce/
Salesforce Development & Operations Experts
 
Challenge Not yet complete... here's what's wrong: 
You haven't installed the DreamHouse app package.
Hi All How can i improve my code coverage .Now it is 65%
public class AddCostCenterController 
{
	Id targetid;
    public List<Cost_Center__c> cst {set;get;}
    public integer rno {set;get;}
    
    public AddCostCenterController(ApexPages.StandardController controller)
    {
        targetid =Apexpages.currentPage().getparameters().get('targetid');
        cst = new List<Cost_Center__c>();
        Cost_Center__c ct= new Cost_Center__c();
        ct.Target__c = targetid;
        cst.add(ct);
    }
    public pageReference save(){
        insert cst;
        pageReference ct = new PageReference('/'+targetid);
        return ct;
    
    }
    public void addRow()
    {
        cst.add(new Cost_Center__c(Target__c = targetid ));
        
    }
    public void delRow(){
        rno = integer.valueOf(Apexpages.currentPage().getParameters().get('index'));
        cst.remove(rno);
    }
}
 
@isTest
private class Ctr_AddCostCenters_Test
{
  static testMethod void Ctr_AddCostCenters(){
    test.startTest();
    
    
    
     Goal__c goal_Obj = new Goal__c(Name='Test',Flag__c = false,Financial_Year__c='2018-2019');
    Insert goal_Obj; 
      
    Cost_Center__c cost_center_Obj = new Cost_Center__c(Target__c = goal_Obj.id);
    Insert cost_center_Obj; 
    
    PageReference pageRef = Page.AddcostCenters;
    pageRef.getParameters().put('cost_center_Obj','test');
    pageRef.getParameters().put('index','test');
    Test.setCurrentPage(pageRef);
   ApexPages.StandardController sc = new ApexPages.StandardController(cost_center_Obj);
   AddCostCenterController obj01 = new AddCostCenterController(sc);  
   obj01.addRow();
   obj01.save();
   obj01.delRow();
    
    
              
      
  }
 
}

 
<aura:component implements="flexipage:availableForAllPageTypes" access="global" controller="dispalyAccountscontroller">
    
    <aura:handler name="init" value="{!this}" action="{!c.myAction}"/>
    <aura:attribute name="accounts" type="List" /> 
    
    <table class="slds-table slds-table--bordered slds-table--striped slds-table--cell-buffer slds-table--fixed-layout">
        <tr class="slds-text-heading--label">
            
            <th scope="col"><div class="slds-truncate" title="name">Name</div>  </th>
            <th scope="col"><div class="slds-truncate" title="industry">Industry</div></th>
            <th scope="col"><div class="slds-truncate" title="contacts">Contacts</div> </th>
            
        </tr>
        
        <aura:iteration items="{!v.accounts}" var="accs1" >
            
            <tr>  
                <th><div class="slds-truncate" title="{!accs1.Name}"><a href="javascript:void(0);">{!accs1.Name}</a></div>   </th>
                <th> <div class="slds-truncate" title="{!accs1.Industry}">{!accs1.Industry}</div>  </th>
                
                <table>
                    <aura:iteration items="{!accs1.Contacts}" var="con1" >
                        <tr>
                            <th><div class="slds-truncate" title="{!con1.LastName}">{!con1.LastName}</div></th>
                        </tr>
                    </aura:iteration>
                </table>
            </tr> 
            
        </aura:iteration> 
        
    </table>    
</aura:component>

Please help me to achieve this!!
<aura:component >
    <aura:attribute name="item" type="Camping_Item__c" required="true"/>
    <p><ui:outputText value="{!v.item.Name}"/></p>
    <p><ui:outputCurrency value="{!v.item.Price__c}"/></p>
    <p><ui:outputNumber value="{!v.item.Quantity__c}"/></p>
    <p><ui:outputCheckbox value="{!v.item.Packed__c}"/></p>
</aura:component>
I have used lightning:datatable to show table data. This component's properties like maxRowSelection, showRowNumberColumn are not working. I am getting error The attribute "maxRowSelection" was not found on the COMPONENT markup://lightning:datatable. Is any one faced same issue? Please suggest on this issue.  

Hello,

I have a lightning component in which a window pops up on certain command. now i need to close the pop up on clicking ouside of the window or hitting esc button on key pad any ideas? Thank in advance

hi.

how to generate pdf in lightning component without VF page.


Thanks,
Hi,
I am beginner in lightning component
I need to take training on lightning component through online which one is best please help me
Thank you.
 
I have used this below component,

<aura:component>
    <lightning:tabset>
        <lightning:tab label="Item One">
            Sample Content One
        </lightning:tab>
        <lightning:tab label="Item Two">
            Sample Content Two
        </lightning:tab>
    </lightning:tabset>
</aura:component>
        
Output :
User-added image

Please help me whether i should use any tabstyles or my code need anything else..

Thanks,
Sriram
Hello there,

I'm currently having a styling issue at the the step 3 of the Trailhead Lightning Component Framework Specialist,

here is what it's currently looks like :

User-added image

and what it is supposed to look :

User-added image

This is the BoatTile component code :
 
<aura:component >

    <aura:attribute name="boat" type="Boat__c" />
    <aura:attribute name="selected" type="Boolean" default="false" />
    
    <aura:registerEvent name="BoatSelect" type="c:BoatSelect"/>
    <aura:registerEvent name="BoatSelected" type="c:BoatSelected"/>

        <lightning:button class="{! v.selected == true ? 'tile selected' : 'tile' }" onclick="{!c.onBoatClick}">
            <div style="{!'background-image:url(\'' + v.boat.Picture__c + '\')'}" class="innertile">
                <div class="lower-third">
                    <h1 class="slds-truncate">{!v.boat.Contact__r.Name}</h1>
                </div>
            </div>
        </lightning:button>

</aura:component>

and the associated style :
 
.THIS.tile {
    position:relative;
    display: inline-block;
    width: 100%;
    height: 220px;
    padding: 1px !important;
}

.THIS.innertile {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.THIS.lower-third {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, .4);
    padding: 6px 8px;
}

.THIS.selected {
    border: 3px solid rgb(0, 112, 210);
}

Any help would be great, I am a bit confused not to have this displayed correctly.

Thanks lot ! 
Looking for a developer to work remotely in the US as a contractor on an as needed basis. Lots of developer work to be done, mainly triggers and VF pages. If interested, please reply.
Hi,

I am looking to expand our development offerings and looking for nearshore development teams or UK development teams to bring on board. If anyone is either from a dev team or can recommend such dev teams it would be realyl useful, i will then respond with some qualification questions. 

Thanks

Charlie
How to obtain username/password for commerce cloud? Do we need to create an account?
I even read on certain sites to contact your commerce cloud account manager. How can i contact them?
I'm looking for a salesforce partner that has experience in cloning salesforce instances. Currently, we have 1 organization with 3 users. We want to split the organization into 3 different organizations and one user per organization but maintain all custom objects, fields etc. 

The manner in which we would decide which Data goes with which organization is easy enough as we have an ownerid to tie the object/contact/account/company to the user. 

I would consider doing this myself but unsure of the process. 

Any ideas/suggestions?
Thanks

I need a salesforce developer to help me integrate Salesforce with Boberdoo. I need to be able to send lead information in one of my Salesforce Campaigns to my Boberdoo campaign. I understand this can be accomplished via API, though I do not have the exprerience to do so myself. Successful work will lead to future projects, if interested. 

Thank you