Closed kalluu-ck closed 10 months ago
Thanks for opening your first issue here! Please make sure you have given us as much context as possible. One of the repo maintainer will respond as soon as possible.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
Is your feature request related to a problem?
No
Describe the problem?
I love using the tool so much because of its high performance and easy to use :D
Is it possible that the generated type was extended to be used with entity type as well as form context? So that WebApi would be as easy as form context to develop with.
let caseid: Xrm.LookupValue | undefined = _formContext.getAttribute("new_caseid").getValue()?.at(0);
let relatedcase: Xrm.New_case = await Xrm.WebApi.online.retrieveRecord(caseid.entityType, caseid.id);
let status = relatedcase.statuscode;
The original request from @siggipop: https://github.com/Power-Maverick/DataverseDevTools-VSCode/discussions/64