title: How to find the component path in AEM Touch UI Dialog?
body: <p>I want to e.g. fetch the path <code>/content/branc/region/microsite_name/en/mypage/jcr:content/par/mycomponent</code> in jQuery. </p>
  
  <p>I am able to fetch the page path using Granite.author.page. </p>
  
  <p>Code to fetch page path:</p>
  
  <pre><code>(function ($, $document, author) {
      "use strict";   
  $(document).on("dialog-ready", function() {
      var path = author.page`enter code here`.path; //This works
      var component = author.component.path; //This is not working
      console.log("component path " +component);
     });
  })($, $(document), Granite.author);
  </code></pre>
  
  <p>Kindly advice how to fetch the component path in jquery.</p>