-
Notifications
You must be signed in to change notification settings - Fork 735
MS-3808 review sdk docs #9312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MS-3808 review sdk docs #9312
Conversation
It is no longer needed in v5.
content/en/docs/apidocs-mxsdk/mxsdk/sdk-howtos/creating-your-first-script.md
Outdated
Show resolved
Hide resolved
content/en/docs/apidocs-mxsdk/mxsdk/sdk-howtos/using-platform-sdk.md
Outdated
Show resolved
Hide resolved
content/en/docs/apidocs-mxsdk/mxsdk/sdk-howtos/using-platform-sdk.md
Outdated
Show resolved
Hide resolved
...apidocs-mxsdk/mxsdk/sdk-howtos/manipulating-existing-models/closing-the-server-connection.md
Outdated
Show resolved
Hide resolved
...apidocs-mxsdk/mxsdk/sdk-howtos/manipulating-existing-models/closing-the-server-connection.md
Outdated
Show resolved
Hide resolved
...s/apidocs-mxsdk/mxsdk/sdk-howtos/manipulating-existing-models/finding-things-in-the-model.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
I have asked a couple of questions which you can see below.
Two questions:
- Do the changes you have made apply to all versions of the SDK (above 5.0) or are there specific versions where the previous code had to be used?
- There is a message at the top of https://docs.mendix.com/apidocs-mxsdk/mxsdk/ which says the versions below 5.0 will be removed in 2024. I think this needs to be updated too?
@@ -1,6 +1,6 @@ | |||
--- | |||
title: "Close the Server Connection" | |||
url: /apidocs-mxsdk/mxsdk/closing-the-server-connection/ | |||
url: /apidocs-mxsdk/mxsdk/old-closing-the-server-connection/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that there should be an indication at the top of this file as to why this URL has changed to "old" and where customers should go for the "new" close the server connection API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's entirely remove this document. This is no longer relevant and it may create confusion, all examples uses model.flushChanges()
and this is the way to go.
@@ -45,16 +49,14 @@ You can pass the following options to `createNewApp`: | |||
|
|||
If both `templateDownloadURL` and `templateId` are left blank, the app will be created using the standard blank app template in the latest Mendix version. | |||
|
|||
Here is an example for creating a Mendix app based on the [Asset Manager App](https://marketplace.mendix.com/link/component/69674) template: | |||
Here is an example for creating a Mendix app based on the [Blank GenAI App](https://marketplace.mendix.com/link/component/227934) template: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a new version of this template, so perhaps add the version we are using?
Here is an example for creating a Mendix app based on the [Blank GenAI App](https://marketplace.mendix.com/link/component/227934) template: | |
Here is an example for creating a Mendix app based on version 2.1.0 of the [Blank GenAI App](https://marketplace.mendix.com/link/component/227934) template: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This is no longer relevant, users shouls use model.flushChages() instead
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your response.
All looks good now.
OK to merge?
Spring cleaning for our model-sdk and platform-sdk docs