Hot answers tagged


Afform is still in beta so I expect this functionality to improve further, but currently it does support passing in an id via the url. It keys off the af-entity name property. So if you visit your form and add ?member=123 to the end of the url string it should load contact id 123 as the "Member". In that case it will update instead of creating a ...


I finally remembered that promises return callbacks. So, instead of return result in the then of the crmApi promise, using self.user result does exactly what I need.


I wrote an extension borrowing heavily from @andrei, with a few improvements on identifying a creation vs modification of a draft Hope you find it useful

Only top voted, non community-wiki answers of a minimum length are eligible