• ying liu 14
  • NEWBIE
  • 10 Points
  • Member since 2016

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

How to deploy global picklist? I didn't find any metadata for global picklist.
Help me please.
Thank you very much!
Hi,

I want navigate from lightning to apex visualforce page. And I used window.top.location and the page will be shown without sidebar.
How to use navigateToURL? I tried to use like below js but it doesn't work.
navigateTest: function(component, e, helper){
        $A.get("e.force:navigateToURL").setParams({"url": "/apex/test"}).fire();

    }

Does someone know this? Thanks a lot.
Dears,
I have two components named 'comp1' and 'comp2' .
'comp1' contains 'comp2' and transfer parameters to 'comp2'. 
There is an event in 'comp2' to handle change. But only one paramter has values output in the function of controller. Both of the parameters should have values.
Below is my code. Please help me about this.
Thank you very much!

comp1:
<aura:component controller="testController">
<aura:attribute name="qa" type="QVM.QA"/>
<div class="qContent">
       <c:comp2 qpa="{!ra.Qpa}" answer="{!ra.answer}" />
 </div> 
</aura:component >

comp2:
<aura:component >
    <aura:attribute name="answer" type="QVM.Answer" />
    
    <aura:attribute name="qpa" type="QVM.QPA" />
    <aura:attribute name="order" type="Integer" />
    <aura:handler name="change" value="{!v.order}" action="{!c.handleChange}"/>
</aura:component >

comp2controller:
handleChange : function(component, event, helper) {
    var answer = component.get("v.answer");
    var qpa = component.get("v.qpa");
console.log(answer);//no vlaues
console.log(qpa);//have values
}
Hi,

How to deploy global picklist? I didn't find any metadata for global picklist.
Help me please.
Thank you very much!
Hi,

I want navigate from lightning to apex visualforce page. And I used window.top.location and the page will be shown without sidebar.
How to use navigateToURL? I tried to use like below js but it doesn't work.
navigateTest: function(component, e, helper){
        $A.get("e.force:navigateToURL").setParams({"url": "/apex/test"}).fire();

    }

Does someone know this? Thanks a lot.