
I am trying to open at form and pre-populate a lookup field using Xrm.Navigation.navigateTo
This piece of code is being used to create the relationship, however it is not displaying anything.
pageInput.relationship = {
attributeName: "crd80_caseloadreview",
navigationPropertyName: thisRecordName,
name: "crd80_task_CaseLoadReview_crd80_caseloadreview",
relationshipType: 0,
roleType: 1
}
https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/xrm-navigation/navigateto is not very informative.
Hello Martin,
Can you please elaborate on your scenario? Am I right that you try to open the new record form and populate the lookup? In this case Xrm.Navigation.openForm is the better candidate for it - learn.microsoft.com/.../openform