Restricting Searchable Selector Options Based on Previous Selection
0
I have such a domain model in Mendix. First, I will select the publisher (which means library entity). Then, I will be able to select the NewSource (Publication Source Name) associated with that publisher. Finally, I will be able to select the SourceSubtitle associated with the NewSource. I cannot select the SourceSubtitle without selecting the NewSource ; and I cannot select the NewSource without selecting the Publisher (Library Entity). That's the structure. Can you check the associations between them. What should I write in the XPath of the publisher, source name, and source subtitle textboxes, respectively, to ensure this condition? I didn't add Xpath to first one but tried to add [XRM.Library_NewSource/XRM.Library/XRM.Library_Publisher= '[%CurrentObject%]'] to Publication Source Name (NewSource) but this time, I can't see any NewSources. In short, I don't want to see the entire SourceSubtitle. I want to see the SourceSubtitles associated with a specific NewSource object. Similarly, I want to see the NewSources associated with a specific Library object. What should I do?
asked
AYBERK AKBALIK
1 answers
0
Because the association was not committed, it's not yet updated in the database. A better approach is to fetch the data by the type "Association," which will retrieve the most current information from memory.