rbv_api.setFieldValue() with variables?

Posted by Rollbase User on 01-Aug-2012 15:08

I am trying to use rbv_setFieldValue() to set a field based on a merge template. Is this possible? Below is my script inside of an Object Script trigger var x = "{!R801480.scholarship_name}" rbv_api.setFieldValue("scholar_application", {!id}, "application_document", x) I also tried this: rbv_api.setFieldValue("scholar_application", {!id}, "application_document", "{!R801480.scholarship_name}") The field I am trying to update, application_document, is a document template field. The name of the document template that I want to assign as the value for this field is the same as the contents of the "{!R801480.scholarship_name}" field.

All Replies

Posted by Admin on 01-Aug-2012 15:16

I think Document Template field requires ID of assigned template as a value, but let me check.

Posted by Admin on 02-Aug-2012 21:39

This will be fixed in 3.7.2. release

This thread is closed