• Anita 8
  • NEWBIE
  • 20 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 6
    Replies
Hello all guys, 

I'm trying to use .next() and .prev() for hide and show " tr " or " td " , but in lightning design system is not supporting with this method .
 
if (typeof hidden != 'boolean') hidden = false;
	
	$j("#columnSourceType-col").closest('tr').toggleClass("hidden", hidden);
	$("#native_data_type-col").closest('tr').toggleClass("hidden", hidden);
	$j("#mainSourceName-col").closest('tr').toggleClass("hidden", hidden);
	$j("#mainSourceName-col").closest('tr').next(".rowspliter").toggleClass("hidden", hidden);

	$("#editeValueOperatorDropdown").closest('tr').prev(".rowspliter").toggleClass("hidden", hidden);
	$("#editeValueOperatorDropdown").closest('td').prev("td").toggleClass("hidden", hidden);
	$("#editeValueOperatorDropdown").closest('td').toggleClass("hidden", hidden);
}
So how to fix it ??
 Please, help me ! 

Thanks for advance, 
  • September 19, 2016
  • Like
  • 0
Hello all guy, 
 
<div aura:id="feedContainer" class="feed-container">
                    <forceChatter:fullFeed type="News  " subjectId="Opportunity"/>
                </div>


I am trying to use like this code , but it is not working for button share post . 
How to fix it to work ?? 
Thanks for your advice ! 
Hello Guy, 
I'm tried with this code .
<aura:attribute name="opp" type="Opportunity"/>
<li class="slds-page-header__detail-block">
          <p class="slds-text-heading--label-normal accInfoLabel slds-truncate slds-m-bottom--xx-small" title="Billing Account">Billing Account</p>
          <p>
            <span title="{!v.opp.Billing_Account__c}">{!v.opp.Billing_Account__c}&nbsp;</span>
          </p>
        </li>

I try to display Account.Name that Billing Account field is look up to account , but when I get it show me as ID . 
So I don't know how to display Account Name on custom field instead ID of Account?? 

Please, help me .
Thanks in advance.
In computer I opened lightning design system it has custom Tab I have been created it , but when I opened it on moble it doens't show custom tab that I created .
So how to make it for mobile . 

Please , help me .

Thanks you kindly.
 
It's error when I add new product to opportunityLineItem . 
How to resolve it ?? 
please, help me .

Thanks for your kindly .
Helper
 
setBillingCatCalc : function(cmp, oli) {
        $A.log('running Abstract helper');
        $A.log('billcatcalcs: '+cmp.get("v.billingCatCalcs"));
        $A.log('oli: '+cmp.get("v.oli"));
        
        if (oli.PricebookEntry.Product2  !== undefined && oli.PricebookEntry.Product2.Billing_Category__c !== undefined) {
            cmp.set("v.billingCatCalcs",oli.PricebookEntry.Product2.Billing_Category__c.split(";"));
        }
        var calcBCC = oli.Billing_Category__c+'_'+oli.BillingCalc__c;
        cmp.find("selBCC").set("v.value",calcBCC);
        cmp.set("v.oli",oli);
    }

It's undefined " Product2" . 
How to fix it ??? 
Please , help me to resolve it . 
Thanks you kindly.
<div class="slds" style="margin-top:10px;margin-left:10px;"> 
<ltng:require styles="/resource/icons/assets/styles/salesforce-lightning-design-system-ltng.css" /> 
<span class="slds-icon__container slds-icon-standard-account">            <c:svgclass="sldsicon"xlinkHref="/resource/icons/assets/icons/standardsprite/svg/symbols.svg#account" /> 
<span class="slds-assistive-text">Account Icon</span> 
</span> 
</div>

I try to do like this , but still can not show icon . 
Please , help me .
Thanks.
Hello Guy, 
I'm tried with this code .
<aura:attribute name="opp" type="Opportunity"/>
<li class="slds-page-header__detail-block">
          <p class="slds-text-heading--label-normal accInfoLabel slds-truncate slds-m-bottom--xx-small" title="Billing Account">Billing Account</p>
          <p>
            <span title="{!v.opp.Billing_Account__c}">{!v.opp.Billing_Account__c}&nbsp;</span>
          </p>
        </li>

I try to display Account.Name that Billing Account field is look up to account , but when I get it show me as ID . 
So I don't know how to display Account Name on custom field instead ID of Account?? 

Please, help me .
Thanks in advance.
In computer I opened lightning design system it has custom Tab I have been created it , but when I opened it on moble it doens't show custom tab that I created .
So how to make it for mobile . 

Please , help me .

Thanks you kindly.
 
Helper
 
setBillingCatCalc : function(cmp, oli) {
        $A.log('running Abstract helper');
        $A.log('billcatcalcs: '+cmp.get("v.billingCatCalcs"));
        $A.log('oli: '+cmp.get("v.oli"));
        
        if (oli.PricebookEntry.Product2  !== undefined && oli.PricebookEntry.Product2.Billing_Category__c !== undefined) {
            cmp.set("v.billingCatCalcs",oli.PricebookEntry.Product2.Billing_Category__c.split(";"));
        }
        var calcBCC = oli.Billing_Category__c+'_'+oli.BillingCalc__c;
        cmp.find("selBCC").set("v.value",calcBCC);
        cmp.set("v.oli",oli);
    }

It's undefined " Product2" . 
How to fix it ??? 
Please , help me to resolve it . 
Thanks you kindly.
<div class="slds" style="margin-top:10px;margin-left:10px;"> 
<ltng:require styles="/resource/icons/assets/styles/salesforce-lightning-design-system-ltng.css" /> 
<span class="slds-icon__container slds-icon-standard-account">            <c:svgclass="sldsicon"xlinkHref="/resource/icons/assets/icons/standardsprite/svg/symbols.svg#account" /> 
<span class="slds-assistive-text">Account Icon</span> 
</span> 
</div>

I try to do like this , but still can not show icon . 
Please , help me .
Thanks.