Shortcuts are used to place child nodes throughout the portal’s sitemap(navigation) which simply points to other nodes that exist in your sitemap, or to URLs external to your portal.
In simple words, you can add child links in navigation without having relation with parent node.
- We have two parent pages- “Suggestion Box” and “Get in Touch”.
- Both are child pages of another page- “Home”.
- Let’s say we want to add the “Get in Touch” page under “Suggestion Box” in the Sitemap(navigation).
Steps to create a shortcut
- Go to Portal Management app.
- Go to Shortcuts and click on “+New”
- Enter details and save the record.
|Name||Name for the shortcut.|
|Website||The website that the shortcut belongs to.|
|Parent Page|| The parent webpage of the shortcut in the sitemap. The shortcut will be added to the sitemap as a child of this page.|
|External URL||URL outside of your organization.|
|Web Page||Select the webpage of the portal. (select webpage which you want to add as child node)|
|Web File||web file of the portal. (select web file if you want to add web file as child node)|
|Title||The title for the shortcut. This is the name that will appear in the navigation. If left blank, the name of the shortcut record will be shown instead.|
- Navigate to the portal to see changes
- you should see a new child node named “Get in Touch” under “Suggestion Box”.
- If you click on “Get in Touch” it will redirect you to that page
- A shortcut can only have value in one of the ‘Target’ fields (External URL, Web Page, Web File). If more than one target attribute exists for a shortcut, the shortcut will just take the first one, ignoring all others.
- If your child node is not visible even after creating a shortcut try the below things.
- Clear the cache of portal. (<portal url>/_services/about)
Even after clearing the cache of the portal if it is not visible then follow the below steps.
- Go to Primary Navigation web link set –> Go to Links tab –> select and open the parent link.
- Enable “Display Page Child Links” and save the record.
You should see the child node now.