Jump to content

One database record per user (Pages)


jair101

Recommended Posts

I want to do a Pages database, but where each user has permissions to add only one record. Is this achieavable?

Basically my idea is to have something similar to the custom profile fields, but to use more  advanced visualization I want the flexibility of pages database. But I have no idea how to limit the amount of records each user has to 1...

Link to comment
Share on other sites

8 minutes ago, jair101 said:

But I have no idea how to limit the amount of records each user has to 1...

You can’t. 

You can however create a member field and set it to be a “unique field”. That way, every member name could only be used once. Maybe that’s a way to build what you want, even though that’s not the solution you asked for. 

Link to comment
Share on other sites

Thanks, thats a shame.

I guess there is way to hide the add record button based on conditional whether a record by this user exists, but it seems like an awful workaround and I can imagine issues with it too. Oh well, I guess I will source the data from the custom profile fields with a raw query and then try to visualize it in pages block.  

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...