8
Currently in offline mode when you create a child record from a parent record, the only field that gets mapped to the child is the parent's lookup field. All other fields mappings are not honoured. Please add support for field mapping in offline mode.
STATUS DETAILS
Needs Votes

Comments

M

Yes, we are trying to achieve the same thing. We have a bunch of automatic record creation processes which we need to work offline as well as online. Even using the "createFromEntity" option in the "openForm" function is only honoured (that is mapping default fields) in online mode. It would be greatly appreciated for this to work in offline mode.


//The following only initialises the child record with default values in online mode:
var entityFormOptions = {};
entityFormOptions["entityName"] = childEntityName;
entityFormOptions["createFromEntity"] = formContext.data.entity.getEntityReference();

Xrm.Navigation.openForm(entityFormOptions);

Category: Mobile Application