OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



File Name Format

Are you responsible for making OMP work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, asmecher

Forum rules
What to do if you have a technical problem with OMP:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OMP Discussion subforum; if you have a development question, try the OMP Development subforum.

File Name Format

Postby andybyers » Wed Jun 25, 2014 8:18 am

We've just started looking into OMP and I was wondering if someone could explain what the file name for a final document means.

Here's an example of a filename in the final folder of submission 1:

1-7-2-1-6-20140625.doc

The last section is the date, but can someone explain waht 1-7-2-1-6 means?
andybyers
 
Posts: 1
Joined: Wed Jun 25, 2014 7:50 am

Re: File Name Format

Postby asmecher » Wed Jun 25, 2014 8:26 am

Hi andybyers,

It's implemented in lib/pkp/classes/submission/SubmissionFile.inc.php in the _generateFileName() function:
  • Monograph ID
  • Genre ID
  • File ID
  • File revision
  • File stage (what part of the workflow the file is for)
  • Timestamp
Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8610
Joined: Wed Aug 10, 2005 12:56 pm


Return to OMP Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron