# \#tablizer($dataset, "datasetTable") in Velocity-not working

**URL:** <https://forum.servoy.com/t/tablizer-dataset-datasettable-in-velocity-not-working/12873>\
**Category:** Classic Servoy\
**Created:** [September 15, 2010, 4:34am UTC](https://forum.servoy.com/t/tablizer-dataset-datasettable-in-velocity-not-working/12873 "2010-09-15T04:34:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikd](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@erikd](https://forum.servoy.com/u/erikd)\
**Post date:** [September 15, 2010, 4:34am UTC](https://forum.servoy.com/t/tablizer-dataset-datasettable-in-velocity-not-working/12873/1 "2010-09-15T04:34:51Z")

</div>

Hi,

I am new to velocity reports. I tried the example in [http://www.servoyforge.net/projects/vel … inOverview](http://www.servoyforge.net/projects/velocity-report/wiki/PluginOverview).  
But the #tablizer does not work.

I want to display the dataset from databaseManager.getDataSetByQuery() function. How do I display it in Velocity?

---

<div class="post-metadata">

**Author:** ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)\
**Post date:** [September 15, 2010, 4:54am UTC](https://forum.servoy.com/t/tablizer-dataset-datasettable-in-velocity-not-working/12873/2 "2010-09-15T04:54:23Z")

</div>

Hi Erik,

maybe you could post on the VelocityReport ServoyForge forum?

As for #tablizer, there are a few things to check:  
1/ did you declare the location of your reports folder in the Servoy admin plugins page? The “velocityreport.reportfolder” property should point to the (valid) location of a folder that holds your reports (on the server-side) - if not provided, it will try to use the Java System property ‘user.dir’ (where user will be the user that launched the Servoy server, either by the command line or service/daemon)  
2/ in the folder declared with the “velocityreport.reportfolder” server property, you should have a file named “VM\_global\_library.vm” which is where the #tablizer macro is declared

If all is well, there might be a problem with the data, in which case, you could have a look at the servoy\_log.txt and the velocity.log (that will be located next to it) to see if an exception has been throwed.

Hope this helps,

---

<div class="post-metadata">

**Author:** ![erikd](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@erikd](https://forum.servoy.com/u/erikd)\
**Post date:** [September 15, 2010, 10:54pm UTC](https://forum.servoy.com/t/tablizer-dataset-datasettable-in-velocity-not-working/12873/3 "2010-09-15T22:54:30Z")

</div>

> ptalbot:  
> Hi Erik,
> 
> maybe you could post on the VelocityReport ServoyForge forum?
> 
> As for #tablizer, there are a few things to check:  
> 1/ did you declare the location of your reports folder in the Servoy admin plugins page? The “velocityreport.reportfolder” property should point to the (valid) location of a folder that holds your reports (on the server-side) - if not provided, it will try to use the Java System property ‘user.dir’ (where user will be the user that launched the Servoy server, either by the command line or service/daemon)  
> 2/ in the folder declared with the “velocityreport.reportfolder” server property, you should have a file named “VM\_global\_library.vm” which is where the #tablizer macro is declared
> 
> If all is well, there might be a problem with the data, in which case, you could have a look at the servoy\_log.txt and the velocity.log (that will be located next to it) to see if an exception has been throwed.
> 
> Hope this helps,

Thanks for reminding me. I already placed everything in place.

I found the main problem. The dataset should not include “&” because the parser identifies it as a reserved keyword (&nbsp;). It throws an exception.

---

<div class="post-metadata">

**Author:** ![ptalbot](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/ptalbot/32/4952_2.png) [@ptalbot](https://forum.servoy.com/u/ptalbot)\
**Post date:** [September 15, 2010, 11:00pm UTC](https://forum.servoy.com/t/tablizer-dataset-datasettable-in-velocity-not-working/12873/4 "2010-09-15T23:00:25Z")

</div>

> erikd:  
> I found the main problem. The dataset should not include “&” because the parser identifies it as a reserved keyword (&nbsp;). It throws an exception.

Actually with next version v1.3.2 all 5 speical XML entities (& \< \> ’ "e;) will be automatically encoded for you, so this will not generate exceptions anymore.

---

<div class="post-metadata">

**Author:** ![erikd](https://avatars.discourse-cdn.com/v4/letter/e/b782af/32.png) [@erikd](https://forum.servoy.com/u/erikd)\
**Post date:** [September 15, 2010, 11:23pm UTC](https://forum.servoy.com/t/tablizer-dataset-datasettable-in-velocity-not-working/12873/5 "2010-09-15T23:23:28Z")

</div>

Thanks, Patrick.
