[dspace-tech] Re: Set all DSpace items that do not have an associated file (bitstream) as private

2024-02-28 Thread Javi Rojo Díaz
Sorry, the query is incorrect. To set the item as private, I have executed: *update item set discoverable = false where uuid = 'c017ed8c-cbe7-4323-80cb-48a831453a39';* and to set it as public: *update item set discoverable = true where uuid = 'c017ed8c-cbe7-4323-80cb-48a831453a39';* Thank

[dspace-tech] Re: Set all DSpace items that do not have an associated file (bitstream) as private

2024-02-28 Thread Javi Rojo Díaz
Hello, Thank you very much for the help. I've tried running a SELECT on your query for an item, first while it's public and then while it's private, but I see no change in values when switching between states. I believe the query may not be what I'm looking for. After some investigation, I ma

[dspace-tech] Re: Set all DSpace items that do not have an associated file (bitstream) as private

2024-02-26 Thread Matthias Letsch
Hello Javi, Do you mean to make them only accessible to administrator? And do you already have a list of the uuids of your items you want to make private? (the long hash value which also appears in the url of an item). If so, and if you are somewhat familiar with SQL and the DSpace database, I