On 22 Sep 2016, at 14:29, Chitnis, Xavier
<Xavier.Chitnis(a)rmh.nhs.uk> wrote:
Hello,
I work in a hospital information department, and we provide data to many people within
the organisation. I would like to create a list of requests from users for data. Ideally,
it would be very helpful if we could assign each record a number or ID that we can use
elsewhere, e.g. in the SQL queries that we write, so that it is easy to go back to the
details of a request. We could do this manually, but that is obviously prone to error.
The example in the issue Marius linked to would be ideal, if that were possible in
future.
Kind regards,
Xavier
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] On Behalf Of Vincent Massol
Sent: 22 September 2016 12:00
To: XWiki Users
Subject: Re: [xwiki-users] Livetable counter or unique id?
On 21 Sep 2016, at 20:41, Chitnis, Xavier
<Xavier.Chitnis(a)rmh.nhs.uk> wrote:
Hello,
I am a new user of XWiki and am just starting to explore its functionality. I've
searched for an answer this question but haven't found anything yet.
I have created an application (which allows me to record details of requests received
from other parts of my organisation), and have entries displayed in a livetable. Is there
a way of adding a counter or unique ID field to the application and livetable display?
This would make it much easier to refer back and find entries. I can't see a
"doc." property that would enable me to do this.
Many thanks in advance for any assistance.
As Marius said, there’s no counter. However you could use the page full name as the
unique id (don’t know what your needs are though).
Thanks
-Vincent
Xavier
________________________