Brand LogoSkip to content
Learn
Discover
Help & Support
Developers
  1. Atlas
  2. Developers
  3. Developer Discussion

Forum Discussion

mdfw's avatar
mdfw
Genius
3 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
    3 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
3 years ago

Thanks MohammedF !

MohammedF's avatar
MohammedF
Moderator
3 years ago

Happy to help!

Recent Discussions

  • tbishop's avatar
    Freezing Kudos on a Topic on Classic
    4 days ago
    tbishop
  • jenbrowns's avatar
    Badges for returning members
    8 days ago
    jenbrowns
  • ldavid's avatar
    Session Key auth 302 Failure
    10 days ago
    ldavid
  • Parvez_AL's avatar
    Integrating Adobe Analytics to Community
    10 days ago
    Parvez_AL
  • allensmith81's avatar
    QraphQL Missing constraint on the messages collection
    19 days ago
    allensmith81
Community HomePrivacy PolicyHelp
Powered By Khoros