• Amit Raghuvanshi 6
  • 10 Points
  • Member since 2015

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 4
  • 1
=====> Lightning component <======

<aura:component implements="force:appHostable">
           <ui:button press="{!c.navigateIt}"  label="Go!" />

======> Lightning Component Controller <======

var navigateIt : function(component,helper,event)
        var navigate = $A.get("e.force:navigateToURL");
        navigate.setParams({ "url" : http://www.google.com"});

Getting Error : Something gone wrong :Cannot read property 'setParams' of undefined
in lightning classic but working fine in lightning experiance and salesforce 1 

How can i achieve the same in lightning classing using events?

Thanks in advance .... :)

hello everyone,
                     I have a vf which shows a picklist1 of all object and  another which show its repective field, i have another picklist2 which again show list of all object with its respective fields.
                      when i select an object form picklist1 and its respective field and then i select other object from picklist2 and its respective field.
  i want to map the field of both the object which i select form the picklists .Like we do in Lead Custom Field Mapping custom lead mapping .
 i want to do same with the visualforce page.
Lead Custom Field Mapping
thanks in advance 

User-added image
when i click delete it deletes all the custom views but i want to override the action performed by the delete.
Hello Everyone,
                       I want to display the relationship between two objects(MD or Lookup) on visualforce page and  If i choose one object from one picklist then it shoul show picklist of its all related obejct and their relationship type  (MD or Lookup) on vf.how can i achieve it??
  Thanks in advance..