Skip to contentBrand Logo
Learn
Discover
Help & Support
Developers
  1. Atlas
  2. Developers
  3. Developer Discussion

Forum Discussion

mdfw's avatar
mdfw
Genius
4 years ago
Solved

Community: Variable scoping in a quilt

Given a quilt that has: <component id="poodle-moth"/> <component id="dumbo-octopus"/> <component id="batfish"/> Is there a way to set a variable in component "poodle-moth" that then can be read i...
  • MohammedF's avatar
    MohammedF
    4 years ago

    mdfw 

     Having written all this, I guess one way to do this would be to wrap these three components in another component then pass them in...would that work?
    This would have been the way we suggested solving this problem. Alternatively, you could consider using the app cache or user cache (see more), but we would lean towards the composition approach you suggested.
mdfw's avatar
mdfw
Genius
4 years ago

Thanks MohammedF !

  • MohammedF's avatar
    MohammedF
    Khoros Alumni (Retired)
    4 years ago

    Happy to help!

Recent Discussions

  • jeffshurtliff's avatar
    Community Plugin SDK Compatibility
    Solved
    8 days ago
    jeffshurtliff
  • jeffshurtliff's avatar
    Cannot successfully archive message via API v2
    14 days ago
    jeffshurtliff
  • Natkinson's avatar
    Can someone walk me through authenticating and using Postman with Aurora?
    Solved
    19 days ago
    Natkinson
  • tantelyNet's avatar
    Contraint conversationlastpostime in Api graphql getmessages does not work
    19 days ago
    tantelyNet
  • sbu's avatar
    Lihium Community: Edit CSS: html{font-size:10px;-webkit-tap-highlight-color:transparent}
    19 days ago
    sbu
Community HomePrivacy PolicyHelp
Powered By Khoros