• Bhuvaneswary R
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I am developing a Lightning Component which I want to add to any Salesforce object. I need to get Child records of the current record in my Apex controller. It is something similar to Related List Standard component we have. 
For Eg: If I open an opportunity record, I need to get all Opportunity Products associated to this Opportunity in my Lightning component.
I am facing challenge here as I can add this component to any Salesforce object and Object Name, Type, RelatioshipName are dynamic.
I am working on an application using VF and Lightning Design System, which is great btw, but I am having trouble finding best practices around leveraging wireframe stencils while waiting for page loads.  I am able to do this using react.js and jquery however I can't find any real best practices for it.  I find it strange that Salesforce discusses using stencils but there is no documentation to look at while implementing.  Does anyone have any examples or best practices around this topic?