cloudsmithconsulting / cds-for-code Goto Github PK
View Code? Open in Web Editor NEWVSCode extension for working with Microsoft Common Data Service (CDS)
License: MIT License
VSCode extension for working with Microsoft Common Data Service (CDS)
License: MIT License
Hi Team,
I am connecting to onpremise version of 8.2 Dynamics 365 Customer Engagement Instance to use CDS for code and getting below issue
There were errors retreiving organizations from 'your connection': HTTP Error 401.1 - Unauthorized: Access is denied
I have provided all the credentials correctly, However still facing the issue. Can you please let me know where in the input configurations am i doing wrong?
Describe the bug
I can navigate to the folder where the file is located but I can't see the file
To Reproduce
Steps to reproduce the behavior:
Additional context
Running on MacBook Pro M1
I mostly work with webresources (javascript).
Start off by downloading the solution and unpack to a folder. Eventually I wan to get the latest version of the javascript from CRM. In this case someone has done a change, and clicked SAVE in CRM. This change does not show when I download the solution again. I have to publish the file for it to appear correctly.
So the bug is that it doesn't get the latest version saved online to my VS code.
What I would like is to get a right click and "get latest".
Performance
cds-for-code
0.8.14
Windows_NT x64 10.0.18363
1.58.2
c:\Users\RAFAEL~1.QUA\AppData\Local\Temp\CloudSmithConsulting.cds-for-code-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
The link on the privacy notice is incorrect. https://github.com/cloudsmith-consulting/cds-for-code/privacy.md does not resolve.
When I try to connect to an environment, I see the notification "Your credentials use multi-factor authentication" but in my broswer I see a tab with "localhost:3999" is opnend and closed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Open a window broswer and ask for proper authentication and MFA authentication instead of "localhost:3999" and close immidiately
When I create .js files online, I normally give them a simple name like Opportunity/Case/Account etc. I haven't used the .js ending in the file name. This means that the program doesn't recognizes it as a .js file when trying to upload. I can't right click and choose upload webresource.
From what I understand I now have to rename all javascripts for this to work. That means recreate and "remap" everywhere.
Hello everybody,
I am wondering what the current status of this awesome project is. The latest commit is almost half a year ago and unfortunately no news on your website of somewhere else. Of course I am totally aware that developing and maintaining such a project is a huge burden and even more work to do, so I think most of us (users) would understand if lack of time would be cause for the project stagnation.
Anyway, I am looking forward to a alive signal from the project maintainers along with a statement of future directions. 😎
Peter
When multiple solution patches exist in the system, which have the same "Display Name", the extension only shows the same display names. If I want to deploy a web resource to one of the patches, I cannot figure out the right patch to deploy. Can the extension use the "Name" instead?
Describe the solution you'd like
Show the logical name of the solution.
Thanks!
Type: Bug
unable to use CDS in visual code
Extension version: 0.8.14
VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:02:16.981Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: No
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (8 x 2112) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
Load (avg) | undefined |
Memory (System) | 7.78GB (0.88GB free) |
Process Argv | --crash-reporter-id 39790b25-5e1c-40e9-897b-7478e5568268 |
Screen Reader | no |
VM | 0% |
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1cf:30587006
3biah626:30602489
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
a9j8j154:30646983
6233i204:30672705
vsccsb:30677849
pythonb192:30669360
defaultazurewalk:30687958
pythonms35:30701012
Description:
It looks like you cannot authenticate until and unless you've provided username and password. I would hesitant to provide password specifically when I am working in a corp network.
Potential Resolution
1- OnPremise - Allow Integrated Auth
2- OAuth/AD/CDS Online - Allow using AD Login (wiz. Prompting for user/password consent screen)
When i am trying click on + sign to add a connect,i am getting er: command 'cs.cds.controls.cdsExplorer.addEntry' not found. Reinstalled and still getting same issue.
Describe the bug
CrmSvcUtil.md
claims that we can install the package via Install-Package CloudSmith.Cds.CrmSvcUtil
. But this fails.
Has the package been removed? -- Did it ever exist?
To Reproduce
Install-Package CloudSmith.Cds.CrmSvcUtil
).Unable to find package 'CloudSmith.Cds.CrmSvcUtil'
.Expected behavior
Following the documented steps should result in a successful package installation.
Hi, I am trying to deploy a web resource, MFA is enabled.
The solution unpacks, I can edit the resource.
When I select deploy to CDS, I get this message.
Your credentials use multi-factor authentication. You will need to authenticate interactively.
What am I supposed to do interactively?
The output shows this...
[05:33:52]: Command: cs.cds.deployment.packWebResource invocation complete
[05:33:52]: Command: cs.cds.controls.explorer.packWebResource error occurred: Cannot read property 'fsPath' of undefined
[05:33:52]: Command: cs.cds.controls.explorer.packWebResource invocation complete
[05:33:52]: OAuth: removing existing token and attempting re-authentication flow.
[05:33:52]: OAuth: Refresh token found, invoking call to acquire auth token
[05:33:52]: OAuth: HTTP 401 received
[05:33:54]: OAuth: Multi-factor authentication (MFA) required, starting browser request
[05:33:54]: Browser: http://localhost:3999/auth opened by 'opn'
[05:33:56]: OAuth: Multi-factor authentication (MFA) completed and authorization code received
[05:33:58]: OAuth: Auth code converted to token successfully
[05:33:58]: HTTP GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances (statusCode: 200, out: 0b, in: 6237b, time: 74ms)
[05:33:58]: OAuth: removing existing token and attempting re-authentication flow.
[05:33:58]: OAuth: Refresh token found, invoking call to acquire auth token
[05:33:58]: OAuth: HTTP 401 received
[05:33:59]: OAuth: Multi-factor authentication (MFA) required, starting browser request
[05:33:59]: Browser: http://localhost:3999/auth opened by 'opn'
[05:34:02]: OAuth: Multi-factor authentication (MFA) completed and authorization code received
[05:34:05]: OAuth: Auth code converted to token successfully
Thanks.
Describe the bug
When the folder with "." in the name is selected for the web resource to download upon web resource edit, nothing happens
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The script is downloaded into the selected folder.
Screenshots
N/A
Additional context
It only happens if the folder name contains "."
It is working fine when I downloaded into another sub folder without any "."
Describe the bug
CDS Explorer is not able to load the solutions from non-US environment (tested with xxx.crm6.dynamics.com) even though adding the connection and selecting the environment is working fine.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After expanding the CDS Connection and expanding the environment, CDS Explorer should show the Solutions and Applications folder of that environment. (just like how it is working for US environments xxx.crm.dynamics.com.
Failed non-US Environment just showing Loading circle
Additional context
Output log of successful and failed connections
[03:11:36]: View: cs.cds.viewContainers.cdsExplorer.createEntries: Element 'US ENV' is loading child entries.
[03:11:36]: HTTP GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances?$filter=Url%20eq%20%27https%3A%2F%2Fusenvironment.crm.dynamics.com%27 (statusCode: 200, out: 0b, in: 677b, time: 340ms)
[03:11:36]: View: cs.cds.viewContainers.cdsExplorer.createEntries: Element 'US ENV' loaded child entries. Parsed 1/1 entries (total: 347ms, retreive: 343ms;98.8%, parse: 4ms;1.2%)
[03:11:41]: HTTP GET https://usenvironment.api.crm.dynamics.com/api/data/v9.1/solutions?$select=solutionid,uniquename,friendlyname,version,ismanaged,isvisible&$filter=uniquename%20eq%20%27Active%27&$orderby=uniquename (statusCode: 200, out: 0b, in: 354b, time: 3939ms)
[03:11:44]: View: cs.cds.viewContainers.cdsExplorer.createEntries: Element 'AUS ENV' is loading child entries.
[03:11:44]: HTTP GET https://globaldisco.crm.dynamics.com/api/discovery/v2.0/Instances?$filter=Url%20eq%20%27https%3A%2F%2Fausenvironment.crm6.dynamics.com%27 (statusCode: 200, out: 0b, in: 678b, time: 295ms)
[03:11:44]: View: cs.cds.viewContainers.cdsExplorer.createEntries: Element 'AUS ENV' loaded child entries. Parsed 1/1 entries (total: 298ms, retreive: 297ms;99.7%, parse: 1ms;0.3%)
[03:11:46]: OAuth: removing existing token and attempting re-authentication flow.
[03:11:46]: OAuth: HTTP 401 received
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.