thank you for reading; my problem is:
I want to retrieve the values of the column "GroupWithPriority". That column is a Look Up from other list.
When I try to get the value, all I get is "GroupWithPriorityId" that gives only a number when I want to get the text... is it possible to do what I want?
I want to get "Group 1" but instead I get
I have already reached a lot and I found nothing :c
I would appreciate your response even if that means that there is no way to do what I want, thank you
My retrievement code looks something like this:
this.context.spHttpClient.get(requestUrl, SPHttpClient.configurations.v1)
.then((response: SPHttpClientResponse) => {
if (response.ok) {
response.json().then((responseJSON) => {
if (responseJSON!=null && responseJSON.value!=null){
console.log(responseJSON.value);
}
});
}
});