I am attempting to use Beans to send my Forena report a ‘NID' parameter which the Forena query processes and returns its result to the block.

In the Forena Bean settings I check ‘Use menu parameters from url’. As a test, I put a fixed URL Parameter into the field, for example, ‘nid=48’. This produces the correct response. So I know this hard-coded functionality works. Shouldn't this URL Parameters field accept a token variable? I've tried, for example, nid=[nid] and nid=[variables:nid] neither of which work.

There is a screenshot showing an additional checkbox labeled "Allow tokens in URL parameters" (https://www.drupal.org/files/issues/screenshot_214.png). This is related to a November 2015 Forena issue:Forena Bean to accept tokens in URL parameters (https://www.drupal.org/node/2616766#comment-11647293). I can't find a reference to this in any outstanding issues for Bean.

Is there any work being done on allowing tokens in URL parameters?

Comments

dcrellen created an issue. See original summary.

dcrellen’s picture

Issue summary: View changes
MrPaulDriver’s picture

I too would like to insert a token for the [nid] of the host node.

Any suggestions?