I am trying to filter a "Create related record" button to only show when a record has not already been created. I am trying to use the "Filter Criteria" on the action button and am using this FetchXML:
The FetchXML works correctly in Fetch builder (it only returns the record parent GUID if no children records exist) but is not working when put in the "Filter Criteria" for the action button. Is this a limitation of the Filter Criteria not operating on link-entities?
If you can modify Dataverse schema: Use a calculated or flag field to avoid link-entity.
If schema changes are not possible: Use JavaScript in the portal to dynamically control button visibility.
For complex relationships: Use plugins or workflows to maintain simplified logic.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.