{"id":444,"date":"2012-05-25T15:23:05","date_gmt":"2012-05-25T13:23:05","guid":{"rendered":"http:\/\/www.bestcoder.net\/?p=444"},"modified":"2012-10-14T13:27:20","modified_gmt":"2012-10-14T13:27:20","slug":"update-documentdatasource-field-values-from-java-xsnippets","status":"publish","type":"post","link":"http:\/\/www.bestcoder.net\/?p=444","title":{"rendered":"Update DocumentDataSource &#8211; Field Values from Java (XSnippets)"},"content":{"rendered":"<p><!--:en--><a href=\"http:\/\/openntf.org\/XSnippets.nsf\" target=\"_blank\"><span style=\"background-color: black; float: left; vertical-align: middle; margin-right: 5px; margin-top: 5px;\"><img decoding=\"async\" src=\"http:\/\/openntf.org\/XSnippets.nsf\/OpenNTFLogo.png\" alt=\"\" width=\"140px\" height=\"20px\" \/><\/span><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Usage in SSJS under Button : com.domino.openntf.ferhat.UpdateDocumentDataSource.Update();<\/strong><\/p>\n<p><strong><\/strong>Actually I don&#8217;t know It is good idea or not but I need it, tried and worked. No Exception. Data Source Field Value is changed and I called Save after this code and Ta taaa &#8230; Document&#8217;s Field Value is changed.<\/p>\n<p>UI component (Visible \/ ReadOnly &#8211; EditBox) is also updated which is binded to BasvuruNo field.<\/p>\n<p><a title=\"Open XSnippet - OpenNTF\" href=\"http:\/\/openntf.org\/XSnippets.nsf\/snippet.xsp?id=update-documentdatasource-field-values-from-java\" target=\"_blank\">Open XSnippet &#8211; OpenNTF<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Usage in SSJS under Button : com.domino.openntf.ferhat.UpdateDocumentDataSource.Update(); Actually I don&#8217;t know It is good idea or not but I need it, tried and worked. No Exception. Data Source Field Value is changed and I called Save after this code and Ta taaa &#8230; Document&#8217;s Field Value is changed. UI component (Visible \/ ReadOnly &#8211; &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":[46,30],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-development","category-lotus-notes","category-openntf","category-xpages","tag-java","tag-xpages-2","entry"],"_links":{"self":[{"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/posts\/444","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=444"}],"version-history":[{"count":12,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":565,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/565"}],"wp:attachment":[{"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.bestcoder.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}