<?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>
									ModelResourceListener on EnterpriseObject - Developer Network Q&amp;A				            </title>
            <link>https://community.onenetwork.com/sdk-forum/modelresourcelistener-on-enterpriseobject/</link>
            <description>BY Network Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 22 Jul 2026 05:24:23 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Answer to: ModelResourceListener on EnterpriseObject</title>
                        <link>https://community.onenetwork.com/sdk-forum/modelresourcelistener-on-enterpriseobject/#post-5722</link>
                        <pubDate>Mon, 09 Nov 2020 13:45:06 +0000</pubDate>
                        <description><![CDATA[Per @wynandf
 
The problem was not the customModelName but rather the modelLevelType which came back from the front-end as null. 
Although it&#039;s calculated correctly inside ModelResource, ...]]></description>
                        <content:encoded><![CDATA[<p>Per @wynandf</p>
<p> </p>
<p><span>The problem was not the customModelName but rather the modelLevelType which came back from the front-end as null. </span></p>
<p><span>Although it's calculated correctly inside ModelResource, it's not used for routing and therefore all our EnterpriseObjects were routed to the same listener.</span></p>
<p><br /><span>Making the following change in the ModelFormContainer, fixed the problem</span></p>
<pre><br /><span>modelInfo: {</span><br /><span>modelLevelType: 'EnterpriseObject',</span><br /><span>customModelName: 'EPT.XXXX.YYYY'</span><br /><span>}</span></pre>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>Greg Merrill</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/modelresourcelistener-on-enterpriseobject/#post-5722</guid>
                    </item>
				                    <item>
                        <title>Answer to: ModelResourceListener on EnterpriseObject</title>
                        <link>https://community.onenetwork.com/sdk-forum/modelresourcelistener-on-enterpriseobject/#post-5721</link>
                        <pubDate>Mon, 09 Nov 2020 12:03:30 +0000</pubDate>
                        <description><![CDATA[Thanks Greg. The problem was not the customModelName but rather the modelLevelType which came back from the front-end as null. Although it&#039;s calculated correctly inside ModelResource, it&#039;s n...]]></description>
                        <content:encoded><![CDATA[<p>Thanks Greg. The problem was not the customModelName but rather the modelLevelType which came back from the front-end as null. Although it's calculated correctly inside ModelResource, it's not used for routing and therefore all our EnterpriseObjects were routed to the same listener.<br />Making the following change in the ModelFormContainer, fixed the problem<br />modelInfo: {<br />modelLevelType: 'EnterpriseObject',<br />customModelName: 'EPT.XXXX.YYYY'<br />},</p>]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>wynandf</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/modelresourcelistener-on-enterpriseobject/#post-5721</guid>
                    </item>
				                    <item>
                        <title>RE: ModelResourceListener on EnterpriseObject</title>
                        <link>https://community.onenetwork.com/sdk-forum/modelresourcelistener-on-enterpriseobject/#post-5714</link>
                        <pubDate>Fri, 06 Nov 2020 22:49:16 +0000</pubDate>
                        <description><![CDATA[@wynandf
In general, your statement above looks correct.  One thing you could try, if you have the source attachment (I&#039;m not sure what version you&#039;re on), you could try putting a breakpoin...]]></description>
                        <content:encoded><![CDATA[@wynandf
In general, your statement above looks correct.  One thing you could try, if you have the source attachment (I'm not sure what version you're on), you could try putting a breakpoint in com.transcendsys.platform.rest.ModelResource.populateModelInfo(JSONObject, Long).  This is where the customModelName is determined and then propagated down for comparison purposes to decide whether to use the listener.  Knowing what it is coming up with there may help us diagnose.]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>Greg Merrill</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/modelresourcelistener-on-enterpriseobject/#post-5714</guid>
                    </item>
				                    <item>
                        <title>ModelResourceListener on EnterpriseObject</title>
                        <link>https://community.onenetwork.com/sdk-forum/modelresourcelistener-on-enterpriseobject/#post-5709</link>
                        <pubDate>Fri, 06 Nov 2020 07:51:48 +0000</pubDate>
                        <description><![CDATA[Hi,
 
How can I define a ModelResourceListener on a specific EnterpriseObject? 
I have defined the customModelName - the same as the value coming in from front-end - but without any luck....]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p> </p>
<p>How can I define a ModelResourceListener on a specific EnterpriseObject? </p>
<p>I have defined the customModelName - the same as the value coming in from front-end - but without any luck. The listener is always triggered for all enterprise objects.</p>
<p>I eventually as a work-around had to test for a specific action to get it to work on the required entity only.</p>
<p>This is what I've tried</p>
<p>@ModelResourceListener(modelLevelType = "EnterpriseObject", customModelName = "EPT.XXXX.YYYY")</p>]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>wynandf</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/modelresourcelistener-on-enterpriseobject/#post-5709</guid>
                    </item>
							        </channel>
        </rss>
		