Grooper 21.00.0082 is available as of 12-12-2023! Check the  Downloads Discussion  for the release notes and to get the latest version.
Grooper 23.00.0044 is available as of 06-20-2024! Check the Downloads Discussion for the release notes and to get the latest version.
Grooper 23.1.0026 is available as of 09-16-2024! Check the  Downloads Discussion  for the release notes and to get the latest version.
Grooper 24.0.0012 is available as of 10-10-2024! Check the Downloads Discussion for the release notes and to get the latest version.

Separation based on Filename of Imported Document

strotellistrotelli Posts: 42 admin
edited January 2018 in The Astronauts (Q&A)
I am trying to create a separation profile and I was wondering if there is any way to separate the pages by the filename in which they were scanned into Grooper. In my particular case I am having grooper scan a folder on my desktop that has 4 files in it. Later in the process when I am trying to separate, I want to use that original filename... is that possible or is there an easier way?

Answers

  • GrooperGuruGrooperGuru Posts: 481 admin
    I'm a little unsure exactly what you're asking here. When electronic files are imported into Grooper, they will already be separated by file and they will maintain the file name of the original file. If your end goal is trying to maintain the native version's file name and use that as a field during export, then you can use a Default Value Expression which would set the value of a field to that Native Version's file name. Am I in alignment with the question you're asking?
    Matt Harrison
    Product Manager
    mharrison@bisok.com
  • RandoCalrisianRandoCalrisian Posts: 195 admin
    edited January 2018
    @GrooperGuru , could you give an example of the DefaultValueExpression you mentioned.
    Randall Kinard
    rkinard@bisok.com

  • [Deleted User][Deleted User] Posts: 0 admin
    @bwhite made a custom script to accomplish something similar to this that he might be able to share.
  • GrooperGuruGrooperGuru Posts: 481 admin
    edited January 2018
    @GrooperGuru , could you give an example of the DefaultValueExpression you mentioned.
    I've started a new topic in an upcoming section of Grooper x Change that has a big list of commonly used Default Value Expressions. This link is currently only accessible to moderators, but it will be launched here in the next few weeks for use by all members.  In the meantime, here are a few that directly relate to this thread:

    • DirectCast(Link,FileSystemLink).FilePath Inserts the full path to a linked File System Object.
    • Folder.NativeVersionFileName Inserts the File Name of the folder's Native Version File (including the file extension)
    • IO.Path.GetFileNameWithoutExtension(Folder.NativeVersionFileName) Inserts the File Name of the folder's Native Version File (excluding the file extension)
    http://xchange.grooper.com/discussion/92/default-value-expressions-the-master-list/
    Matt Harrison
    Product Manager
    mharrison@bisok.com
Sign In or Register to comment.