Data Warehouse Knowledge Base
Breadcrumbs

Help Links

The Hub Documentation team manages help links from the FDW and CMS visualizations.

For the FDW, these links go from the FDW Help menu to the FDW Knowledge Base. For the CMS, these links go from the Learn More links available under the Data Visualizations module to the CMS Knowledge Base.

To add or edit a help link:

  1. Go to System Administration > Help > Help Links

  2. Find the link you want to edit, or select Add Help Link to add a new link.

  3. Under Referrer Pattern, enter the URL from the FDW or CMS in the following format:

    1. FDW: Remove http://fdw.fews.net and all parameters. Replace any IDs with (.+), and replace en with ([a-z]{2}). Put a ^ at the start and a $ at the end.
      For example, the URL https://fdw.fews.net/en/admin/price/exchangerate/1/delete/?x=1&y=2 becomes ^/([a-z]{2})/admin/price/exchangerate/(.+)/delete/$.

    2. CMS: Paste in only the part of the URL that contains the visualization name. Remove fdw.fews.net/en/viz/ and all parameters (that is, everything including and following .html).
      For example, https://fdw.fews.net/en/viz/viz_visualizations_ipc_ipccountryregiontimelinemap.html?dataseries__geographic_unit__country=ET&collection_date=2024-01-01 becomes viz_visualizations_ipc_ipccountryregiontimelinemap.

  4. Under Help Relative URL, enter the URL from the Knowledge Base by pasting in everything after help.fews.net/. For example, https://help.fews.net/cms/area-of-concern-map becomes cms/area-of-concern-map.

  5. Click one of the Save options.

  6. Check the new link to make sure that it works.

The URLs used in this process are written as Regular Expressions (Regex). The guidance above can be expanded if needed using the chart below.

Character

Meaning

Example

*

Match 0, 1, or more of the previous

Ah* matches “Ahhhhh” or “A”

?

Match 0 or 1 of the previous

Ah? matches “A1” or “Ah”

+

Match 1 or more of the previous

Ah+ matches “Ah” or “Ahhhhh” but not “A”

\

Used to escape a special character

Hungry\? matches “Hungry?”

.

Wildcard, matches any character

do.* matches “dog”, “door”, “dot”, etc.

( )

Group characters

See example for |

[ ]

Matches a range of characters

[cbf]ar matches “car”, “bar”, or “far”

[0-9]+ matches any positive integer

|

Matches previous OR next character group

(Mon)|(Tues)day matches “Monday” or “Tuesday”

{ }

Matches a specified number of occurrences of the previous.

[0-9]{3} matches “315” but not “31”

[0-9]{2,4} matches “12”, “123”, and “1234”

[0-9]{2, } matches any number of 2 or more digits

^

Beginning of a string.

Or negation within a [ ] character range.

^http matches strings that begin with http such as a URL

[^0-9] matches any character not 0-9

$

End of a string

ing$ matches “exciting” but not “ingenious”