• Navanit Kamble
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
I'm getting this error:
User-added image
And I don't have a clue why, any insights/help?  The xml is below with everything it says to check being, to my knowledge, correct.  The review does work, if I enter one and press the submit button it does save and change the tab.
 
    <aura:attribute name="review" type="BoatReview__c" access="private" />
    <aura:attribute name="boatReview" type="BoatReview__c" access="private" />
    <aura:attribute name="recordError" type="String" access="private" />
    
    <force:recordData aura:id="service"
                      layoutType="FULL"
                      fields="Id,Name,Comment__c,Boat__c"
                      mode="EDIT"
                      targetRecord="{!v.review}"
                      targetFields="{!v.boatReview}"
                      targetError="{!v.recordError}" />
    
    <lightning:layout verticalAlign="start" multipleRows="true">
        <Lightning:layoutItem flexibility="auto" padding="around-small">

            <lightning:input name="reviewtitle" label="Title" value="{!v.boatReview.Name}" />

        </Lightning:layoutItem>
        <Lightning:layoutItem flexibility="auto" padding="around-small">
            <label>Description</label>
            <lightning:inputRichText aura:id="reviewcomment" value="{!v.boatReview.Comment__c}" />
        </Lightning:layoutItem>
        <Lightning:layoutItem flexibility="auto" padding="around-small">
            &nbsp;rating&nbsp;
        </Lightning:layoutItem>
        <Lightning:layoutItem flexibility="auto" padding="around-small">
            <lightning:button iconName="utility:save" onclick="{!c.onSave}" label="Submit"/>
        </Lightning:layoutItem>
    </lightning:layout>



 
All,
We have contacts that are Customer Community Users at Parent Accounts. These parent accounts have child accounts (using the standard Parent Account field we lookup to the Parent Account from the Child Account).

What is the best way to expose the cases for the community users that are at the Parent Account so that they see the cases created by users in the Child Accounts? There are lots of discussions on this for the old Customer Portal... but thing's have changed for the Community.