In the lookup field you can create a new record by selecting the New button.
Is there a way to pass data from the current form to the newly created form when there's a N:N relationship between current entity and newly created entity?
*This post is locked for comments
I managed to do this with the Window localStorage Property.
Tested it in chrome, IE11 and Edge.
Yes I did already try that but I keep getting this error when querying the target, because I have to get the value of a lookupfield in the target entity to update I in the newly created entity.
Entity entity = service.Retrieve(target.LogicalName, target.Id, new ColumnSet(true));
Unexpected exception from plug-in (Execute): System.TypeLoadException: Inheritance security rules violated while overriding member: 'Microsoft.IdentityModel.Claims.ClaimsIdentity.System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)'. Security accessibility of the overriding method must match the security accessibility of the method being overriden.
Yes but in my case there's a N:N relationship in between the 2 entities. (A-B)
On entity A I'm opening the lookup to B and click at the New button. In that new record of entity B I want to have a field X populated with the value of that field X on entity A. In customizations, mappings are not available at the N:N relationship.
are you looking for something like this? blog.fullscope.com/save-time-entering-data-into-crm-by-mapping-fields-between-records
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156