Create a design document with Java?


How do I create a design document (or for that matter a view) using the Java API?
I found this link… but it doesn’t explain what to do when the return is false (it failed) in order to get more detail. Ideas?


This is not yet part of the documentation, this is something that will be added soon.
However you can find some informations here:


+1 on that blog post. I used it with good success. Just know, the view won’t be ready to use immediately. See this question for tips on working around that if you need to use the view right away.