Hot answers tagged

2

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 ...


1

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.


1

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 https://github.com/TechToThePeople/privacier


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