• Zachary Cohan
  • 5 Points
  • Member since 2019

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 3
Hi I have a following lightning component code.
============My Component =============
<aura:component implements="forceCommunity:availableForAllPageTypes" access="global" controller="MyClass">
    <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
    <aura:attribute name="myMap" type="Map" />

The map 'myMap' is loaded with some data through the controller.
Im not getting how will I access the value from the map "myMap" inside the component.

I dont want to iterate over the map
Just need to access a value from It something like myMap.get('Key1') inside the component;

   doInit: function(component, event, helper) {      

       var action = component.get('c.getMap');

public with sharing class MyClass
      public static MAP<String,String> getMap()
          Map<String,String> map = new Map<String,String>();
          return map;



 Why the salesforce is not having "before undelete" event in triggers?

any one could you please explain?

  • April 30, 2013
  • Like
  • 0

Hi All,


I have created a Record Type for Opportunities. I have decided against using a Record Type so I now want to delete it.

I clicked Del and it lists the profiles that are using the RT. I have edited each profile, resetting the Record Type back to Master.


This works except for Standard Platform User. This profile does not have an option to set the RT for the Opportunities object. Opportunities is not listed at all for this profile.


I am now stuck with an unwanted RT. I can't delete it as SF says the profile is using it as the default.


Any ideas?





- Andy