Situation:
Opportunity Skuid detail
Custom object titled Domain that looks up to the Account
Custom junction object titled Opportunity to Domain that looks up to Opportunity and Domain
What’s currently happening:
I have a popup that a user must first create a Domain record, and then they copy that record to the junction object (using a multiple action that creates a new row pulling the Domain and Opportunity). An Opportunity cannot be closed won without at least one junction object.
When they’ve added the record to the junction object, it is still visible. This can be confusing if there are many domains.
If I refresh the page, it works how I want it to. The Domains that have been added to the junction object are no longer visible on the Domain object.
What I’d Like to Happen:
The moment someone clicks the green up arrow (this adds the Domain on the bottom table to the junction table on the top), that record is no longer visible on the Domain table. If they remove it from the top table, it should be visible again on the bottom.
Current Process:
On my domain model, I have a condition using a subquery: Domain__c records where Id is not in the set of values specified by returning Domain__c values from a subquery on the Opportunity_to_Domain_App__c object.
Clearly that’s working, it’s just not rendering as I add/remove records from the junction object. Any ideas how to get this to work? Perhaps some way to make the Domain object refresh on its own, or something to that effect?
Let me know if I need to clarify anything.
Thanks!
Dylan