Re: [xwiki-users] Livetable counter or unique id?
Hi, I would see a couple of options of doing it yourself: 1) Add an ID property to your class and write a java event listener that assigns it when a new entry of your class is created. 1.1) Also make sure you customize your sheet to not allow users to modify that new property (i.e. remove any form element about it or set it hidden). 2) Add an ID property to your class and customize your sheet to add a hidden form element whose value you prefill with a random value (if one is not already set). 3) Customize the creation of new entries in your application so that you can generate a random document name for your entry which you can then use as ID etc. In all cases, you need to make sure that the random ID generated is sufficiently large to avoid collisions... and an existence check would also be good before using the generated ID. Whatever you do, you will still have a theoretical possibility of collision, since XWiki`s web APIs don`t really allow for transactional operations. You would have to get down and dirty to make it right, by having a script service that generates and creates, at the same time, inside the same transaction the document corresponding to your unique new entry, which you could then edit. However, if you do the basic checks and have a large enough random ID, you should be pretty safe in practice. Hope this helps, Eduard On Thu, Sep 22, 2016 at 4:16 PM, Vincent Massolwrote: > FTR someone had published this extension a long time ago: > http://extensions.xwiki.org/xwiki/bin/view/Extension/ > Unique+Identification+Number+Module > > I don’t know its state and I’ve never used it though. > > Thanks > -Vincent > > > On 22 Sep 2016, at 14:29, Chitnis, Xavier > 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-boun...@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 > 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 > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Most images not found - new installation
On Thu, Sep 22, 2016 at 10:12 PM, Polydectus84wrote: > Thomas, > > Please ignore my previous message. I decided to make this easier and > literally start from the beginning. This is exactly what I've done: > > 1. sudo apt-add-repository ppa:webupd8team/java > 2. sudo apt-get update > 3. sudo apt-get install oracle-java8-installer > 4. wget -q "http://maven.xwiki.org/public.gpg; -O- | sudo apt-key add - > sudo wget "http://maven.xwiki.org/stable/xwiki-stable.list; -P > /etc/apt/sources.list.d/ > 5. sudo apt-get update > 6. sudo apt-get install xwiki-enterprise-tomcat7-mysql > 7. /etc/default/tomcat7 > - Changed JAVA_HOME=/usr/lib/jvm/java-8-oracle > - Changed JAVA_OPTS="-Djava.awt.headless=true -Xmx512m > -XX:+UseConcMarkSweepGC" > > I have stopped there for the time being. I didn't want to change the values > in xwiki.cfg or xwiki.properties until I knew I did this much correctly. > Also, should I make the changes to xwiki.cfg and xwiki.properties before or > after running the Distribution Wizard for the first time? You need need to change anything, xwiki-enterprise-tomcat7-mysql is already doing everything properly. > > Please let me know what I should do next to change to the Filesystem storage > so I can upload files larger than 30MB. I am unsure what directory I can > use that won't clear itself out. > > Again, your help is greatly appreciated. > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332p7601336.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Most images not found - new installation
On Thu, Sep 22, 2016 at 11:14 PM, Thomas Mortagnewrote: > On Thu, Sep 22, 2016 at 10:12 PM, Polydectus84 wrote: >> Thomas, >> >> Please ignore my previous message. I decided to make this easier and >> literally start from the beginning. This is exactly what I've done: >> >> 1. sudo apt-add-repository ppa:webupd8team/java >> 2. sudo apt-get update >> 3. sudo apt-get install oracle-java8-installer >> 4. wget -q "http://maven.xwiki.org/public.gpg; -O- | sudo apt-key add - >> sudo wget "http://maven.xwiki.org/stable/xwiki-stable.list; -P >> /etc/apt/sources.list.d/ >> 5. sudo apt-get update >> 6. sudo apt-get install xwiki-enterprise-tomcat7-mysql >> 7. /etc/default/tomcat7 >> - Changed JAVA_HOME=/usr/lib/jvm/java-8-oracle >> - Changed JAVA_OPTS="-Djava.awt.headless=true -Xmx512m >> -XX:+UseConcMarkSweepGC" >> >> I have stopped there for the time being. I didn't want to change the values >> in xwiki.cfg or xwiki.properties until I knew I did this much correctly. >> Also, should I make the changes to xwiki.cfg and xwiki.properties before or >> after running the Distribution Wizard for the first time? > > You need need to change anything, xwiki-enterprise-tomcat7-mysql is > already doing everything properly. > >> >> Please let me know what I should do next to change to the Filesystem storage >> so I can upload files larger than 30MB. I am unsure what directory I can >> use that won't clear itself out. XWiki Debian packages use default attachment store, so the next move is to change for filesystem store but I don't have much experience with it. You can find documentation on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystemAttachmentStore but you probably already know it. >> >> Again, your help is greatly appreciated. >> >> >> >> -- >> View this message in context: >> http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332p7601336.html >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > > > > -- > Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Watchlist email links use localhost instead of server hostname
The watchlist mail notifications we are receiving from our xwiki server have hyperlinks to the corresponding pages, but the link starts with "http://localhost/; as opposed to the actual server hostname. How may we fix this? Thank you Mario ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Add Left Navigation to all pages
> On 21 Sep 2016, at 22:15, optimuswrote: > > Hi, > > I am trying out XWiki for my work IT dept. I have previously used MediaWiki > and I'm liking XWiki so far. Doing some basic configuration before I demo > it to my group. Can someone explain how to add a left side navigation to all > pages? If it's possible to have it auto-generate (index) pages in the wiki > and create the menu, please share ideas how I would go about doing that. FTR this is the default in XE now, see http://playground.xwiki.org. You just need to set up the Navigation Panel in the left panel area. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application#HAccesstothePanelslist (and especially http://extensions.xwiki.org/xwiki/bin/view/Extension/Panels+Application#HPanelWizard). Thanks -Vincent > Cheers, > -Chris > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Add-Left-Navigation-to-all-pages-tp7601318.html ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Nested Pages - Search Links Not Working
Hi, On Wed, Sep 21, 2016 at 11:23 PM, Keith Daviswrote: > No, that does not work either. (Tickets has a question mark by it). I'm the > links work fine like this: > > [[Tickets>>Main.Intranet.Tickets]] > Yes, please ignore that. It was a bad idea on my part. So if your page is properly created, then it`s only a display issue on the Search page. > The problem seems to only be in Search. > Then indeed, my money is on the fact that you have a badly/incompletely migrated Solr Search page. What you could do is to grab from http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-search-solr-ui/ the XAR file corresponding to the XWiki version you`re currently running (btw, what is the version?) and import it so that you can determine if that is the cause of your problem. Then you can go to either Main/Search or Main/SolrSearch (Main/Search should be including Main/SolrSearch, that is, if you are using Solr search and not something else) and search for your page. If it is now displayed properly in the results, then you should look at each imported page (or even rollback a previous backup) to figure out what happened, if there are custom changes or if the pages were simply not updated during DW. If so, you might want to look at the other apps to see if other places are affected as well. Another note on the search results, you need to get to the point where the location of your search result is displayed identically to the breadcrumbs (since the same code is reused). In your screenshot, I can see that the location of the search result does not seem to be displayed similarly to the breadcrumbs, so it`s clearly running some old code to display that. Of course, if it`s an option, re-running the migration would be one very good solution too (to make sure you don`t miss anything the second time). BTW, what version are you migrating from? (it`s generally useful to mention this information when asking for help) Hope this helps, Eduard > > On Wed, Sep 21, 2016 at 3:18 PM, Eduard Moraru > wrote: > > > On Mon, Sep 19, 2016 at 6:18 PM, Keith Davis > > > wrote: > > > > > > > > > > This means you have a space named "Main.Intranet.Tickets". That's the > > > > actual space name. It contains dots. It's not the space "Tickets" > > inside > > > > "Intranet" inside "Main". The actual link to the home page of this > > space > > > > looks like this: > > > > > > > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]] > > > > > > > > Notice how the dots inside the space name must be escaped. I don't > know > > > how > > > > you created this page but it's not a nested page/space as you > thought. > > > It's > > > > actually a top level page/space. > > > > > > > > > > We get really confused on the topic of spaces. I thought we had created > > > these correctly. We've read through the documentation many times, but I > > > guess we just don't understand the concept well enough. > > > > > > I just tried the link as you suggested and that does space / page not > > exist > > > (the link shows the question mark next to it). The only place we see > > > "Main.Intranet.Tickets" show up is in the Search results and that link > > does > > > not work. > > > > > > > Then you have probably created the Tickets page as a "terminal" page. > This > > means that the link from Marius should be: > > > > [[Tickets>>Main\.Intranet\.Tickets]] > > > > (i.e. without the ".WebHome" part since it`s not a space) > > > > Thanks, > > Eduard > > > > > > > > > > On Mon, Sep 19, 2016 at 9:41 AM, Marius Dumitru Florea < > > > mariusdumitru.flo...@xwiki.com> wrote: > > > > > > > On Mon, Sep 19, 2016 at 3:50 PM, Keith Davis < > > keithda...@pridedallas.com > > > > > > > > wrote: > > > > > > > > > Correct and here is the content of those images (forgot this > mailing > > > list > > > > > does not distribute images): > > > > > > > > > > the links appear like this in the Wiki editor: > > > > > > > > > > [[Tickets>>Main.Intranet.Tickets]] > > > > > > > > > > Search results appear like this: > > > > > > > > > > > > > > > > > > > Main.Intranet.Tickets > > > > > Located in Home » Main.Intranet.Tickets » WebHome > > > > > Last modified by Unknown User on 2016/09/19 07:48 > > > > > > > > > > > > > This means you have a space named "Main.Intranet.Tickets". That's the > > > > actual space name. It contains dots. It's not the space "Tickets" > > inside > > > > "Intranet" inside "Main". The actual link to the home page of this > > space > > > > looks like this: > > > > > > > > [[Tickets>>Main\.Intranet\.Tickets.WebHome]] > > > > > > > > Notice how the dots inside the space name must be escaped. I don't > know > > > how > > > > you created this page but it's not a nested page/space as you > thought. > > > It's > > > > actually a top level page/space. > > > > > > > > Hope this helps, > > > > Marius > > > > > > > > > > > > > the link Main.Intranet.Tickets takes me to this page: > > > > > > > >
Re: [xwiki-users] Livetable counter or unique id?
On Wed, Sep 21, 2016 at 9:41 PM, Chitnis, Xavierwrote: > 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. > There's no automatic / generated counter or id available by default (but it could be implemented). We have this issue open http://jira.xwiki.org/browse/XWIKI-7374 , which is related. > > Many thanks in advance for any assistance. > > Xavier > > > # > Attention: > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary, confidential and/or > privileged information and should not be copied, disclosed, distributed, > retained or used by any other party. If you are not an intended recipient > please notify the sender immediately and delete this e-mail (including > attachments and copies). > > The statements and opinions expressed in this e-mail are those of the > author and do not necessarily reflect those of the Royal Marsden NHS > Foundation Trust. The Trust does not take any responsibility for the > statements and opinions of the author. > > Website: http://www.royalmarsden.nhs.uk > # > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [ANN] XWiki 7.4.5 released
The XWiki development team is proud to announce the availability of XWiki 7.4.5. This is a bugfix release that fixes important bugs discovered in the 7.4.4 version. You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download Make sure to review the release notes: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki745 Thanks for your support -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Livetable counter or unique id?
> On 21 Sep 2016, at 20:41, Chitnis, Xavierwrote: > > 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Most images not found - new installation
Thank you for your quick reply Thomas. I love your software, I am just getting discouraged because of all the hiccups (likely my own fault). Where might I find this log? What directory would you recommend I use for environment.permanentDirectory in xwiki.properties ? -- View this message in context: http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332p7601335.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Most images not found - new installation
A warning in the log. On Thu, Sep 22, 2016 at 8:13 PM, Thomas Mortagnewrote: > Sounds like your permanent directory end up in a temporary folder > deleted each time XWiki restart. > > You probably have a warning at starting about that. See property > environment.permanentDirectory in xwiki.properties. > > On Thu, Sep 22, 2016 at 6:36 PM, Polydectus84 wrote: >> Installed XWiki Enterprise 8.2.1 on Ubuntu Server 14.04 LTS. >> >> I did a lot of research after 4 previous failed installation attempts. >> Opted to choose the Filesystem Storage option from the beginning since we >> need to host files larger than 30MB. I followed these instructions: >> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystemattachmentstorelocation >> >> Everytime I start xwiki, I am brought through the Distribution Wizard and >> prompted to basically install XWiki again. Sometimes I'm not prompted, but >> most images are not displayed. >> >> In Tomcat7 - JAVA_HOME=/usr/lib/jvm/java-8-oracle >> >> Made changes to xwiki.properties file >> environment.permanentDirectory=/etc/tomcat7/data >> >> Made changes to xwiki.cfg (and made sure they weren't commented out): >> >> xwiki.store.attachment.hint=file >> xwiki.store.attachment.versioning.hint=file >> xwiki.store.attachment.recyclebin.hint=file >> Due to this bug: http://jira.xwiki.org/browse/XWIKI-9065, I changed the >> value in xwiki.cfg for: >> storage.attachment.recyclebin=0 >> >> My gut is telling me that I need to use this >> http://snippets.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter >> , but I can't because the attachment is no longer available. >> >> Any help would be greatly appreciated. If you need more info, please let me >> know. >> >> >> >> -- >> View this message in context: >> http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332.html >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users > > > > -- > Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Most images not found - new installation
Sounds like your permanent directory end up in a temporary folder deleted each time XWiki restart. You probably have a warning at starting about that. See property environment.permanentDirectory in xwiki.properties. On Thu, Sep 22, 2016 at 6:36 PM, Polydectus84wrote: > Installed XWiki Enterprise 8.2.1 on Ubuntu Server 14.04 LTS. > > I did a lot of research after 4 previous failed installation attempts. > Opted to choose the Filesystem Storage option from the beginning since we > need to host files larger than 30MB. I followed these instructions: > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystemattachmentstorelocation > > Everytime I start xwiki, I am brought through the Distribution Wizard and > prompted to basically install XWiki again. Sometimes I'm not prompted, but > most images are not displayed. > > In Tomcat7 - JAVA_HOME=/usr/lib/jvm/java-8-oracle > > Made changes to xwiki.properties file > environment.permanentDirectory=/etc/tomcat7/data > > Made changes to xwiki.cfg (and made sure they weren't commented out): > > xwiki.store.attachment.hint=file > xwiki.store.attachment.versioning.hint=file > xwiki.store.attachment.recyclebin.hint=file > Due to this bug: http://jira.xwiki.org/browse/XWIKI-9065, I changed the > value in xwiki.cfg for: > storage.attachment.recyclebin=0 > > My gut is telling me that I need to use this > http://snippets.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter > , but I can't because the attachment is no longer available. > > Any help would be greatly appreciated. If you need more info, please let me > know. > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Livetable counter or unique id?
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-boun...@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, Xavierwrote: > > 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users # Attention: This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary, confidential and/or privileged information and should not be copied, disclosed, distributed, retained or used by any other party. If you are not an intended recipient please notify the sender immediately and delete this e-mail (including attachments and copies). The statements and opinions expressed in this e-mail are those of the author and do not necessarily reflect those of the Royal Marsden NHS Foundation Trust. The Trust does not take any responsibility for the statements and opinions of the author. Website: http://www.royalmarsden.nhs.uk # ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Most images not found - new installation
Thomas, Please ignore my previous message. I decided to make this easier and literally start from the beginning. This is exactly what I've done: 1. sudo apt-add-repository ppa:webupd8team/java 2. sudo apt-get update 3. sudo apt-get install oracle-java8-installer 4. wget -q "http://maven.xwiki.org/public.gpg; -O- | sudo apt-key add - sudo wget "http://maven.xwiki.org/stable/xwiki-stable.list; -P /etc/apt/sources.list.d/ 5. sudo apt-get update 6. sudo apt-get install xwiki-enterprise-tomcat7-mysql 7. /etc/default/tomcat7 - Changed JAVA_HOME=/usr/lib/jvm/java-8-oracle - Changed JAVA_OPTS="-Djava.awt.headless=true -Xmx512m -XX:+UseConcMarkSweepGC" I have stopped there for the time being. I didn't want to change the values in xwiki.cfg or xwiki.properties until I knew I did this much correctly. Also, should I make the changes to xwiki.cfg and xwiki.properties before or after running the Distribution Wizard for the first time? Please let me know what I should do next to change to the Filesystem storage so I can upload files larger than 30MB. I am unsure what directory I can use that won't clear itself out. Again, your help is greatly appreciated. -- View this message in context: http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332p7601336.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Most images not found - new installation
Installed XWiki Enterprise 8.2.1 on Ubuntu Server 14.04 LTS. I did a lot of research after 4 previous failed installation attempts. Opted to choose the Filesystem Storage option from the beginning since we need to host files larger than 30MB. I followed these instructions: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystemattachmentstorelocation Everytime I start xwiki, I am brought through the Distribution Wizard and prompted to basically install XWiki again. Sometimes I'm not prompted, but most images are not displayed. In Tomcat7 - JAVA_HOME=/usr/lib/jvm/java-8-oracle Made changes to xwiki.properties file environment.permanentDirectory=/etc/tomcat7/data Made changes to xwiki.cfg (and made sure they weren't commented out): xwiki.store.attachment.hint=file xwiki.store.attachment.versioning.hint=file xwiki.store.attachment.recyclebin.hint=file Due to this bug: http://jira.xwiki.org/browse/XWIKI-9065, I changed the value in xwiki.cfg for: storage.attachment.recyclebin=0 My gut is telling me that I need to use this http://snippets.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter , but I can't because the attachment is no longer available. Any help would be greatly appreciated. If you need more info, please let me know. -- View this message in context: http://xwiki.475771.n2.nabble.com/Most-images-not-found-new-installation-tp7601332.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Livetable counter or unique id?
FTR someone had published this extension a long time ago: http://extensions.xwiki.org/xwiki/bin/view/Extension/Unique+Identification+Number+Module I don’t know its state and I’ve never used it though. Thanks -Vincent > On 22 Sep 2016, at 14:29, Chitnis, Xavierwrote: > > 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-boun...@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 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 > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users