I am having difficulty with a database collection. First issue was a problem importing data. The data cvs file did not import as it showed originally. Also, I am not able to delete a row. I read through the help and it says to right click. I am using a mac and have tried all combinations to delete a row but am unable to do so. Am I able to delete a database collection? Lastly, when I created a page with the database collection, it does not allow me to move the page in my page sorter.
Also please advise if I add an index for a database collection, how can I allow my users to search the index?
Hi Jonathan,
For the csv import:
Can you please add some more info? We’d like to check out what’s wrong.
Where did the data come from? How did you import it?
Deleting a row in MAC:
I think that clicking with two fingers on the row number will open the right click menu.
Unfortunately, for now it is not possible to delete an entire collection (but, we’re working on it).
About moving the page:
Dynamic pages do not show on site menu (as they have to be at a context of an item/category), therefore, it is meaningless to move them up the tree.
If you have a use case that requires that, please submit a feature request here .
Searching through a collection can be done by using the wixData module:
I’m not sure what you need to do but you can just use ‘query’, gut all items and search by code.
Just a small request:
When gathering a lot of questions, it will be great for us and we can better help you if you post them in separate posts (try to keep each topic in a post).
Thanks
Liran.
Hey Jonathan,
For more help with the search, see this post: https://www.wix.com/code/home/forum/advanced-tips-tricks/you-can-use-code-to-let-your-users-search-a-collection
Thank you. I see the delete a row now works.
I am not sure what you mean about dynamic pages do not show up. I want my users to see the index page. How do I move that one?
Hello.
I have not received any answers to any of my posts from two days ago. I put in ten different tickets of issues I need resolved. please advise.
Hey Jonathan,
Take a look at this article which explains all about how to link to dynamic pages, which is what Liran was referring to.
Briefly, a dynamic page with its actual content is created only when a visitor accesses it, based on its URL. Because the pages with actual content don’t exist until they are accessed, they aren’t automatically included in a page menu for your site. The only way to give your visitors access to these pages is by linking to them, which you can do in different ways (again, see the linked article).
If your index page is a dynamic page the same issue applies. (Which you only would need if it’s a dynamic category page, see here for more info.)
Jeff