I can't help with the App Within Minutes part, as I'm not very familiar
with it - I'm sure someone who knows more than me (ie anyone) could tell
you if you need to be creating a page or just creating an object on a page.

But, if "make the controls appear" ends up meaning that you need to add an
object of a certain class to a page, you just make a POST request to:
http://yoursite.com/rest/wikis/
<wikiname>/spaces/<spacename>/pages/<pagename>/objects

containing XML similar to this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<object xmlns="http://www.xwiki.org";>
<className>Space.YourClass</className>
<property name="propertyname"><value>propertyvalue</value></property>
</object>

That should create an object on your page of the specified class - the
response will include the XML representation of that object.

Alternately, if you just need your new page to include the page with the
app code, you can create a new page and modify the contents to contain the
{{include}} macro...

Hope that helps, at least until someone who knows what they're talking
about comes along...



On Tue, Jul 22, 2014 at 4:23 PM, Jason Clemons <[email protected]>
wrote:

> Hello all,
>
> I've created an "App Within Minutes" application we are using for some
> reporting and issue tracking which is pretty much done now, but I need a
> way to create a page in the application with an API call.  I've seen tons
> of information on creating pages or modifying pages and I can get that to
> work pretty well, but when I create a page in the application space I don't
> know how to make the controls appear and the page doesn't show up I'm the
> application home page (grid).
>
> I'm sure I'm approaching this the wrong way as I'm creating a page from
> scratch where I'm pretty sure I should be creating an instance of the page
> class, but I'm not sure where to start with that.
>
> Does anyone have any links or tips or leads on where I would start looking
> for something like that?
>
> All help is greatly appreciated,
>
> Thanks in advance
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to