AI OnAI Off
Nov 16, 2016
Feb 21, 2017
Core
Closed, Acceptance tests pass
The current Forms Autofill API mechanism assumes that it does not need to know about which Forms/FormElements are being filled. It only knows about the remote-system-side.
DataElementBlockBase.GetAutofillValues()
Call _autofillService.Service.GetSuggestedValues(selectedDatasource, mappingKeys);
Then call
AutofillProvider.GetSuggestedValues(datasource, remoteFieldInfos))
The DataElementBlockBase knows about its OwnerForm, but does not provide that information to Autofill.
As a result of this story, more context is given to the Provider.
Note: Autofill API is still in internal beta mode. So, Episerver did not increase the version number as we normally would when introducing a breaking change.