<div dir="ltr"><div>Lydia,</div><div><br></div><div>Modifying the citation generation will require overriding/extending the current Archival Object data model (<a href="https://github.com/archivesspace/archivesspace/blob/master/public/app/models/archival_object.rb#L33">https://github.com/archivesspace/archivesspace/blob/master/public/app/models/archival_object.rb#L33</a>) - the .yml files aren't what control citation generation.  The quick way to do so would be to create a plugin (in plugins/[plugin-name]/public/model/archival_object.rb) that overrides the cite function, and adding the plugin to your config/config.rb file's AppConfig[:plugins] line.  It sounds like what you're trying to do should be straightforward, although you may have to get into the weeds of the JSON models to find the data that you need.</div><div><br></div><div>Hope this helps,</div><div>--Alex<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 30, 2018 at 12:58 PM, Tang, Lydia <span dir="ltr"><<a href="mailto:ltang5@lib.msu.edu" target="_blank">ltang5@lib.msu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
My repository would like to tweak the data fields and the formatting of the fully generated citations. Does anyone know how to do that? I assume it would be in an en.yml file, but apparently there are three en.yml files and my IT person is not sure where to look. Any help would be greatly appreciated! Full description of our issue below:<br>
<br>
Current behavior on a sample citation:<br>
Brooks, Marshall. Harry Smith, An Appreciation, 1936-2012<tel:1936-2012>. The Smith collection, . Michigan State University Libraries Special Collections. <a href="http://as.lib.msu.edu/repositories/2/archival_objects/24677" rel="noreferrer" target="_blank">http://as.lib.msu.edu/<wbr>repositories/2/archival_<wbr>objects/24677</a> Accessed July 11, 2018<calendar:T2:July%2011,%<wbr>202018>.<br>
<br>
A translation of the data fields:<br>
[File title]. [Collection Title], . [Repository]. [Archival Object URI] [Date accessed]<br>
<br>
What we’d like instead is added and bolded:<br>
[Archival Object title], [Instance Information (Box/Folder number)], [Collection title], [Collection identifier (such as MSS 212)], [Repository]. [Archival Object URI] [Date accessed]<br>
Ideally,  we'd also like the citation to be formatted with commas instead of periods as well.<br>
Also, what are other ways repositories have editing their en.yml files? We're just getting started in customizing and I wanted to get some ideas.<br>
Thanks all!<br>
Lydia<br>
<br>
Sent from my Verizon, Samsung Galaxy smartphone<br>
______________________________<wbr>_________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org">Archivesspace_Users_Group@<wbr>lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" rel="noreferrer" target="_blank">http://lyralists.lyrasis.org/<wbr>mailman/listinfo/<wbr>archivesspace_users_group</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Alexander Duryee<div>Metadata Archivist</div><div>New York Public Library</div><div>(917)-229-9590</div><div><a href="mailto:alexanderduryee@nypl.org" target="_blank">alexanderduryee@nypl.org</a></div></div></div></div></div>
</div>