Hi,
I'm wondering if it's possible, to have prefetched lookup value that I get from external list?
At first i get currentUser email through PnP, then I filter the employee list with this email and then i get the item.
From this item I want to take "InvertNameAndGID" and set it as:
fd.control('lookUser').value = userData.InvertNameAndGID;
when form is initialized, so it is pre-written and also could be changed, if user isn't same as requestor. And also on the lookup value are depended extra fields, that I'm using for other columns.
Any sugestions please? Or is there any cleaner way? Thx in advance!
First image is how it works now, second image is desired effect what I want to see when form is incialized.
![image](https://community.plumsail.com/uploads/default/original/2X/8/8bb81c2a459eba59457533e9f1e6a54ee966933c.png)