title: Parse field(uid) to TYPOSCRIPT Extbase Controller in HMENU
body: <p>I got a HMENU which uses images and stuff. (i removed that part here to keep it simple)</p>
  
  <p>What i want is that each menuItem calls the controller which adds more special cases (related sublinks) to the menu. But the controller needs to know which pid is calling it. So the idea was to use settings to parse the pid to the controller.</p>
  
  <p>Well that works but only the text "pid" will be parsed not its value like 439 or whatever pid the menuItem got.</p>
  
  <p>How do i parse the value of a field?</p>
  
  <p>If there is another solution with a different method that would be great too :)</p>
  
  <p>how do i have to modify the keylines:</p>
  
  <pre><code>settings.pageUid = TEXT
  settings.pageUid.field = pid
  </code></pre>
  
  <p>TYPOSCRIPT:</p>
  
  <pre><code>temp.CE_SUBNAVIGATION = HMENU
  temp.CE_SUBNAVIGATION {
    special = directory
    1 = TMENU
    #1.noBlur = 1
  
    1.wrap = &lt;nav class="content-subnavigation-container"&gt;|&lt;/nav&gt;
  
    1.NO = 1
    1.NO {
      doNotLinkIt = 1
      stdWrap.cObject = COA
      stdWrap.cObject {
  
  
  
        40 = USER
        40 {
          userFunc = TYPO3\CMS\Extbase\Core\Bootstrap-&gt;run
          pluginName = reference
          extensionName = MyExt
          controller = Reference
          vendorName = VENDOR
          action = hmenulisting
          switchableControllerActions {
            Reference {
              1 = hmenulisting
            }
          }
  
          settings =&lt; plugin.tx_myextname.settings
          persistence =&lt; plugin.tx_myextname.persistence
          view =&lt; plugin.tx_myextname.view
          update =&lt; plugin.tx_myextname.update
  
          settings.pageUid = TEXT
          settings.pageUid.field = pid
  
        }
  
  
  
      }
    }
  }
  </code></pre>