Power-Maverick / DataverseDevTools-VSCode

The all-in-one tool to develop code for Dataverse/Dynamics 365. Helps you connect to a Dataverse environment, generate TypeScript definitions for entities, create a different type of Dataverse-specific projects, and much more.
https://marketplace.visualstudio.com/items?itemName=danish-naglekar.dataverse-devtools
MIT License
55 stars 15 forks source link

[Feature]: Generated type extend to entity type #124

Closed kalluu-ck closed 10 months ago

kalluu-ck commented 1 year ago

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

power-maverick-bot[bot] commented 1 year 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.

github-actions[bot] commented 11 months ago

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.

github-actions[bot] commented 10 months ago

This issue was closed because it has been stalled for 5 days with no activity.