1

I have an LWC that needs to use a value from a (hierarchy) custom settings object, when available.

I know I can write an Apex method and call it via a wire to address this, but I was hoping to find an @salesforce import module or uiRecordApi wire that would provide this ability in a more out-of-the-box manner.

It looks like writing my own Apex method is the only viable approach, which is a shame, but thought I'd float the question just in case someone found something I could use that the documentation doesn't cover properly.

2

This has been the case since aura days, unfortunately, there is no way in LWC/Aura to get Hierarchical CS.

I have raised this idea few years back which you can upvote: https://success.salesforce.com/ideaView?id=0873A000000E4vkQAC

  • I raised an idea too, but not two years back. Perhaps you could vote for mine as well :) – Phil W Nov 29 '19 at 10:23
  • @PhilW upvoted. Hope this get's implemented next release – Pranay Jaiswal Nov 29 '19 at 19:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.