Metastormdefault connection string server side
Comments
-
There may be "cleaner" or better ways to handle this, but when using the default connection in a server script I've just been using null in that part of the string as null appears to imply to use the Metastorm default connection.
Mstm.SelectSql(null,"SELECT...");
0 -
Do you have a code example of how exactly you are achieving this? That would be very helpful.
0 -
There are loads of examples in our free solutions (link below). We always use null when using SelectSql() in code as it is quicker and easier.
I am confused by the response to your question, however. You were after the connection string, not a Metastorm connection itself. I assumed that you wanted to use this 'outside' of Metastorm, otherwise a connection would be the obvious thing to use. Perhaps I am missing something.
0 -
I am trying to use the connection string in a server side script. The null is what is being return when I look at the connection string value.
0 -
Hi
As I understand, you want to use MetastormDefault connectionstring property, to establish new conection from C# and run some custom ADO.NET code on MetastormDatabase.
I found the same as you, thak this property is not initialized, and you cannot use it I think this colud be bug.
Regards
Grzegorz
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 155 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories