RE: CRM Portal - how to load case edit entity form by ticketnumber instead of guid
Hi
The {% entityform %} tag accepts only the name or guid of the entity form as parameter, you can't really set the "target" record id there
is there any reason that you need to pass the ticketnumber instead of the GUID?
you can bypass this with the following:
- your first web page takes the ticketnumber, there is no entity form related
- via custom page template/web template, you add a liquid code to retrieve the case GUID via FetchXML
- now make a redirect to another web page, passing the case GUID as parameter
- this page would contain the association with the Entity Form
now, this would have an additional Fetch/Retrieve Multiple plus a redirect.. you would be loosing a bit of performance and UX here
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
We highly recommend users to migrate to PowerUsers community for new Portal questions:
powerusers.microsoft.com/.../PowerAppsPortals