• Alexander Hadjiiordanov
  • NEWBIE
  • 30 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 7
    Replies
In my custom tabs i simply add the following code to the component:
<ltng:require styles="{!$Resource.globalcss}"/>
and it loads a static resource css file.
How can i load the same css file for "Leads" or "Contacts" tabs?
 
Hello,
I have lightning page i which i load visualforce component in iframe. It is working for me but i have administrator accout. When i try with Standard Platform User account i get access error. How can i give access to visualforce to Standard Platform Users?
Hi all,

the following code is working:
<aura:if isTrue="{!v.AssPage > 5}">
                    <lightning:button label="{!v.AssPage - 5}" name="ButtonBack5" onclick="{!c.clickedButton}"/>
                </aura:if>
                <aura:if isTrue="{!v.AssPage > 4}">
                    <lightning:button label="{!v.AssPage - 4}" name="ButtonBack4" onclick="{!c.clickedButton}"/>
                </aura:if>
                <aura:if isTrue="{!v.AssPage > 3}">
                    <lightning:button label="{!v.AssPage - 3}" name="ButtonBack3" onclick="{!c.clickedButton}"/>
                </aura:if>
                <aura:if isTrue="{!v.AssPage > 2}">
                    <lightning:button label="{!v.AssPage - 2}" name="ButtonBack2" onclick="{!c.clickedButton}"/>
                </aura:if>
                <aura:if isTrue="{!v.AssPage > 1}">
                    <lightning:button label="{!v.AssPage - 1}" name="ButtonBack1" onclick="{!c.clickedButton}"/>
                </aura:if>

tried same thing with iteration but it is not working:
<aura:iteration items="[5,4,3,2,1]" var="item">
                    <aura:if isTrue="{!v.AssPage > !item}">
                        <lightning:button label="{!v.AssPage - !item}" name="{ButtonBack+!item}" onclick="{!c.clickedButton}"/>
                    </aura:if>                    
                </aura:iteration>

What am i missing?

Thanks

 
Hi all,
I have created simple component to upload files with following code:
<aura:component implements="force:appHostable" controller="BeetleEyeCampaignsController">


    <aura:attribute name="accept" type="List" default="['.jpg', '.jpeg', '.zip']"/>
    <aura:attribute name="multiple" type="Boolean" default="true"/>
    <aura:attribute name="disabled" type="Boolean" default="false"/>

    <lightning:fileUpload  name="fileUploader"
                           label= "Demo Upload"
                           multiple="{!v.multiple}"
                           accept="{!v.accept}"
                           disabled="{!v.disabled}"
                           recordId="abcd"
                           onuploadfinished="{! c.handleUploadFinished }"/>

</aura:component>

Both my js and apex are empty at the moment. When i try to upload small image i get following error:
User-added image

Can anyone help me?
Hi All,

How to get the list of all leads lists?
User-added image

Also how can i get the people from a particular list?

Thanks,
Alex
In my custom tabs i simply add the following code to the component:
<ltng:require styles="{!$Resource.globalcss}"/>
and it loads a static resource css file.
How can i load the same css file for "Leads" or "Contacts" tabs?
 
Hello,
I have lightning page i which i load visualforce component in iframe. It is working for me but i have administrator accout. When i try with Standard Platform User account i get access error. How can i give access to visualforce to Standard Platform Users?
Hi all,

the following code is working:
<aura:if isTrue="{!v.AssPage > 5}">
                    <lightning:button label="{!v.AssPage - 5}" name="ButtonBack5" onclick="{!c.clickedButton}"/>
                </aura:if>
                <aura:if isTrue="{!v.AssPage > 4}">
                    <lightning:button label="{!v.AssPage - 4}" name="ButtonBack4" onclick="{!c.clickedButton}"/>
                </aura:if>
                <aura:if isTrue="{!v.AssPage > 3}">
                    <lightning:button label="{!v.AssPage - 3}" name="ButtonBack3" onclick="{!c.clickedButton}"/>
                </aura:if>
                <aura:if isTrue="{!v.AssPage > 2}">
                    <lightning:button label="{!v.AssPage - 2}" name="ButtonBack2" onclick="{!c.clickedButton}"/>
                </aura:if>
                <aura:if isTrue="{!v.AssPage > 1}">
                    <lightning:button label="{!v.AssPage - 1}" name="ButtonBack1" onclick="{!c.clickedButton}"/>
                </aura:if>

tried same thing with iteration but it is not working:
<aura:iteration items="[5,4,3,2,1]" var="item">
                    <aura:if isTrue="{!v.AssPage > !item}">
                        <lightning:button label="{!v.AssPage - !item}" name="{ButtonBack+!item}" onclick="{!c.clickedButton}"/>
                    </aura:if>                    
                </aura:iteration>

What am i missing?

Thanks

 
Hi all,
I have created simple component to upload files with following code:
<aura:component implements="force:appHostable" controller="BeetleEyeCampaignsController">


    <aura:attribute name="accept" type="List" default="['.jpg', '.jpeg', '.zip']"/>
    <aura:attribute name="multiple" type="Boolean" default="true"/>
    <aura:attribute name="disabled" type="Boolean" default="false"/>

    <lightning:fileUpload  name="fileUploader"
                           label= "Demo Upload"
                           multiple="{!v.multiple}"
                           accept="{!v.accept}"
                           disabled="{!v.disabled}"
                           recordId="abcd"
                           onuploadfinished="{! c.handleUploadFinished }"/>

</aura:component>

Both my js and apex are empty at the moment. When i try to upload small image i get following error:
User-added image

Can anyone help me?
Hi All,

How to get the list of all leads lists?
User-added image

Also how can i get the people from a particular list?

Thanks,
Alex