Dear Genis,

Genis Musulmanbekov wrote:
1. In Article Submission changed the field 'upload the source file' from 'mandatory' to 'optional' and saved the modification. However, the red star remains in the WebSubmit form.

To remove the red star you must edit the submission page: WebSubmit ->
'Article Submission'-> 'view interface' (`SBI' row) -> 'view page'->
'edit' (`DEMOART_FILE' row) -> 'Field Label'.

(Mandatory or optional fields do not automatically add/remove the red stars)

2. Suppose that the preprint is published in some journal, and the author want to modify this record by including the references. How can one include corresponding fields in the WebSubmit form interface?

You would follow the usual steps to add a field to a submission interface. Briefly:

1. Create a new "Element" if needed (WebSubmit -> 'Main menu' ->
   'Available Elements' -> scroll down to 'Add new Element' button)
2. On the submission page you want to edit, scroll down to 'Add a Field'
   to add an existing element to your page.
3. Edit the submission BibConvert templates to reference this field (so
   that the built MARCXML will use this field). To know which templates
   are used: WebSubmit -> 'Article Submission'->' view functions'(`SBI')
  -> 'Make_Record' -> 'view parameters' (you can edit the templates from
   here, or if permission is not granted edit corresponding files in
   /opt/cds-invenio/etc/bibconvert/config/)

These steps are for the initial submission (`SBI' action). The
submission for modification (`MBI' action) will build its interface
based on the `SBI' page thanks to the use of the function
`Create_Modify_Interface'. To have this new field fully available for
the `MBI' action, you still have to:

4. WebSubmit -> 'Article Submission'-> 'view functions' ->
   'Create_Modify_Interface' -> 'view parameters' and check which field
   is used as parameter (for eg. `DEMOART_CHANGE') . Then:
5. Look for this field (or add it) on the `MBI' submission page:
   WebSubmit -> 'Article Submission' -> 'view interface' (MBI row) ->
  'view page' (1) -> 'element' (`DEMOART_CHANGE' row). Add you new field
  in the list so that users can select it on the submission page.
6. Similar to point 3 above, check the `MBI' BibConvert templates:
   WebSubmit -> 'Article Submission'-> 'view functions' (`MBI' row) ->
  'Make_Modify_Record' -> 'view parameters' to edit `modifyTemplate'
  (`sourceTemplate' is usually the same as in SBI step)


In the case of possible multiple references, we enter the usual problem
of dealing with multiple fields, without knowing their number. Easiest
solution: put a restriction on the number of references (eg. 10) and add
10 different fields to your page. Users will only fill in the needed
ones.

Note that this problem has been solved in the case of authors by using a
"Text Area" element, with the convention that there is one author per
line. This is perfectly doable, if you edit your BibConvert template to
consider that the value returned by this field must be split.

If you use a "Text Area" element you might enter into additional issues
if you want to have more than one value per reference (eg. journal name,
journal url, page, year, etc.). This can be solved by using well-defined
separators in the text area and process them using a WebSubmit function.
This solution involves of course the development of this custom function
to plug into your submission workflow.

Alternatively you can place several textarea side by side and ask users
to make each line match. In principle you should be able to merge these
values into individuals datafields of the MARC using the BibConvert
template.

Best regards
--
Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to