Comments (6)
Hi there -
Which version of the SDK were you on previously? And did you update to latest or insider?
from windows-admin-center-sdk.
Updated to the latest:
"@microsoft/windows-admin-center-sdk": "latest"
Previous version was
"version": "0.856.0"
Now it is:
"version": "1.278.0"
Also, we've noticed that angular version was changed from 5.1.2 to 7.1.1
from windows-admin-center-sdk.
Yes, that was a really big change. A very fundamental platform update, which did cause a lot of update work.
My suggestion would be to use the CLI to create a new project and them move your functional components from the old project into the new.
Also check out this document on migrating.
from windows-admin-center-sdk.
Great document! Thanks. Also msft.sme.shell.devguide is awesome.
Have read all. Last point here, previous document Connection Provider example code sample was:
public onSubmit() {
let connections: Connection[] = [];
let connection = <Connection> {
id: ConnectionUtility.createConnectionId(this.connectionType, this.newConnectionName),
type: this.connectionType,
name: this.newConnectionName
};
connections.push(connection);
this.appContextService.rpc.updateData(
EnvironmentModule.nameOfShell,
'##',
<RpcUpdateData> {
results: {
connections: connections,
credentials: null
}
}
);
}
public onCancel() {
this.appContextService.rpc.updateData(
EnvironmentModule.nameOfShell, '##', <RpcUpdateData>{ results: { connections: [] } });
}
It should be replaced with:
public onSubmit() {
const connection = <Connection> {
id: ConnectionUtility.createConnectionId(this.connectionType, this.newConnectionName),
type: this.connectionType,
name: this.newConnectionName
};
this.appContextService.connectionManager.addOrUpdateConnection(connection);
// TODO how to close dialog?
}
public onCancel() {
// TODO how to close dialog?
}
Is it correct? If so, how this dialog can be closed?
It's the last migration problem, all other were migrated perfect.
from windows-admin-center-sdk.
Yes, that was a really big change. A very fundamental platform update, which did cause a lot of update work.
My suggestion would be to use the CLI to create a new project and them move your functional components from the old project into the new.
Also check out this document on migrating.
That link no longer works, getting 404 error. I do remember seeing that link a year ago but back then I was not working on the project.
from windows-admin-center-sdk.
// TODO how to close dialog?
Out of curiosity, how did you close the dialog(s)?
from windows-admin-center-sdk.
Related Issues (20)
- Windows Admin Center SDK still active? HOT 7
- WAC app can't start after deploying the GatewayPluginSample DLL HOT 4
- Gateway plugin example fails when built with .Net 472 HOT 1
- Documentation on how to use the sme- controls and styles HOT 5
- The Wizard control is not adhering to the documentation HOT 1
- Where are the developer tools? HOT 1
- run jest case fail with wac sdk 2.166.0
- How to make gateway plugin support https HOT 1
- Build Gateway plugin under .net5 can work HOT 2
- not compiling! Old dependencies?!!? HOT 1
- This repo is missing important files HOT 3
- Will this SDK ever get fixed? HOT 2
- Line 17 Link is pointing to 404 README.md
- Provide the completed example of the extension as per documentation HOT 1
- can't compile the sample project
- Open source the angular component inside the sdk HOT 1
- Form field orientation HOT 1
- not able to load my extension HOT 9
- How can extensions be marked as incompatible with specific WAC Versions?
- How can we modify WAC Angular components?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-admin-center-sdk.