I am trying to rename the "primary file" fields's label in a profile but don't know how to approach this. Is their any way to do this without changing the base js files?
Add the following code (Git code snippet can be found here) to a rule side effect:
<$std_set_primary_file_field_settings='
<$include super.std_set_primary_file_field_settings$>
<$fieldCaption = "This is the Primary File Caption"$>
'$>
<$setResourceInclude('std_set_primary_file_field_settings', std_set_primary_file_field_settings)$>
Make sure the rule executes on the checkin page. This takes advantage of this technique.