SUNScholar/Submissions/Steps

From Libopedia
Jump to navigation Jump to search
Back to Submissions

PLEASE NOTE:

There must be a minimum of one step and a maximum of six steps.

Introduction

First we map the custom steps to the collections which will use these custom steps and then we define the custom steps.

Step 1 - Define mapping of the custom steps

Edit the item-submission.xml file as follows:

nano $HOME/source/dspace/config/item-submission.xml

For example:

 <submission-map>
   <name-map collection-handle="default" submission-name="traditional" />
   <name-map collection-handle="99999.1/2170" submission-name="research" />
   <name-map collection-handle="99999.1/2171" submission-name="research" />
   <name-map collection-handle="99999.1/2172" submission-name="research" />
   <name-map collection-handle="99999.1/2173" submission-name="research" />
   <name-map collection-handle="99999.1/2174" submission-name="research" />
   <name-map collection-handle="99999.1/2175" submission-name="research" />
   <name-map collection-handle="99999.1/2176" submission-name="research" />
   <name-map collection-handle="99999.1/2177" submission-name="research" />
   <name-map collection-handle="99999.1/2178" submission-name="research" />
   <name-map collection-handle="99999.1/2179" submission-name="research" />
 </submission-map>

Step 2 - Define the custom steps

This is where you define what steps are completed per submission per collection.

Tip: Copy an existing definition to create a new one.

For example:

   <submission-process name="research">

      <step>
         <processing-class>org.dspace.submit.step.SkipInitialQuestionsStep</processing-class>
      </step>
 
      <!--Step 1 will be to Describe the item.-->
      <step>
        <heading>submit.progressbar.describe</heading>
        <processing-class>org.dspace.submit.step.DescribeStep</processing-class>
 		<jspui-binding>org.dspace.app.webui.submit.step.JSPDescribeStep</jspui-binding>
		<xmlui-binding>org.dspace.app.xmlui.aspect.submission.submit.DescribeStep</xmlui-binding>
        <workflow-editable>true</workflow-editable>
      </step>

      <!--Step 2 will be to Upload the item -->
      <step>
        <heading>submit.progressbar.upload</heading>
        <processing-class>org.dspace.submit.step.UploadStep</processing-class>
        	<jspui-binding>org.dspace.app.webui.submit.step.JSPUploadStep</jspui-binding>
		<xmlui-binding>org.dspace.app.xmlui.aspect.submission.submit.UploadStep</xmlui-binding>
        <workflow-editable>true</workflow-editable>
      </step>

      <!--Step 3 will be to Verify/Review everything -->
 	  <step>
        <heading>submit.progressbar.verify</heading>
        <processing-class>org.dspace.submit.step.VerifyStep</processing-class>
        	<jspui-binding>org.dspace.app.webui.submit.step.JSPVerifyStep</jspui-binding>
		<xmlui-binding>org.dspace.app.xmlui.aspect.submission.submit.ReviewStep</xmlui-binding>
	<workflow-editable>true</workflow-editable>
      </step>

      <!--Step 4 will be to Sign off on the License-->
      <step>
        <heading>submit.progressbar.license</heading>
        <processing-class>org.dspace.submit.step.LicenseStep</processing-class>
        	<jspui-binding>org.dspace.app.webui.submit.step.JSPLicenseStep</jspui-binding>
		<xmlui-binding>org.dspace.app.xmlui.aspect.submission.submit.LicenseStep</xmlui-binding>
	<workflow-editable>false</workflow-editable>
      </step>
     
   </submission-process>