On Jul 15, 2014, at 2:32 PM, Milt Grinberg <[email protected]> wrote:

> I have setup in the couchbasecloud the sync function
> ```
> {
>     "interface":":4984",

That's not a sync function, that's a JSON configuration file. A sync function 
is a JavaScript function. In the config file you showed, it's "function(doc) 
{channel(doc.channels);}".

Couchbase Cloud doesn't give you direct access to the configuration file; 
that's for configuring your own instance of Sync Gateway running on your 
server. If you pasted one of those into the textfield where the sync function 
should go, it's not going to work. :(

Unfortunately Couchbase Cloud doesn't have a GUI for configuring users. You'll 
need to use the admin REST API for that (as described in the gateway docs.)

--Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/0A06C502-365D-4CAE-B896-74AF202EA1C9%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to