Hey! I have a list of contacts (Remote object), with a Many-to-Many relationship to the Case object. Any contacts added to the case are automatically given this relationship. When a letter is sent out, all linked contacts are given an additional relationship back to the same case (by matching) to establish that they have been sent the letter. This part works!
However, I now want to achieve two things:
- Make any contacts that have been sent the letter read-only. Attempted to control this with a subset, but since the contacts list and the subset are both rooted in the contacts object, it seems that a viable link back to any case (not just the case that’s open on the page) has the contact set as read-only for every case.
- Hide elements of the case page until all linked contacts have been sent the letter. As the above subset didn’t work, this also doesn’t work.
I’m aware I can extract the page context if I take this into code, but I want to check if there’s already built-in functionality in Liberty Create for this kind of setup. I’d appreciate any insight on this problem!