<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Implementing Data Retrieval for Display and Update in PartnerDetail.js: Seeking Guidance - Developer Network Q&amp;A				            </title>
            <link>https://community.onenetwork.com/sdk-forum/implementing-data-retrieval-for-display-and-update-in-partnerdetail-js-seeking-guidance/</link>
            <description>BY Network Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 19 May 2026 16:25:09 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Implementing Data Retrieval for Display and Update in PartnerDetail.js: Seeking Guidance</title>
                        <link>https://community.onenetwork.com/sdk-forum/implementing-data-retrieval-for-display-and-update-in-partnerdetail-js-seeking-guidance/#post-11523</link>
                        <pubDate>Tue, 02 Jul 2024 07:11:34 +0000</pubDate>
                        <description><![CDATA[@sean-durkin  Thank you very much for the approach and for sharing all the documentation links. I tried multiple ways, but nothing worked out. I appreciate your help and will try it :-)]]></description>
                        <content:encoded><![CDATA[@sean-durkin  Thank you very much for the approach and for sharing all the documentation links. I tried multiple ways, but nothing worked out. I appreciate your help and will try it :-)]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>javamk</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/implementing-data-retrieval-for-display-and-update-in-partnerdetail-js-seeking-guidance/#post-11523</guid>
                    </item>
				                    <item>
                        <title>Answer to: Implementing Data Retrieval for Display and Update in PartnerDetail.js: Seeking Guidance</title>
                        <link>https://community.onenetwork.com/sdk-forum/implementing-data-retrieval-for-display-and-update-in-partnerdetail-js-seeking-guidance/#post-11522</link>
                        <pubDate>Tue, 02 Jul 2024 03:03:20 +0000</pubDate>
                        <description><![CDATA[If the field is added to the view or action screen, the Model Form framework should load it automatically. I&#039;m not sure if it&#039;s possible to do that or feasible to replace the action screen i...]]></description>
                        <content:encoded><![CDATA[<p>If the field is added to the view or action screen, the Model Form framework should load it automatically. I'm not sure if it's possible to do that or feasible to replace the action screen in this case, so one alternative is to manually include the data for the one field in the response using a server-side listener.</p>
<p>To create a server-side listener, you can follow the instructions on this page by creating and annotating a subclass of BaseModelResourceListener: https://docs.onenetwork.com/NeoHelp/devnet/Server-side_Customization.html</p>
<p>There are 2 variants of onActionScreenExecuted: 1 allows access to the Model instance, and 1 allows access to the full ModelFormJSONObject response before it's returned to the client. You could probably store a reference to the Model in the first callback method and use it to put the MDF value into the JSON in the second callback method. Here are the Javadocs: https://devnet.onenetwork.com/oms/apps/DeveloperNetwork/www/docs/api/javadoc/com/onenetwork/platform/integ/rest/model/BaseModelResourceListener.html</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>Sean Durkin</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/implementing-data-retrieval-for-display-and-update-in-partnerdetail-js-seeking-guidance/#post-11522</guid>
                    </item>
				                    <item>
                        <title>Implementing Data Retrieval for Display and Update in PartnerDetail.js: Seeking Guidance</title>
                        <link>https://community.onenetwork.com/sdk-forum/implementing-data-retrieval-for-display-and-update-in-partnerdetail-js-seeking-guidance/#post-11521</link>
                        <pubDate>Mon, 01 Jul 2024 16:26:10 +0000</pubDate>
                        <description><![CDATA[I have written a JS patch for PartnerDetail.js and added an additional field from partner.mdf. Now, I can see the field, and when I enter a record and click on update, the database gets upda...]]></description>
                        <content:encoded><![CDATA[<p>I have written a JS patch for PartnerDetail.js and added an additional field from partner.mdf. Now, I can see the field, and when I enter a record and click on update, the database gets updated. However, I want to retrieve the record from the database and display it in a text field so the user can see the actual value before updating it. How can I achieve this? Do I need to write an AJAX call or a Java class to store the value in a JSON object, or something else? Is there any documentation or something regarding this. Any guidance or documentation on this would be greatly appreciated!</p>
<p>sending my patch code</p>
<p> </p>
<p>// #Patch SCC/admin/PartnerDetail<br />define(, function() {<br />var originalBuildLayout = SCC.PartnerLayout.buildLayout;<br /><br />SCC.PartnerLayout.buildLayout = function(modelFields) {<br />var layout = originalBuildLayout.call(this, modelFields);<br /><br />var leftColumn = layout.items.items.items;<br /><br />var boFHorizonField = modelFields.getField('BoFHorizon');<br />if (!boFHorizonField) {<br />leftColumn.add({<br />xtype: 'textfield',<br />name: 'BoFHorizon',<br />fieldLabel: Labels.get("meta.field.BoFHorizon"),<br />width: 185<br />});<br />}<br /><br />return layout;<br />};<br />});</p>]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>javamk</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/implementing-data-retrieval-for-display-and-update-in-partnerdetail-js-seeking-guidance/#post-11521</guid>
                    </item>
							        </channel>
        </rss>
		