Skip to content

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

Merged
merged 17 commits into from
Apr 17, 2025

Conversation

platrofa
Copy link
Contributor

@platrofa platrofa commented Apr 4, 2025

Spring cleaning for our model-sdk and platform-sdk docs

@platrofa platrofa marked this pull request as ready for review April 7, 2025 15:12
Copy link
Collaborator

@MarkvanMents MarkvanMents left a 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:

  1. 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?
  2. 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?
    image

@@ -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/
Copy link
Collaborator

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.

Copy link
Contributor

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:
Copy link
Collaborator

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?

Suggested change
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:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ModelingServices
Copy link
Contributor

Looks good. I have asked a couple of questions which you can see below. Two questions:

  1. 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?
  2. 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?
    image
  1. The changes apply to all versions of the SDK (above 5.0), some snippets were v4.0 specific but anything below 5.0 is now deprecated.
  2. The warning is now updated, anything below 5.0 is deprecated

Copy link
Collaborator

@MarkvanMents MarkvanMents left a 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?

@MarkvanMents MarkvanMents merged commit 72fb98f into mendix:development Apr 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants