Forum Discussion
lantonio1974
Apr 22, 2021Copper Contributor
SPFX Get Lookup Field Value
Hi, I am new to SPFX and I am having some problems getting the values from a lookup field on a list. Here is the code I am using for testing: //Here "My List" is Sharepoint list
pnp.sp...
ganeshsanap
Apr 23, 2021MVP
Do you want to display images and URL's from same list ("My List") or the lookup list where the lookup fields are being stored?
If you are trying to show the fields from lookup list then it is not possible to expand the Image/URL columns as lookup columns only supports below column types:
- Single line of text
- Number
- Date and Time
Check below documentation for Supported & Unsupported Column Types:
Create list relationships by using unique and lookup columns
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.