ELAG Workshop version 1
-
Upload
karsten-kryger-hansen -
Category
Data & Analytics
-
view
230 -
download
5
Transcript of ELAG Workshop version 1
![Page 1: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/1.jpg)
![Page 2: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/2.jpg)
2 developers!Developing a suite of library solutions.
![Page 3: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/3.jpg)
Extending your GUIWorkshop at ELAG 2016
![Page 4: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/4.jpg)
Who am I …?• User Experience Designer• Pragmatic programmer
![Page 5: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/5.jpg)
![Page 6: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/6.jpg)
DisclaimerSome of the examples for modifying may not be available in your system – or behave in a different way.But we are here to explore.
http://www.ng-newsletter.com/posts/angular-for-the-jquery-developer.html
![Page 7: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/7.jpg)
Who are you?
EDS Integra Other Primo Summon VuFind2 (blank)
1 1
3
11
4
1
Total
Total
![Page 8: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/8.jpg)
Who are you?
Not at all Minor changes
Minor changes
Not at all Minor changes
Not at all (blank) Huge changes /
rewrite
Minor changes
Not at all Not at all (blank)
EDS Integra Other Primo Summon VuFind2 (blank)
1 1 1
2
4
6
1 1
2
1
JavaScript addition/changes
Total
![Page 9: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/9.jpg)
Who are you?
Not at all (blank)0
5
10
15
20
25
Changed programming code (not JavaScript) on the webserver
Total
![Page 10: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/10.jpg)
Congratulations …
![Page 11: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/11.jpg)
I’ll make that into a feature
requestUnfortunately that cannot be configured …
That is out of scope of the
product
We have not heard that from other customers
Forwarded to the new product manager
That is a Danish issue
![Page 12: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/12.jpg)
Do you recognize this?
![Page 13: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/13.jpg)
Goal of today and tomorrow
CC BY-SA 2.0 Michele M.F.https://www.flickr.com/photos/e-coli/15748320149
To give you an overview and insights in the possible building blocks, enabling you to do further exploration of the possibilities in your system.
The examples are for inspiration.
![Page 14: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/14.jpg)
We need a reporter!
![Page 15: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/15.jpg)
Discovery system Own server Helper External service
Server Client Server Client
Look’n’feel
Search experience
Record enrichment
![Page 16: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/16.jpg)
+ push data from your discovery system into
other systems
![Page 17: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/17.jpg)
Motivation for our Primo setup
Primo X-Service
Our own UI
Primo Native
AUB UIPrimo UI
jQuery
Primo Native UI
Custom Primo tiles
Primo Native UI
Customization through BE
![Page 18: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/18.jpg)
Extending UI
http://en.wikipedia.org/wiki/File:Library_of_Congress,_Rosenwald_4,_Bl._5r.jpg
![Page 19: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/19.jpg)
The native app challenge• Not about responsive design
• Building your own app is no problem
![Page 20: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/20.jpg)
Webserver
Webserver
Server side vs client side
Webserver
![Page 21: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/21.jpg)
Custom file
JavaScriptData
JavaScriptNo data
Custom tile Internal file
Custom tile External url
External service
Primo/SFX Helpers
![Page 22: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/22.jpg)
The ”API” of the U.I.
![Page 23: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/23.jpg)
The ”API” of the U.I.
<!DOCTYPE html><html><head></head><body> <div id="one"></div> <div class="two"> <div class=“two"> <p class="six"> <a href="go.html">Go</a> </p> </div> </div></body></html>
TagClassIdAttribute:stateTraverse…
ParentsChildrenSiblings
Triggers
![Page 24: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/24.jpg)
jQuery is a cross-browser JavaScript library designed to simplify the client-side scripting of HTML.
As of 2015, jQuery remains the most widely used JavaScript library on the Web. According to JavaScript library analytics service, Libscore, jQuery is in use on over 63% of the top million most popular sites by traffic volume.
Source: en.wikipedia.org/wiki/Jquery
![Page 25: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/25.jpg)
jQuery allows you to ....• Selection of item(s)
$(‘.EXLResult’)$(‘.EXLResult’).find(‘a’)
• Loops$(‘.EXLResult’).each(function() { do stuff });
• Manipulation$(‘.EXLResult’).hide();$(‘.EXLResult’).append(‘<div>This is a result</div>’);$(‘.EXLSignOut’).text(‘Get away from here’);
![Page 26: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/26.jpg)
jQuery allows you to ....• Be used in if-then-else
if ($(this).find('.EXLResultFRBR').length != 0) …• Change the look and feel
$(‘.EXLResult’).addClass(‘niceresult’)• Get or post data
$.getJSON('ajax/test.json', function(data) { …• Trigger script on events
$(document).ready(function() { });$(document).ajaxComplete(function() { });$(‘.EXLResult’).click(function() { alert(‘click’); });
• Animate
![Page 27: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/27.jpg)
27
Getting jQuery into PrimoAdd to the footer
<script type=”text/javascript”>$(document).ready(function) { alert(‘Let us do some jQuery’);});</script>
And link to external JS-files
![Page 28: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/28.jpg)
jquery.PRIMO – the magic library for Primo
https://github.com/mehmetc/jQuery.PRIMO
![Page 29: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/29.jpg)
Linking Open Data cloud diagram 2014, by Max Schmachtenberg, Christian Bizer, Anja Jentzsch and Richard Cyganiak. http://lod-cloud.net/
Data to and from external sources
![Page 30: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/30.jpg)
Examples of sources• ILS (e.g. Aleph)• Discovery system itself• LinkResolver (e.g. the SFX RSI)• Google Books• Journal TOCs• Book Locator service• WordPress blog• Wikipedia• DBpedia
![Page 31: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/31.jpg)
Getting data on-the-fly
Construct url
Fetch using Ajax.
Include relevant
parameters
Do the server stuff! Parse result Modify
accordingly
Or get the server to do the work
![Page 32: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/32.jpg)
Getting data on-the-fly• Ajax (Asynchronous JavaScript and XML)
• Allows you to get or post data to the Primo server, or any other server.
• Same origin policy problem can be overcomed with JSONP.
• Alternative to enrichment (for good and bad).
![Page 33: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/33.jpg)
One of the data exchange formatJSONPJavaScript Object Notation with padding.
jsonp1310982735388( { "total": "2142950", "online": "1190781“})
![Page 34: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/34.jpg)
Explore your discovery system• F12 in Chrome is your friend!
![Page 35: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/35.jpg)
Look’n’feel
![Page 36: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/36.jpg)
Discovery system Own server Helper External service
Server Client Server Client
Look’n’feel
Search experience
Record enrichment
![Page 37: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/37.jpg)
LOOK’N’FEEL
Backend configuration
![Page 39: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/39.jpg)
LOOK’N’FEEL
JS No data
![Page 40: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/40.jpg)
LOOK’N’FEEL
JS No data
if (jQuery.PRIMO.records.length == 1 && jQuery.PRIMO.records[0].id == '') {$('.EXLResult').append(‘You need to sign in to see this record');
};
![Page 41: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/41.jpg)
Work time• How have you changed the look and feel of your discovery system?• What outstanding issues do you have?• What potential solutions could enhance the user experince?
• Explore with Developer Tools:• Elements on your page• CSS styles• Try some simple jQuery
![Page 42: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/42.jpg)
Enhancing the search experience
![Page 43: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/43.jpg)
Discovery system Own server Helper External service
Server Client Server Client
Look’n’feel
Search experience
Record enrichment
![Page 44: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/44.jpg)
BETTER SEARCH EXPERIECE
JS No data
![Page 45: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/45.jpg)
BETTER SEARCH EXPERIECE
Custom tiles External
![Page 46: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/46.jpg)
BETTER SEARCH EXPERIECE
Custom tiles External
PHP Code:
function getWordPermutations($inStr) { $outArr = Array(); $tokenArr = explode(" ", $inStr); $pointer = 0; for ($i=0; $i<count($tokenArr); $i++) { $outArr[$pointer] = $tokenArr[$i]; $tokenString = $tokenArr[$i]; $pointer++; for ($j=$i+1; $j<count($tokenArr); $j++) { $tokenString .= " " . $tokenArr[$j]; $outArr[$pointer] = $tokenString; $pointer++; } } return $outArr;}
![Page 47: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/47.jpg)
Custom file Internal
External service
Primo/SFX Helpers
JavaScriptData
PresentationUI logic
Logic glueService brokerCustom PDS: User info with secret key
Any (API providing) service
PDS user info as JSONP
![Page 48: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/48.jpg)
Request patron id and secret value from PDS session in JSON
Collect data in the user interface to
save
Send JSONP request to store data in
external service.Include patron id and secret value
Verify patron id and secret value
PDS+ jQuery.PrimoFile on server
External new servicePDS+Custom JavaScript
![Page 49: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/49.jpg)
Primo Helper
BETTER SEARCH EXPERIECE
Primo Helper
External service
Custom file Internal
JS Data
![Page 50: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/50.jpg)
Work time• How have you changed the search experience of your discovery
system?• What outstanding issues do you have? • What potential solutions could enhance the search experince?
• What data could enhance the search experience, e.g. by parsing the query.
![Page 51: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/51.jpg)
Record enrichment
![Page 52: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/52.jpg)
Discovery system Own server Helper External service
Server Client Server Client
Look’n’feel
Search experience
Record enrichment
![Page 53: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/53.jpg)
ENRICHING THE RECORD WITH FUNCTIONALITY
External service
JS No data
![Page 54: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/54.jpg)
ENRICHMENT OF THE RECORD
Sources:• Primo itself• Aleph• Google Books• Journal TOCs
External service
PREAS
JS Data
![Page 55: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/55.jpg)
CC BY 3.0 Brady Holt https://commons.wikimedia.org/wiki/File:IIHS_Hyundai_Tucson_crash_test.jpg
![Page 56: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/56.jpg)
RSI ServicePNX display JournalTOC
Primo JS
![Page 57: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/57.jpg)
Primo Result Extender Aggregator Service (PREAS)
Loop through each record and get PNX
Get additional data for each
record
Modify each record
accordingly
Time consumingFragileExpensive to extendSimple engine (JS)
![Page 58: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/58.jpg)
Primo Result Extender Aggregator Service (PREAS)
Loop through each record and get PNX
Request additional data
for each record
Modify each record
accordingly
Loop through each record to create url
(incl FRBR)
Request additional data for all records
in aggregator
Modify each record accordingly
![Page 59: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/59.jpg)
AUB01_ALEPH001710473 dedupmrg273746312 AUB_VBNpublications6…AUB01_ALEPH001280012 frbg261592298
Input id Primo X-service Aleph X-service RSI + Google JournalTOC
<ALEPH><ALEPH> <PNX><PNX>
ISBN / ISSN ISSN
<PNX>
ISBN / ISSN ISSN ISBN / ISSN ISSN
JSONP
Cache on all responses
Fast parallel processingNot so fragileCheap to extendComplex engine (Perl)
![Page 60: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/60.jpg)
JSONP Responsejsonp1314904858441({ "items": [
{
"id": "AUB01_ALEPH001710473",
"isbn": "9781607320241",
"rsi": 1,
"openurl": "http://sfx.aub.aau.dk/sfxaub?..."
},
{
"id": "AUB01_ALEPH001449322",
"isbn": "9780691130422",
"gbs": 1,
"previewLink": "http://books.google.com/books?id=...",
"viewability": "PARTIAL"
},
{ "id": "frbg261592298", "httpStatus": "CACHE_HIT", "years": "1988, 1991…", "yearsRange": "1988,, 1995-2000, …" }]);
![Page 61: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/61.jpg)
ENRICHMENT OF THE RECORD
External service
JS No data
![Page 62: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/62.jpg)
ENRICHMENT OF THE RECORD
External service
JS Data
![Page 63: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/63.jpg)
ENRICHMENT OF THE RECORD
External service
WP2PRIMO
JS No data
![Page 64: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/64.jpg)
WORDPRESS SETUP• Self hosted version 4.4.2
• Relevant plug-ins:
• Disable Comments• JSON API• Post Expirator• RSS Custom Fields• Simple Content Templates• Theme Switcher
3 million requests per year
![Page 65: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/65.jpg)
![Page 66: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/66.jpg)
CUSTOM TAGS
• Current bugs and scheduled downtime• Mobile and tablet
• Old and/or deprecated stuff (trash)
CATEGORIES
System numberUrl
TN_
![Page 67: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/67.jpg)
GETTING EXTERNAL DATA
Primo page rendered
JSONP call to external page
Get RSS feed from
WordPress
Convert RSS feed to JSONP
Parse JSONP to
tabs/messages
![Page 68: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/68.jpg)
Custom PHP script
WordPress RSS=>
JSON(P)
Task:Reorder the elementsJoin post accoding to
custom fields
WordPress
Blog posts
Custom fields:url
system numberpci prefix (TN_)
CategoryTags
RSS JSON(P)
![Page 69: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/69.jpg)
![Page 70: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/70.jpg)
PHP SCRIPT$rawFeed = file_get_contents($feedUrl);$xml = new SimpleXmlElement($rawFeed);
$urls_incidents = array();
foreach ($xml->channel->item as $item){ if ($item->custom_fields->url != null && $item->custom_fields->url != "") { $urlsinloop = explode(' ', $item->custom_fields->url); }}
$returnarray['incidents']['urls'] = $urls_incidents;$json = json_encode($returnarray);
![Page 71: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/71.jpg)
Caching etc. to improve(if needed)
http://blog.aub.aau.dk/operation/tag/safari-tech-books/?cat=138
![Page 72: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/72.jpg)
ENRICHING BASED ON SELECTORS$('.EXLResultTitle > a[href*="' + key + '"]’);$('#AUB01_ALEPH' + key);
$.each(data.tips.urls, function(key,value) {var urlselector = '.EXLResultTitle > a[href*="' + key + '"]';var url2blog = baseurl + 'tag/' + value + '?cat=' + tipscatnumber;$(urlselector).parents('.EXLResult').find('.EXLResultRecordId').attr('tips', '1').attr('tipstags', value).attr('tipsblogurl', url2blog);});
EXLTA_addTab('Announcements','incidentTab','#',incidentTabHandler,false,incidentEvaluator);
![Page 73: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/73.jpg)
ADDING THE TABvar incidentTabHandler = EXLTA_createWidgetTabHandler(function(element){ var recordId = EXLTA_recordId(element); var bloglink = $('.EXLResultRecordId[id="' + recordId + '"]').attr('incidentblogurl') + '&wptheme=PrimoTab'; return '<iframe src="' + bloglink + '"></iframe>';},true);
var incidentEvaluator = function(element){ var recordId = EXLTA_recordId(element); if ($('.EXLResultRecordId[id="' + recordId + '"]').attr('incidents') != undefined) { return true; } else { return false; }};
![Page 74: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/74.jpg)
ENRICHMENT OF THE RECORD
External service
ERMS2PRIMO
JS Data
![Page 75: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/75.jpg)
Work time• How have you enriched the records with either …
• Functionality• Extra data
• What outstanding issues do you have? • What potential solutions and data sources could enhance the record?
• Explore with Developer Tools:• Data available in the D.O.M.• Data streams in network
![Page 76: ELAG Workshop version 1](https://reader036.fdocuments.us/reader036/viewer/2022062503/587d97221a28ab22148b4615/html5/thumbnails/76.jpg)
Wrap up• Pros and cons of various solutions