<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: BindElement same path issue in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/bindelement-same-path-issue/qaa-p/12163032#M4547780</link>
    <description>&lt;P&gt;If the model is v2.ODataModel, calling invalidateEntry before bindElement/bindObject might help. See &lt;A href="https://stackoverflow.com/a/59398119/5846045" target="test_blank"&gt;https://stackoverflow.com/a/59398119/5846045&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 14 May 2020 14:30:10 GMT</pubDate>
    <dc:creator>boghyon</dc:creator>
    <dc:date>2020-05-14T14:30:10Z</dc:date>
    <item>
      <title>BindElement same path issue</title>
      <link>https://community.sap.com/t5/technology-q-a/bindelement-same-path-issue/qaq-p/12163031</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
  &lt;P&gt;I trying to rebind Dialog. First time it is working but second time it is not working. Because bindElement is not working with same path.I have to rebind Dialog.&lt;/P&gt;
  &lt;P&gt;So what can I do to trigger the event with bindElement even if the path is the same? What can I do before bindElement code?&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 14:25:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/bindelement-same-path-issue/qaq-p/12163031</guid>
      <dc:creator>former_member489109</dc:creator>
      <dc:date>2020-05-14T14:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: BindElement same path issue</title>
      <link>https://community.sap.com/t5/technology-q-a/bindelement-same-path-issue/qaa-p/12163032#M4547780</link>
      <description>&lt;P&gt;If the model is v2.ODataModel, calling invalidateEntry before bindElement/bindObject might help. See &lt;A href="https://stackoverflow.com/a/59398119/5846045" target="test_blank"&gt;https://stackoverflow.com/a/59398119/5846045&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 14:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/bindelement-same-path-issue/qaa-p/12163032#M4547780</guid>
      <dc:creator>boghyon</dc:creator>
      <dc:date>2020-05-14T14:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: BindElement same path issue</title>
      <link>https://community.sap.com/t5/technology-q-a/bindelement-same-path-issue/qaa-p/12163033#M4547781</link>
      <description>&lt;P&gt;Thanks but It didn't work. (Detail12Dialog.js?eval:26 Uncaught TypeError: oModel.invalidateEntry is not a function )&lt;/P&gt;&lt;P&gt;model : twoway&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;onBeforeOpenDialog: function () {
var oDialog = this._getDialog();
var sQmnum = this._oParentController.getPropFromViewElemntBinding("Qmnum");
// var sPath = "/altyapiMainSet('" + sQmnum + "')";
var oModel = this._oParentController.getModel();
var sKey = oModel.createKey("altyapiMainSet", {
Qmnum: sQmnum
});
oModel.invalidateEntry(sKey);
var sPath = "/" + sKey;
oDialog.bindElement({
path: sPath,
events: {
change: function (oChangeEvent) {},
dataRequested: function () {},
dataReceived: function (oData) {}
}
});
},&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 May 2020 14:45:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/bindelement-same-path-issue/qaa-p/12163033#M4547781</guid>
      <dc:creator>former_member489109</dc:creator>
      <dc:date>2020-05-14T14:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: BindElement same path issue</title>
      <link>https://community.sap.com/t5/technology-q-a/bindelement-same-path-issue/qaa-p/12163034#M4547782</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;bozcetin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You're probably using an old version of UI5. The API &lt;A href="https://openui5.hana.ondemand.com/api/sap.ui.model.odata.v2.ODataModel#methods/invalidateEntry"&gt;invalidateEntry&lt;/A&gt; is &lt;STRONG&gt;available since 1.52.1&lt;/STRONG&gt;. To see which version the app is running with, press Ctrl + Shift + Left Alt + P.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 14:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/bindelement-same-path-issue/qaa-p/12163034#M4547782</guid>
      <dc:creator>boghyon</dc:creator>
      <dc:date>2020-05-14T14:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: BindElement same path issue</title>
      <link>https://community.sap.com/t5/technology-q-a/bindelement-same-path-issue/qaa-p/12163035#M4547783</link>
      <description>&lt;P&gt;Solved. Thank you so much.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 15:04:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/bindelement-same-path-issue/qaa-p/12163035#M4547783</guid>
      <dc:creator>former_member489109</dc:creator>
      <dc:date>2020-05-14T15:04:19Z</dc:date>
    </item>
  </channel>
</rss>

