function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BehzadBehzad 

Help not pointing to the header

Hey guys,

 

I'm trying to use HelpTitle and HelpUrl in my pageBlocks to point to specific Headers on a WikiPedia page.

I specify particular Urls that should point to a header, but when I click on the help links it just takes me to the page instead of the header.

 

For example, the following help url should take me to the All Details header, but it just takes me to the Detail page instead

 

<apex:pageBlock title="Detail"
helpTitle="Detail Help"
helpUrl="https://www.THEWIKI.com/index.php?title=Detail#All_Details"
id="detailPageBlock">
</apex:pageBlock>

 It results in the following URL:

 

https://www.THEWIKI.com/index.php?title=Detail%23All_Details&showSplash=true

 

The above throws me to the Detail page, and not the All Detail header on that page.

 

How should I change it so it properly points to the All Detail header?

 

 

 

 

Your help is greatly appreciated.

 

Thank you and happy new year,

 

Behzad

bob_buzzardbob_buzzard
Unfortunately there is no escaped type attribute to allow you to stop the URL being escaped, so I doubt you'll be able to do this using the helpUrl attribute.  You may have more success using a header facet, which gives more granular control over the contents.