• Himanshu Dangwal
  • NEWBIE
  • 10 Points
  • Member since 2018
  • Software Engineer
  • Webkul Software Pvt Ltd

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hello All pro developers,

Case:
I am a nested component tree structure by dynamically rendering components. To create component I used below default method (Aura):
$A.createComponent( type, params, callback );

Structure to achive:

parentA.cmp
|----AChildLvL1.cmp
|    |------ALvL1SubChild1.cmp
|    |------ALvL1SubChild2.cmp
|----BChildLvL2.cmp
|    |------BLvL2SubChild1.cmp
|    |------BLvL2SubChild2.cmp

In above patern I am dynamically create component AChildLvL1.cmp/BChildLvL2.cmp and based on further condition their child component are being rendered.

Problem: 

Component is not able to render dynamically. in below conditions:
1. In lightning add builder view it is not able to render dynamically. 
2. Same is being replicating whenever I am pushing same code in my unmanaged package and installing it in different org. 
        After installing package I'm facing same issue.

Please let me know if anyone is aware of the reason, any help would be appreciated.


Regards-
Himanshu Dangwal





 

Hi Everyone

I have a problem & I'm unable to resolve, please help 

How to show contentDocument on Site/Community
The link  "/sfc/servlet.shepherd/version/download/{ID}" works fine from the Org domain, but its not working for the Community domain. The error I receive is that the https://prnt.sc/pbnml6. I've tried also "/lightning/r/ContentDocument/{ID}/view" but getting sale issue.

 

Hello All pro developers,

Case:
I am a nested component tree structure by dynamically rendering components. To create component I used below default method (Aura):
$A.createComponent( type, params, callback );

Structure to achive:

parentA.cmp
|----AChildLvL1.cmp
|    |------ALvL1SubChild1.cmp
|    |------ALvL1SubChild2.cmp
|----BChildLvL2.cmp
|    |------BLvL2SubChild1.cmp
|    |------BLvL2SubChild2.cmp

In above patern I am dynamically create component AChildLvL1.cmp/BChildLvL2.cmp and based on further condition their child component are being rendered.

Problem: 

Component is not able to render dynamically. in below conditions:
1. In lightning add builder view it is not able to render dynamically. 
2. Same is being replicating whenever I am pushing same code in my unmanaged package and installing it in different org. 
        After installing package I'm facing same issue.

Please let me know if anyone is aware of the reason, any help would be appreciated.


Regards-
Himanshu Dangwal