Guest User

Untitled

a guest
Jun 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. ({
  2. doInit : function(component) {
  3. var action = component.get("c.getPickListValuesIntoList");
  4. action.setParams({
  5. objectType: component.get("v.sObjectName"),
  6. selectedField: component.get("v.fieldName")
  7. });
  8. action.setCallback(this, function(response) {
  9. var list = response.getReturnValue();
  10. component.set("v.picklistValues", list);
  11. })
  12. $A.enqueueAction(action);
  13. }
  14. })
Add Comment
Please, Sign In to add comment