web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Field Service forum / Unable to Fetch User L...
Field Service forum

Unable to Fetch User Lookup id during data import in Plugin

(0) ShareShare
ReportReport
Posted on by

Hi Experts,


I am importing Sales Geography Entity data through Data import wizard in Dynamics 365. I registered a Plugin on Pre Operation Create which will fetch the "User Lookup id" from "Primary responsible Lookup field" during Data import and create a Team and assign the respective team to Sales Geography Entity record.

I have given the User Full name in "Primary responsible Lookup field" in Data import excel sheet. During data import I am not getting the respective GUID of the user in Pre Operation Plugin and so team is not getting created and assigned due to Team Creation failed due to empty primary responsible.

If I create the same record manually then there is no issue - Pre Operation Plugin triggers and Team is getting created and assigned successfully. I have changed the Pre-Operation to Post-Operation and given Admin level Privilege to the respective Primary responsible user but also getting null value from Primary responsible Lookup field

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Field Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans