aptkingston / budibase-comment-box

A comment box component plugin for Budibase
15 stars 7 forks source link

Cannot pull Table names in the Component #1

Closed magedzamzam closed 2 years ago

magedzamzam commented 2 years ago

Tried adding the comment box to a screen, cannot get the list of tables or columns, I have tried to capsulate that within a Data Provider or Repeater but with no luck.

aptkingston commented 2 years ago

You don't need a data provider for the comment box to work - it just needs any table. This could be an internal table or a SQL table. It's impossible for this component to work with custom queries because it automcatically fetches comments and saves comments by itself.

magedzamzam commented 2 years ago

You don't need a data provider for the comment box to work - it just needs any table. This could be an internal table or a SQL table. It's impossible for this component to work with custom queries because it automcatically fetches comments and saves comments by itself.

The problem is that it does not fetch table names, the box is always empty, i'm trying to use internal tables but with no luck.

magedzamzam commented 2 years ago

Untitled

aptkingston commented 2 years ago

If you have no tables listed then please make sure you're using the latest version of Budibase - I have just tested this with my self hosted version running 2.0.12 and it lists tables properly. If you're running an older version then there may be a bug preventing tables from being listed.

Proof of it working in 2.0.12: image

magedzamzam commented 2 years ago

I'm using the latest version of Budibase, I have added the plugin through link of github: https://github.com/aptkingston/budibase-comment-box

image

magedzamzam commented 2 years ago

image

aptkingston commented 2 years ago

And you definitely have tables?

image

robreuer commented 2 years ago

I have updated budibase from 2.0.3 to 2.0.12. Its working now thank you!

magedzamzam commented 2 years ago

And you definitely have tables?

image

I have restarted the Budibase server and worked like charm now, thank you