Hi Sylvain,
On 23 Sep 2015 at 13:05:18, Thomas Mortagne
(thomas.morta...@xwiki.com(mailto:thomas.morta...@xwiki.com)) wrote:
> Unfortunately extracting the year of a date field is not supported by
> XWQL. See http://jira.xwiki.org/browse/XWIKI-6645.
As a workaround you could maybe use HQL,
Unfortunately extracting the year of a date field is not supported by
XWQL. See http://jira.xwiki.org/browse/XWIKI-6645.
On Wed, Sep 23, 2015 at 12:01 PM, Sylvain MARIE
wrote:
> Hello,
>
> The following query counts documents by publication date.
> {{velocity}}
> ##
Hello,
The following query counts documents by publication date.
{{velocity}}
## Count all publication dates
#set($results=$services.query.xwql("select guide.DocumentDate,
count(guide.DocumentDate) from Document doc, doc.object(BIMGuides.GuideClass)
as guide group by guide.DocumentDate order by
> > Vincent wrote:
> > > {{velocity}}
> > > #if("$!{request.xpage}" != 'plain')
> > > $response.sendRedirect() #else
> > > Hello world!
> > > #end
> > > {{/velocity}}
> > >
> >
> > Thanks again for the quick response. That's a good suggestion, but I think
> loses any query parameters that I'd
Hi Bryn,
On 23 Sep 2015 at 07:48:15, Bryn Jeffries
(bryn.jeffr...@sydney.edu.au(mailto:bryn.jeffr...@sydney.edu.au)) wrote:
> I have several scripts (Groovy and Velocity) that generate output that should
> not be rendered as a Wiki page. This is necessary, for example, when
> rendering JSON.
On Wed, Sep 23, 2015 at 9:27 AM, Bryn Jeffries
wrote:
> I wrote:
>>> I have several scripts (Groovy and Velocity) that generate output that
>>> should not be rendered as a Wiki page. This is necessary, for example, when
>>> rendering JSON. As documented before
>>>
On Wed, Sep 23, 2015 at 4:42 AM, Debajit Adhikary wrote:
> Thanks, I was able to set it up successfully.
>
> I want to check if the currently logged-in user ($xwiki.getUser()) is a
> member of a particular LDAP group. What is the best way to do this with the
> "Trusted LDAP"
I wrote:
>> I have several scripts (Groovy and Velocity) that generate output that
>> should not be rendered as a Wiki page. This is necessary, for example, when
>> rendering JSON. As documented before
>> (http://extensions.xwiki.org/xwiki/bin/view/Extension/Output+JSON) , it's
>> possible to
On 23 Sep 2015 at 09:27:36, Bryn Jeffries
(bryn.jeffr...@sydney.edu.au(mailto:bryn.jeffr...@sydney.edu.au)) wrote:
> I wrote:
> >> I have several scripts (Groovy and Velocity) that generate output that
> >> should not be rendered as a Wiki page. This is necessary, for example,
> >> when
On Tue, Sep 22, 2015 at 6:52 PM, Mohit Gupta wrote:
> Yes its hardcoded in init.vm. It works fine after installing 7.2 version.
> But looks like some issue is there with Admin rights as I installed one
> application i.e bulletin board but when i try to add category it gives me
Vincent wrote:
> {{velocity}}
> #if("$!{request.xpage}" != 'plain')
> $response.sendRedirect($doc.getURL('view', 'xpage=plain')) #else
> Hello world!
> #end
> {{/velocity}}
>
Thanks again for the quick response. That's a good suggestion, but I think
loses any query parameters that I'd
On 23 Sep 2015 at 09:55:29, Bryn Jeffries
(bryn.jeffr...@sydney.edu.au(mailto:bryn.jeffr...@sydney.edu.au)) wrote:
> Vincent wrote:
> > {{velocity}}
> > #if("$!{request.xpage}" != 'plain')
> > $response.sendRedirect($doc.getURL('view', 'xpage=plain')) #else
> > Hello world!
> > #end
> >
Thanks for the clarification, Thomas.
Does LDAP group syncing work with Trusted LDAP?
(I am able to log in using Trusted LDAP, and can see my LDAP details like
full-name and email address show up, but I am not able to get LDAP
group_mapping to work at all — so I'd like to confirm if it would
13 matches
Mail list logo