Jump to content

This topic is 7865 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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 laugh.gif

All the best!

Posted

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?

This topic is 7865 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.