{"id":456,"date":"2012-05-30T22:54:17","date_gmt":"2012-05-30T20:54:17","guid":{"rendered":"http:\/\/www.bestcoder.net\/?p=456"},"modified":"2012-10-14T13:26:36","modified_gmt":"2012-10-14T13:26:36","slug":"custom-namepicker-data-provider-databean-sample","status":"publish","type":"post","link":"http:\/\/www.bestcoder.net\/?p=456","title":{"rendered":"Custom NamePicker Data Provider (dataBean) Sample"},"content":{"rendered":"<p><a href=\"http:\/\/openntf.org\/XSnippets.nsf\" target=\"_blank\"><img decoding=\"async\" style=\"background-color: black; vertical-align: middle; margin-right: 5px; margin-top: 5px; margin-bottom: 5px;\" src=\"http:\/\/openntf.org\/XSnippets.nsf\/OpenNTFLogo.png\" alt=\"\" width=\"140px\" height=\"20px\" \/><\/a><\/p>\n<p>If you need to customize NamePicker data, this XSnippet can help you to do that.<\/p>\n<p>I needed to use ExtLib NamePicker but our user directory is not domino directory db. It&#8217;s custom database. Also we need to add search capability for First Name, Middle Name and Last Name at once.<\/p>\n<p>So I need to customize NamePicker data source using bean. ( tried, tested, worked \ud83d\ude42 )<\/p>\n<p>In this XSnippet, I used Full-Text search in our organization database to match users by FirstName, Middle Name and Last Name. At one search. Used nameAggregator but no success unfortunately. Because I need to use &#8220;CN (ID)&#8221; format as a value for selected items.<\/p>\n<p>I hope it can help your needs.<\/p>\n<p><a title=\"Open XSnippet - OpenNTF\" href=\"http:\/\/openntf.org\/XSnippets.nsf\/snippet.xsp?id=sample-about-namepicker-data-provider-databean\" target=\"_blank\">Open XSnippet &#8211; OpenNTF<\/a>\u00a0\u00a0\u00a0<a title=\"Download Sample Database\" href=\"http:\/\/www.bestcoder.net\/NamePickerExt.zip\">Download Sample Database<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you need to customize NamePicker data, this XSnippet can help you to do that. I needed to use ExtLib NamePicker but our user directory is not domino directory db. It&#8217;s custom database. Also we need to add search capability for First Name, Middle Name and Last Name at once. So I need to customize &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,22,36,28],"tags":[49,48,47,30],"class_list":["post-456","post","type-post","status-publish","format-standard","hentry","category-development","category-lotus-notes","category-openntf","category-xpages","tag-bean","tag-databean","tag-namepicker","tag-xpages-2","entry"],"_links":{"self":[{"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/posts\/456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=456"}],"version-history":[{"count":16,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions"}],"predecessor-version":[{"id":564,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/posts\/456\/revisions\/564"}],"wp:attachment":[{"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=456"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}