Skip to main content

We have several Markdown fields on the Service Contract screen.  We are able to show messages to users and display or hide the markdown fields based on the values in the primary entity. 

We would like to display a markdown notification to the user if data is missing in the sub entities of the service contract.  

 

For example, we want the message to show the if the count of the services on the contract is less than two. 

 

In the help page, it seems to suggest that the api.count function is only for the main entity set - has anyone had a similar requirement and been able to get a count of a sub-entity to influence the page design in this way?

@Chriswharton22 
best I can think off is to create a custom field on your “parent entity” which does a count and use that in your visibility condition?

If using an expression the conditions will be checked against the record loaded in the page, therefore the attributes used for the condition must be from the entity of the page.

 

Reply