Re: [xwiki-users] Livetable URL Question

2016-06-30 Thread Vincent Massol
Hi Jeff,

> On 01 Jul 2016, at 03:33, Jeff Cyre  wrote:
> 
> I am looking to have a link in an object property.
> 
> I have an object like the following
> 
> Name : string
> 
> Description : string
> 
> SupportPage : string
> 
> 
> 
> The SupportPage should be a link to another page with more information (in
> the wiki)

You should use a “Page” xobject propery instead (see 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel).

Thanks
-Vincent

> Next I want a livetable that will display that with a clickable link.
> 
> For column properties the Livetable says the following
> 
> --
> 
> link The type of link to use for this column. Can be one of:
> 
> •auto: link to the URL provided by the _url row property from
> the JSON results; falls back on the doc_url property
> 
> --
> 
> 
> 
> My problem is I do not know how to set the _url. so every time
> it comes back blank and then defaults to the doc_url.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Livetable URL Question

2016-06-30 Thread Jeff Cyre
I am looking to have a link in an object property.

I have an object like the following

 Name : string

Description : string

SupportPage : string



The SupportPage should be a link to another page with more information (in
the wiki)

Next I want a livetable that will display that with a clickable link.

For column properties the Livetable says the following

--

link The type of link to use for this column. Can be one of:

•auto: link to the URL provided by the _url row property from
the JSON results; falls back on the doc_url property

 --



My problem is I do not know how to set the _url. so every time
it comes back blank and then defaults to the doc_url.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users