Describe the issue or problem
I have a journal with 1,824 published items ready to be assigned DOIs for the first time. It only appears to be possible to bulk apply and deposit DOIs in batches of more than 30 at a time? Surely I’m missing something.
Steps I took leading up to the issue
I checked both the DOI page linked through the left-hand nav menu, and the two tabs under Distribution > DOIs and in neither place could I find an option for bulk assigning DOIs.
The only option for applying and registering DOIs is
- Load a list of 30 articles on the DOI page
- Click Bulk Actions
- Click Select All
- Click Assign DOIs
- Click Assign DOIs in the confirmation dialogue
- Click Bulk Actions again
- Click Select All again
- Click Deposit DOIs
- Click Deposit DOIs in the confirmation dialogue
- Go to the next page.
That’s 9 clicks per list of 30. 62 lists of 30 in this journal. 558 clicks to assign and register DOIs for each the journal. 498 clicks if I use the Status filters to chunk up 2-5 and 6-9. Please tell me there’s an alternative!
What application are you using?
OJS 3.5.0-5
Addendum: hoping that any solution allows us to assign DOIs only for the published items.
Under Distribution Settings > DOI > Registration you can enable automatic deposits.
That was not the question.
Hi @tmrozewski, there is not currently a better way to bulk assign DOIs, but once they have all been assigned, the “Deposit All” button at the top of the DOI management page will allow you to schedule the deposit of all outstanding DOIs needing deposit (articles that have been published and have DOIs assigned to them). Hope that helps!
Regards,
Erik
PKP Team
@ewhanson thanks for your response. I’d overlooked Deposit All so that cuts the work in half, but that still a brutal amount of clicking for a batch operation. Would it be possible to add bulk assignment of DOIs as a feature request?
Another thing @ewhanson : do you imagine that it’s possible to assign DOIs through the database, or would that be a nightmare to make work?
Hi @tmrozewski
Count of submissions listed in DOI panel is defined in;
lib --> pkp --> classes --> components --> listPanels --> PKPDoiListPanel.php
Please search for line containing
public $count = 30;
I managed to increase this variable to 99 in the past, but I couldn’t get it to list more than 100 posts. I hope this helps you.
Then, from Bulk Actions menu, you can select all, and assign DOIs to the submissions that require DOI.
Regards,
Uğur
@drugurkocak that’s fantastic! Thank you so much. That will help significantly.
I mean, even I increased that variable to 3000, the panel lists only 100 submissions. I couldn’t check if the remaining submissions were hidden or not listed. But when I selected all, and assign DOIs, the modal message says “You are about to assign new DOIs to 100 item(s) for any eligible item that does not already have a DOI assigned. Are you sure you want to assign DOIs to these items?”
So, I left it at 99 
Good luck!
Sorry @tmrozewski - I misunderstood.
I also checked then the maximum count as @drugurkocak did.
There is an additional setting in lib/pkp/api/v1/dois/PKPDoiController.php you may fiddle with:
class PKPDoiController extends PKPBaseController
{
/** @var int The default number of DOIs to return in one request */
public const DEFAULT_COUNT = 30;
/** @var int The maximum number of DOIs to return in one request */
public const MAX_COUNT = 100;
The MAX_COUNT setting probably explains why not more than 99 items were displayed.
Hi @mpbraendle
I couldn’t recall whether I had modified those settings when tinkering with them a while back. However, I tried changing the settings you mentioned as follows:
lib/pkp/api/v1/dois/PKPDoiController.php
/** @var int The default number of DOIs to return in one request */
public const DEFAULT_COUNT = 3000;
/** @var int The maximum number of DOIs to return in one request */
public const MAX_COUNT = 3000;
I also modified the file;
classes/components/listPanels/PKPDoiListPanel.php
/** @var int How many items to display on one page in this list */
public $count = 3000;
/** @var array Query parameters to pass if this list executes GET requests */
public $getParams = [];
/** @var int Max number of items available to display in this list panel */
public $itemsMax = 3000;
Then, cleared the cache.
Yet, the resulting maximum is still 100 
There does appear to be a limit to how many DOIs can be submitted at a time to CrossRef using “Deposit All.” I haven’t done the math on how many but it may be 100. Submissions beyond that show the Error status, with the message The metadata for this item has not been submitted to Crossref.
I would advise against anything like that, as it’s more likely to result in problems.
This would be a great idea for a feature request. You can add it in the feature request section of the forum. Thanks!
I created an issue in GitHub because the new DOI management interface is a disaster with multiple problems and needs to be treated as an issue to be fixed and not a feature to be requested. More thorough user testing before deployment would also help with many of these issues.
Hi @tmrozewski,
Thanks for the detailed feedback in the issue!
Please be kind in your feedback here; you’re talking directly to the people who did the work, and while it clearly didn’t serve your use case well, a lot of hard work went into those changes. We often struggle to balance opposing viewpoints and needs; generally anything we change will have both supporters and critics. We will do our best to refine it from here and appreciate your feedback and patience.
Thanks,
Alec Smecher
Public Knowledge Project Team
Thanks @asmecher and my apologies @ewhanson - I didn’t intend for that to come off so sharply. I appreciate that the work at PKP is done by individuals and don’t want to take that for granted. While I’ll admit to disappointment with the changes to DOI management, I’m sorry if that came off as hostility!