Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. $A.createComponent(
  2. [
  3. "c:LegalLegitimationDetails",
  4. [{
  5. "accountId": accountId,
  6. "contextData": component.get('v.contextData'),
  7. "userId": userId,
  8. "recordTypeId":component.get('v.legitimationRecordTypeId'),
  9. "legitimationData":component.get('v.legitimationData')
  10. }],
  11. "c:LegitimationDeatils",
  12. [{
  13. "pageReferenceDispatcher":component.get('v.pageReference'),
  14. "recordIdDispatcher":component.get('v.recordId')
  15. }]
  16. ],
  17.  
  18. function(content, status) {
  19. if (status === "SUCCESS") {
  20. modalBody = content;
  21. component.find('legalOverLayLib').showCustomModal({
  22. header: titleLegitimation,
  23. body: modalBody,
  24. showCloseButton: false,
  25. closeCallback: function() {}
  26. })
  27. }
  28. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement