<?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: SAP WebIDE: MessageBox is not appearing after create method in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-webide-messagebox-is-not-appearing-after-create-method/qaa-p/615230#M148910</link>
    <description>&lt;P&gt;I was in chat with SAP and fixed the issue..&lt;/P&gt;
  &lt;P&gt; var oThis = this; &lt;/P&gt;
  &lt;P&gt;gModel.create("/adrch_etSet", sendNewData, { success: function() { &lt;/P&gt;
  &lt;P&gt;var bCompact = !!oThis.getView().$().closest(".sapUiSizeCompact").length;&lt;/P&gt;
  &lt;P&gt; MessageBox.success("Record successfully saved.", &lt;/P&gt;
  &lt;P&gt;{ styleClass: bCompact ? "sapUiSizeCompact" : "" }); }, &lt;/P&gt;
  &lt;P&gt;error: function() { &lt;/P&gt;
  &lt;P&gt;var bCompact = !!oThis.getView().$().closest(".sapUiSizeCompact").length; &lt;/P&gt;
  &lt;P&gt;MessageBox.alert("Record is not updated, please try later", &lt;/P&gt;
  &lt;P&gt;{ styleClass: bCompact ? "sapUiSizeCompact" : "" }); } });&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jan 2018 23:04:38 GMT</pubDate>
    <dc:creator>balaji_vta</dc:creator>
    <dc:date>2018-01-24T23:04:38Z</dc:date>
    <item>
      <title>SAP WebIDE: MessageBox is not appearing after create method</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-webide-messagebox-is-not-appearing-after-create-method/qaq-p/615228</link>
      <description>&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/108245-code01.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt; SAP WebIDE&lt;/P&gt;
  &lt;P&gt; I was trying to update record using create method on backend system through gateway system. Record is getting updated. But no message popup from the create method. Did I miss anything? please help me.&lt;/P&gt;
  &lt;P&gt;The code is:&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 16:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-webide-messagebox-is-not-appearing-after-create-method/qaq-p/615228</guid>
      <dc:creator>balaji_vta</dc:creator>
      <dc:date>2018-01-24T16:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAP WebIDE: MessageBox is not appearing after create method</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-webide-messagebox-is-not-appearing-after-create-method/qaa-p/615229#M148909</link>
      <description>&lt;P&gt;Hi Balaji,&lt;/P&gt;
  &lt;P&gt;Use the following control in your code&lt;/P&gt;
  &lt;P&gt;sap.m.MessageBox.alert("Your message");&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 20:26:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-webide-messagebox-is-not-appearing-after-create-method/qaa-p/615229#M148909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-01-24T20:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAP WebIDE: MessageBox is not appearing after create method</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-webide-messagebox-is-not-appearing-after-create-method/qaa-p/615230#M148910</link>
      <description>&lt;P&gt;I was in chat with SAP and fixed the issue..&lt;/P&gt;
  &lt;P&gt; var oThis = this; &lt;/P&gt;
  &lt;P&gt;gModel.create("/adrch_etSet", sendNewData, { success: function() { &lt;/P&gt;
  &lt;P&gt;var bCompact = !!oThis.getView().$().closest(".sapUiSizeCompact").length;&lt;/P&gt;
  &lt;P&gt; MessageBox.success("Record successfully saved.", &lt;/P&gt;
  &lt;P&gt;{ styleClass: bCompact ? "sapUiSizeCompact" : "" }); }, &lt;/P&gt;
  &lt;P&gt;error: function() { &lt;/P&gt;
  &lt;P&gt;var bCompact = !!oThis.getView().$().closest(".sapUiSizeCompact").length; &lt;/P&gt;
  &lt;P&gt;MessageBox.alert("Record is not updated, please try later", &lt;/P&gt;
  &lt;P&gt;{ styleClass: bCompact ? "sapUiSizeCompact" : "" }); } });&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 23:04:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-webide-messagebox-is-not-appearing-after-create-method/qaa-p/615230#M148910</guid>
      <dc:creator>balaji_vta</dc:creator>
      <dc:date>2018-01-24T23:04:38Z</dc:date>
    </item>
  </channel>
</rss>

