{"html":"<div class=\"modal-header\">\r\n    <button type=\"button\" class=\"close\" data-dismiss=\"modal\">\r\n        &times;\r\n    <\/button>\r\n\t<h3>Embed search in a page<\/h3>\r\n<\/div>\r\n<div class=\"modal-body\">\r\n\t<p>\r\n\tYou can embed this search result in a page by inserting one of the following text snippets:\r\n\t<\/p>\r\n\t<h3>List view<\/h3>\r\n\t<textarea class=\"tricia-embed-in-page-textarea\">\r\n\t$[embedSearch()$\r\n\t    {\r\n\t        \"search\": {&quot;sort&quot;:{&quot;descending&quot;:false},&quot;filters&quot;:[]},\r\n\t        \"presentation\": {\r\n\t            \"type\": \"list\",\r\n\t            \"limit\": 200\r\n\t        }\r\n\t    }\r\n\t$embedSearch]$<\/textarea>\r\n\t\r\n\t<p>\r\n\tThe optional parameter <em>limit<\/em> enables you to specify an upper limit of the number of displayed search results (max: 200). If you omit this option, the maximum of 200 results is shown if available.\r\n\t<\/p>\r\n\t\r\n\t<p>\r\n\tSince this is substituted with the search result dynamically when the page loads, you have to <strong>make sure Tricia Script is activated<\/strong> for the page.\r\n\t<\/p>\r\n\t\r\n\t<h3>Table view<\/h3>\r\n<p>\r\n\tBy changing the type of presentation from \"list\" to \"table\" you can display results in a tabular view. You can determine the columns (and the widths in pixels) like this:\r\n<\/p>\r\n<textarea class=\"tricia-embed-in-page-description medium\">\r\n\t$[embedSearch()$\r\n\t    {\r\n\t        \"search\": {&quot;sort&quot;:{&quot;descending&quot;:false},&quot;filters&quot;:[]},\r\n\t        \"presentation\": {\r\n\t            \"type\": \"table\",\r\n\t            \"columnNames\": [ \"'File Type'\" , \"'LInkedIn Profile'\" , \"'Date of Event or Publication'\" , \"'Creative Commons License'\" , \"'Citation Info'\" , \"'Topics'\" , \"'Event of Publication / Journal Name / Publisher'\" , \"'Author'\" , \"'Location'\" , \"'Link Type'\" , \"'Deutsch'\" , \"'Foundational EAM Topic'\" , \"'Authors'\" , \"'Year of Event or Publication'\" , \"'Classification'\" , \"'Url'\" , \"'Publisher or Event'\" , \"'Language'\" , \"'Home Page'\" , \"'URL'\" , \"'Keywords'\" , \"'Xing Profile'\"  ,  \"createdAt\" , \"modifiedAt\" , \"hybridType\" , \"modifier\" , \"creator\" , \"name\" , \"publishedAt\" , \"parent\" , \"hasBeenDisabled\" , \"watchingContributionsAllowed\" , \"lastLoginDate\" , \"disableDate\" , \"writers\" ]\r\n\t        }\r\n\t    }\r\n\t$embedSearch]$<\/textarea>\r\n\r\n\t<h3>Tag cloud view<\/h3>\r\n\t<p>\r\n\tYou can insert a tag cloud that can be used to browse the results of your search. A click on a tag in the cloud will open the search screen having all filters set according to your search plus the tag that was clicked. Simply change the \"presentation\" part like this (of course you can modify the additional parameters):\r\n\t<\/p> \r\n\t<textarea class=\"tricia-embed-in-page-textarea\">\r\n\t$[embedSearch()$\r\n\t    {\r\n\t        \"search\": {&quot;sort&quot;:{&quot;descending&quot;:false},&quot;filters&quot;:[]},\r\n\t        \"presentation\": {\r\n\t            \"type\": \"tagCloud\",\r\n\t            \"numberOfTags\": 20,\r\n\t            \"minFontSize\": 12,\r\n\t            \"maxFontSize\": 24\r\n\t        }\r\n\t    }\r\n\t$embedSearch]$<\/textarea>\r\n<\/div>\r\n<div class=\"modal-footer\">\r\n\t<button class=\"btn\" data-dismiss=\"modal\">Close<\/button>\r\n<\/div>\r\n"}