1

I am being lead to believe this is possible:

A URL on the Force.Com Sidebar Menu which references data from the currently open page. i.e., /{!recordId}?nooverride=1

enter image description here

However, this does not work. The brackets simply turn into percent encoded references on the resultant page.

Is it possible to pass information onto a URL on the Force.Com sidebar?

  • 2
    What are you trying to do with that? – Raul Mar 13 '17 at 20:43
  • Use the Object Api Name dot Id. I believe whatever that is is meant to be a placeholder or an example. Did you even try the suggestion from your previous question and at the start of this comment? If so did it work or not – Eric Mar 13 '17 at 21:25
  • 1
    Where do you get a "add custom link" option on the sidebar? Is that a chrome extension? – gorav Mar 13 '17 at 23:19
1

The answer is that the reference "recordid" needs to have "I" capitalized (case sensitive):

/{!recordId}?nooverride=1

So, yes, you CAN pass certain information to the Force.com sidebar menu.


I unfortunately have no clue where this recordId reference comes from or is documented. I am opening another question about that as I've investigated, and find no help online, and the source of the page has references "like this" but the other variables found there do not work (see below). At least "recordId" works for passing the current Id being viewed into the URL on the Force.com menu.

UPDATE: Also tried "merge field" references from Custom Button editor, replcing objectname with "record" (believing maybe, like "objectname.Id" that this is the "format). This did not work for other "merge fields".

For reference, the page source being tested:

enter image description here

Link to NEW question:   What "References" To Fields/Variables Are Available To The Force.com Menu?

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.