Search code examples
xpagesibm-cloudxpages-ssjs

set databaseName property for XPages app on Bluemix


I am testing the XPages runtime on Bluemix but have some questions regarding defining the datasources.

So I took the teamroom application as example. In custom control addMember.xsp as Data Source is set a Domino Document. For the application is have selected 'Other' and computed the value as followed:

bluemixContext.getDataService().findDataBaseName()

Unfortunately when I test this code (members.xsp, Add Member button) after submitting no document is created in the database.

What am I doing wrong?


Solution

  • there is a mixture in the form aliases