Cancel
Showing results for 
Search instead for 
Did you mean: 

How to push a Mendix app to MindSphere?

Experimenter
Experimenter

Mendix (the low-code platform that Siemens recently acquired) allows to push apps directly to Cloud Foundry from within the Mendix Desktop Modeler. 

https://docs.mendix.com/deployment/cloud-foundry/

 

Theoretically this should work elegantly with MindSphere I guess, since MindSphere uses Cloud Foundry as well.

 

I tried it but ran into issues because

- the Mendix Cloud Foundry settings (in the free Mendix version, Mendix Desktop Modeler 7.18.0) do not seem to support the option to connect to https://api.cf.eu1.mindsphere.io via a webkey.

I tried other options as well that do not seem to work either:

- A manual push via CF CLI command line does not work because MindSphere does not support the Mendix buildpack *.mdk. 

- Mendix does not seem to support exporting a binary file.

 

Any advice on how to push a Mendix App to MindSphere would be very much appreciated.

 

Thank you!

8 REPLIES 8

Re: How to push a Mendix app to MindSphere?

Siemens Genius Siemens Genius
Siemens Genius

Hi @SabineR,

 

at the moment MindSphere does not support the pushing of Mendix applications. But of course we are working on the integration of those. Once this is supported we are going to update our documentation and announce it officially.

 

Regards,

Michael

Re: How to push a Mendix app to MindSphere?

Experimenter
Experimenter

@MichaelE wrote:

Hi @SabineR,

 

at the moment MindSphere does not support the pushing of Mendix applications. But of course we are working on the integration of those. Once this is supported we are going to update our documentation and announce it officially.

 

Regards,

Michael


Thank you for your quick response @MichaelE. May I ask if there is an estimate around which time this feature is expected to become available? Within this calendar year? Thank you. Best, Sabine

Re: How to push a Mendix app to MindSphere?

Creator
Creator

Is there any progress on that? When can we expect some?

 

Regards,

Ivan

Re: How to push a Mendix app to MindSphere?

Experimenter
Experimenter

Guidance on how to push a Mendix app to MindSphere:

 

MindSphere:

 

“How to” providing step-by-step guidance on, e.g.,

  • Deploying a Mendix App to MindSphere
  • Use Starter App and MindSphereTheme Pack
  • Implement Single Sign-On
  • Integrate MindSphere OS Bar

https://developer.mindsphere.io/howto/howto-app-mendix.html

 

Mendix:

 

Documentation

https://docs.mendix.com/developerportal/deploy/deploying-to-mindsphere

 

Sample applications

Sample connectors

  • Single Sign On: This connector allows MindSphere end-users to get access to the deployed Mendix Application within the Launchpad of MindSphere.
  • OSBarConnector: This connector enables Developers to integrate the MindSphere OS Bar into their Apps
  • UI Theme Package: To ensure the Mendix Application has the correct fit within the MindSphere Dashboard some UI optimizations are required

Re: How to push a Mendix app to MindSphere?

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Hi,

 

I am stuggling with the below error, can you please guide me on the same.

Please check the screenshot..

 

Error - 

Unable to fetch application credentials.

Resoponse Code.

Re: How to push a Mendix app to MindSphere?

Creator
Creator

Hi @Dineshb

Seems like the REST call is not able to aproach the  POST operation. Are you in Europe, if not - have you configured the MindGateURL( see the attached picture)? 

 

 

Re: How to push a Mendix app to MindSphere?

Creator
Creator

Hi @IvanMS,

 

I have the same problem, I can not access the MindSphere API from my mendix app running in the local development enviroment.  I have generated a app credential with read/write access and entered this in the configuration form. But every time I got a timeout message. 

 

My MindSphere SSO configuration:

 

PublicKeyURL: https://core.piam.eu1.mindsphere.io/token_keys

MindGateURL: https://gateway.eu1.mindsphere.io

 

My application is hosted in a eu1 tenant.

 

Regards,

Ingo

 

 

Re: How to push a Mendix app to MindSphere?

Creator
Creator

I have found the issue, the PublicKeyURL link is wrong,it works with following link:

https://gateway.eu1.mindsphere.io/api/technicaltokenmanager/v3/oauth/token

And keep in mind, that the corporate network can block the HTTP Post command.