• Virendra Kumar 9
  • NEWBIE
  • 20 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies

I tried a lot but I don't know what I am missing to capture wave:SelectionChanged event.

  • Used same code as available on :  https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_sdk.meta/bi_dev_guide_sdk/bi_sdk_web_example2.htm


Steps Performed:

  1. Added measure column in Table.
  2. Added record Id column too in dashboard.
  3. Have put both dashboard and Lightning component on lightning app page(one below the other).
  4. on selecting the measure column no event is fired, tried putting console logs but the handle change did not trigged.

Please help me or suggest something on this.

Hi All

I am trying to use lightning out functionality to embed my ligthning component on some public webistes and i want it should be used there only.

Please let me know if there is any way to restrict the usuage to same.

I tried a lot but I don't know what I am missing to capture wave:SelectionChanged event.

  • Used same code as available on :  https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_sdk.meta/bi_dev_guide_sdk/bi_sdk_web_example2.htm


Steps Performed:

  1. Added measure column in Table.
  2. Added record Id column too in dashboard.
  3. Have put both dashboard and Lightning component on lightning app page(one below the other).
  4. on selecting the measure column no event is fired, tried putting console logs but the handle change did not trigged.

Please help me or suggest something on this.

Hi All

I am trying to use lightning out functionality to embed my ligthning component on some public webistes and i want it should be used there only.

Please let me know if there is any way to restrict the usuage to same.
I have a custom listview that I can select Contact records from but how do I get this information in the controller to do forther actions in apex?

I have code that currently looks like this:
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction"
                access="global"
                controller="ListViewController">
    <!-- call doInit js function on component load to fetch list view details-->
    <aura:handler name="init" value="this" action="{!c.doInit}"/>
    <!-- aura attributes -->
    <aura:attribute name="listViewResult" type="string[]"/>
    <aura:attribute name="objectInfo" type="string" default="Contact"/>
    <aura:attribute name="currentListViewName" type="string" />
    <aura:attribute name="bShowListView" type="boolean" default="false"/>
    <aura:attribute name="selContacts" type="Contact[]"/>

    <!-- custom controls to display inside listview header-->
    <div class="slds-form-element">
        <lightning:layout class="customCls">
        <lightning:select name="select1" onchange="{!c.onPicklistChange}" label=" ">
            <aura:iteration items="{!v.listViewResult}" var="listView">
                <option value="{!listView.developerName}">{!listView.label}</option>
            </aura:iteration>
        </lightning:select>
            <lightning:button label="Avidentifiera" onclick="{!c.unidentify}" variant="brand"/>
        </lightning:layout>
    </div>

    <!-- lightning List View : https://sforce.co/2Q4sebt-->
    <aura:if isTrue="{!v.bShowListView}">
        <lightning:listView objectApiName="{!v.objectInfo}"
                            listName="{!v.currentListViewName}"
                            rows="5"
                            showSearchBar="true"
                            showActionBar="false"
                            enableInlineEdit="true"
                            showRowLevelActions="false"
        />
    </aura:if>
</aura:component>