How to connect CCM with the database ?
One answer
The database connection is managed by the server. The table creation is done during the setup and documented in the online help.
Although I have seen that it is possible to add extensions to the storage model and store your own data in the DB, I can't find it anymore in the Wiki: https://jazz.net/wiki/bin/view/Main/RtcSdk20 .
I would suggest not to try to do this in any case, as there are possible implications on upgrade scenarios.
If you want to store data, I would rather suggest to create your own database and manage that connection in your extension.
Although I have seen that it is possible to add extensions to the storage model and store your own data in the DB, I can't find it anymore in the Wiki: https://jazz.net/wiki/bin/view/Main/RtcSdk20 .
I would suggest not to try to do this in any case, as there are possible implications on upgrade scenarios.
If you want to store data, I would rather suggest to create your own database and manage that connection in your extension.
Comments
Thanks Ralph,
Means I have to download any database and connect it with the existing site by extension.
If you want to store your own data in a database, I think that is what you should do. I would however use the Database Management System you already have, create a database there and use that.
If the data is not too complex, you could try to use a string attribute. You can also use HTTP filtered value providers in this context. The data would be stored in an XML file accessible via a HTTP server such as Apache.
See https://jazz.net/library/article/1093 Lab 5 for examples.