title: How to retrieve view's ID with application prefix?
body: <p>To retrieve prefixed ID of a control we can use view's method CreateID. However, there's no such a method in class sap.ui.core.Core. So how do I know viewID in the line</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>sap.ui.getCore().byId(viewID)</code></pre>
  </div>
  </div>
  </p>