July 24, 200322 yr Anyone know if it's possible to pass a list of all open databases to a web page via CDML? I'd like to be able to view the status of FMPU and all open databases remotely via html. It seems like it should be possible but I can't find any reference here to anyone trying to do this before, but since IWP can show you all the open databses it seems CWP should be able to as well. I could be wrong, though, because if it was possible then the web pages that come with the Web Security database would contain a drop-down list of databases to edit the permissions on and I wouldn't have to type in the database name every time! Any helpful insight is apprciated.
July 24, 200322 yr CDML reference tool will get you the closes option: ================================================ Parameter(s) First parameter (optional) Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Syntax example(s) Returns the name of the current database, using an HTML file You are viewing the [FMP-CurrentDatabase: HTML] database. <!-- After processing it could look like: You are viewing the Contact.fp5 database. --> ======================================= but the keyword is "viewing " so it might not apply to what u desire...or might All the best!
July 28, 200322 yr Author Thanks, omiossec. I had already found the CDMl reference Leb i Sol mentions above, but couldn't adapt it to what i wanted. I'm not sure "FMPro?-dbnames" is going to help me either, since all I get is a list of the open dbs all strung together (i.e. "db1database2base3anotherdbfifthDataBase") Do you know if this result can be formatted somehow?
Create an account or sign in to comment