Hi Jerome,

On Apr 11, 2009, at 4:12 AM, Jerome Caffaro wrote:
I could only make this work using "980::DEFP()", but never "980::REPL(EOL,)". ...
In theory REPL(EOL,) should remove linefeed characters (\n) from
the input value, while DEFP() should print the value at it is,
which is ok here. But I see that the BibConvert documentation
only mentions the REP() function, so you might also want to try
REP(EOL,) instead.

Both REP and REPL behave the same, and I now have a little more information. They will change 980__a:PICTURE to 980__a:PICTUREPUBLIC, but will not change 980__a:PICTUREPUBLIC to 980__a:PICTURE.

What I should also have added is that if you don't save the
PICTURE_RESTRICTION value in its own MARC tag, it won't be easy
in the MBI step to retrieve the value Private/Public of the
currently modified record to reflect its current status on the
page.

Thanks!  That was going to be my next question =).

MPRPICTURE should have been a string, so written in quotes:
 return create_html_link(CFG_SITE_URL + '/submit/direct',
                         urlargd={'RN': bfo.field("037__a"),
                                  'sub': "MPRPICTURE"},

Thanks, again (I should have caught that). I'm getting closer, but it's not quite there yet. The BFE_PUBLIC_RECORD element I created per your instructions actually displays the html, not the link. For example, I see: <a href="https://edms.classe.cornell.edu/submit/direct?RN=PICTURE-TEST-2009-001&amp;sub=MPRPICTURE ">Modify restrictions</a>

If I try to manually browse to:
https://edms.classe.cornell.edu/submit/direct?RN=PICTURE-TEST-2009-001&amp;sub=MPRPICTURE
, I am redirected to:
https://edms.classe.cornell.edu/submit?doctype=PICTURE&dir=public&access=1239659210_24883&act=MPR&startPg=1RN=PICTURE-TEST-2009-001&amp;&mainmenu=&ln=en
and the "Picture Reference Number:" is incorrectly filled in as "PICTURE--2009-???".

Any more suggestions would be greatly appreciated.

Thank you again for all of your time and help.

Sincerely,
Devin

Reply via email to