Access hash variables in post processing bean shell

Confluence User - 03 Dec, 2020

Subject line says it all ... how do I access the form hash variables in a post-processing bean shell script?


var strMissionType="#form.tableName.fieldName#";     

System.out.println("Mission Type: "+strMissionType);

The system out line does not reflect any value for the strMissionType ... 


Any help would be appreciated ... TIA!


beanshell;forms

1


03 Dec, 2020
confluenceUser
1
confluenceUser

Already found the problem, folks!    The field in the database table is prefaced with a 'c_'   However, the field on the form does not carry the c_ with it.  So, when referencing the field from the form, I had to remove that preface and - lo, and behold!  The value of that field was displayed in the System.out.println() ... WooHoo!

People take note!

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print